GetOAuthTokenResponse
¶
Source code in docs_src/capo_credentialbroker/types/get_o_auth_token_response.py
access_token
instance-attribute
¶
access_token: NotRequired[AccessToken]
The access token. Present it to the third-party API as a bearer credential.
expires_at
instance-attribute
¶
expires_at: NotRequired[datetime]
When the access token expires. Absent when the authorization server does not report an expiry, in which case the token's lifetime is whatever that server applies.
session_status
instance-attribute
¶
session_status: NotRequired[SessionStatus]
Status of the consent session named in the request, so a repeated call can tell whether the user has finished granting consent.