Expand description
Authentication state and token refresh for Deribit WebSocket connections.
Structs§
- Auth
State - Authentication state storing OAuth tokens.
Constants§
- DEFAULT_
SESSION_ NAME - Default session name for Deribit WebSocket authentication.
Functions§
- send_
auth_ request - Sends an authentication request using client_signature grant type.
- spawn_
token_ refresh_ task - Spawns a background task to refresh the authentication token before it expires.