Module auth

Source
Expand description

Authentication utilities for various exchanges

Re-exports§

pub use self::ExchangeAuthentication as ExchangeAuth;

Modules§

ed25519
Ed25519 signature utilities for exchange authentication
exchanges
Exchange-specific authentication implementations
hmac
HMAC utility functions for authentication
jwt
JWT utilities for authentication
pem
PEM format validation utilities
signature
Signature and hashing utilities for authentication

Structs§

AuthenticationConfiguration
Common authentication configuration

Traits§

ExchangeAuthentication
Common trait for exchange authentication

Functions§

auth_requires_timestamp
Check if authentication method requires timestamp
max_auth_headers_count
Calculate authentication header count for pre-allocation
max_hmac_signature_length
Compile-time authentication constants and validation Maximum HMAC signature length for buffer sizing
max_jwt_token_length
Maximum JWT token length for buffer sizing
max_nonce_length
Maximum nonce length for buffer sizing

Type Aliases§

AuthConfig
A type alias for AuthenticationConfiguration.