QuantConnect.Brokerages.Authentication
Classes
| Class | Description |
|---|---|
| LeanOAuthTokenHandler | Handles OAuth token retrieval and caching by interacting with the Lean platform.... |
| LeanTokenCredentials | Represents credentials required for token-based authentication,... |
| LeanTokenHandler | Provides base functionality for token-based HTTP request handling.... |
| OAuthTokenRequest | Represents a Lean platform token request, including all fields required by the... |
Enumerations
QuantConnect.Brokerages.Authentication.TokenType
Bases: IntEnum
Defines the supported types of access tokens used for authentication.
BEARER
BEARER = 0
A Bearer token, typically used for standard HTTP Authorization headers.
SESSION_TOKEN
SESSION_TOKEN = 1
A Session token, typically used for username/password authorization headers.