Interface: AdvTradeGlobalWSAuthResult
WebSocket authentication authorizes the session without requiring a bearer token.
Extends
Omit<AdvTradeGlobalAuthResult,"access_token">
Properties
| Property | Type | Description | Inherited from |
|---|---|---|---|
access_token? | string | - | - |
enabled_features? | string[] | List of enabled advanced on-key features. Available options: - restricted_block_trades : Limit the block_trade read the scope of the API key to block trades that have been made using this specific API key - block_trade_approval : Block trades created using this API key require additional user approval. Methods that use block_rfq scope are not affected by Block Trade approval feature | AdvTradeGlobalAuthResult.enabled_features |
expires_in | number | Token lifetime in seconds | AdvTradeGlobalAuthResult.expires_in |
google_login? | boolean | The access token was acquired by logging in through Google. | AdvTradeGlobalAuthResult.google_login |
mandatory_tfa_status? | string | 2FA is required for privileged methods | AdvTradeGlobalAuthResult.mandatory_tfa_status |
refresh_token? | string | Can be used to request a new token (with a new lifetime) | AdvTradeGlobalAuthResult.refresh_token |
scope | string | Space-separated list of granted scopes | AdvTradeGlobalAuthResult.scope |
sid? | string | Optional Session id | AdvTradeGlobalAuthResult.sid |
state? | string | Copied from the input (if applicable) | AdvTradeGlobalAuthResult.state |
token_type | "bearer" | Authorization type, always bearer | AdvTradeGlobalAuthResult.token_type |