Expand description
OAuth token management for the Questrade API.
Structs§
- Cached
Token - Pre-existing token state that can be passed to
TokenManager::newto skip the initial token refresh when a valid cached token is available. - Token
Manager - Manages Questrade OAuth tokens with auto-refresh.
- Token
Response - Token response from the Questrade OAuth endpoint.
Type Aliases§
- OnToken
Refresh - Callback invoked whenever a token refresh completes successfully.
Receives the full
TokenResponse; the caller is responsible for persisting the newrefresh_token(Questrade refresh tokens are single-use).