TokenResponse Class
A response that includes a user token.
Constructor
pydantic model TokenResponse
Parameters
| Name | Description |
|---|---|
|
connection_name
Required
|
The connection name |
|
token
Required
|
The user token |
|
expiration
Required
|
Expiration for the token, in ISO 8601 format (e.g. "2007-04-05T14:30Z") |
|
channel_id
Required
|
The channelId of the TokenResponse |
Keyword-Only Parameters
| Name | Description |
|---|---|
|
connectionName
|
Default value: None
|
|
token
|
Default value: None
|
|
expiration
|
Default value: None
|
|
channelId
|
Default value: None
|
Methods
| is_exchangeable |
Checks if a token is exchangeable (has api:// audience). |
is_exchangeable
Attributes
channel_id
field channel_id: str = None (alias 'channelId')
connection_name
field connection_name: str = None (alias 'connectionName')
expiration
field expiration: str = None
token
field token: str = None