StartOAuthSessionRequest
¶
Source code in docs_src/capo_credentialbroker/types/start_o_auth_session_request.py
audiences
instance-attribute
¶
audiences: NotRequired[Audiences]
Audience values (RFC 8693) naming the intended recipients of this token. Omit unless the authorization server requires them.
credential_provider_arn
instance-attribute
¶
credential_provider_arn: CredentialProviderArn
Amazon Resource Name of the credential provider the user is granting consent for.
custom_parameters
instance-attribute
¶
custom_parameters: NotRequired[CustomParameters]
Extra parameters to include in the request to the authorization server, for vendor extensions. Added to the standard OAuth parameters; they never override them.
custom_state
instance-attribute
¶
custom_state: NotRequired[CustomState]
An opaque string of your own that is sent back to your session-binding URL unchanged. Use it to tie the response to the request you issued, so your handler can reject a response it did not initiate.
resources
instance-attribute
¶
resources: NotRequired[Resources]
Resource indicators (RFC 8707) naming the APIs this token is for. Omit unless the authorization server requires them.
scopes
instance-attribute
¶
scopes: NotRequired[Scopes]
The OAuth scopes to request from the authorization server.
session_binding_url
instance-attribute
¶
session_binding_url: SessionBindingUrl
The URL the end user's browser is returned to once they have responded to the consent prompt. Must match one of the session-binding URLs allowed on the provider.