Skip to content

StartOAuthSessionRequest

Source code in docs_src/capo_credentialbroker/types/start_o_auth_session_request.py
class StartOAuthSessionRequest(TypedDict, closed=True):
    credential_provider_arn: (
        "capo_credentialbroker.types.credential_provider_arn.CredentialProviderArn"
    )
    """<p>Amazon Resource Name of the credential provider the user is granting consent for.</p>"""
    scopes: NotRequired["capo_credentialbroker.types.scopes.Scopes"]
    """<p>The OAuth scopes to request from the authorization server.</p>"""
    session_binding_url: (
        "capo_credentialbroker.types.session_binding_url.SessionBindingUrl"
    )
    """<p>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.</p>"""
    resources: NotRequired["capo_credentialbroker.types.resources.Resources"]
    """<p>Resource indicators (RFC 8707) naming the APIs this token is for. Omit unless the authorization server requires them.</p>"""
    audiences: NotRequired["capo_credentialbroker.types.audiences.Audiences"]
    """<p>Audience values (RFC 8693) naming the intended recipients of this token. Omit unless the authorization server requires them.</p>"""
    custom_parameters: NotRequired[
        "capo_credentialbroker.types.custom_parameters.CustomParameters"
    ]
    """<p>Extra parameters to include in the request to the authorization server, for vendor extensions. Added to the standard OAuth parameters; they never override them.</p>"""
    custom_state: NotRequired["capo_credentialbroker.types.custom_state.CustomState"]
    """<p>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.</p>"""

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.