TokenCredentials
QuantConnect.Brokerages.Authentication.TokenCredentials
TokenCredentials(token_type: TokenType, access_token: str)
Bases: Object
Represents credentials required for token-based authentication, including the access token and its type (e.g., Bearer).
Initializes a new instance of the TokenCredentials class.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
token_type
|
TokenType
|
The type of the token. |
required |
access_token
|
str
|
The token string. |
required |
access_token
access_token: str
Gets the token string used for authentication.