GetOAuthTokenRequest
¶
Source code in docs_src/capo_credentialbroker/types/get_o_auth_token_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 to obtain the token from. The provider must be an OAuth provider and must be READY.
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.
force_authentication
instance-attribute
¶
force_authentication: NotRequired[bool]
Request a new token from the authorization server even when the broker already holds a valid one for this provider. Defaults to false, which returns the held token when one is available.
grant_type
instance-attribute
¶
grant_type: GrantType
How the token is obtained. Must be one of the grant types the provider allows; a grant the provider does not allow is rejected.
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_uri
instance-attribute
¶
session_uri: NotRequired[SessionUri]
Return the token obtained for a consent session that a user has already completed. Supply the handle returned when the session was started.