QuantConnect.Brokerages.Authentication
Classes
| Class | Description |
|---|---|
| AccessTokenMetaDataRequest | Represents the base request for obtaining an access token, including brokerage and account information. |
| AccessTokenMetaDataResponse | Represents a response containing metadata about an access token issued by Lean. |
| OAuthTokenHandler | Handles OAuth token retrieval and caching by interacting with the Lean platform.... |
| TokenCredentials | Represents credentials required for token-based authentication,... |
| TokenHandler | Provides base functionality for token-based HTTP request handling,... |
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.