StartOAuthSessionResponse
¶
Source code in docs_src/capo_credentialbroker/types/start_o_auth_session_response.py
access_token
instance-attribute
¶
access_token: NotRequired[AccessToken]
Present only when a valid token already existed (no consent needed).
authorization_url
instance-attribute
¶
authorization_url: NotRequired[AuthorizationUrl]
The URL to send the end user's browser to so they can grant consent. Present only when consent is required; absent when a token was available and is returned instead.
expires_at
instance-attribute
¶
expires_at: NotRequired[datetime]
Expiry of accessToken when returned.
session_status
instance-attribute
¶
session_status: NotRequired[SessionStatus]
Status of the session (IN_PROGRESS when consent is required).
session_uri
instance-attribute
¶
session_uri: NotRequired[SessionUri]
Opaque handle to the pending consent session. Present only when interactive consent is required (absent when accessToken is returned).