Skip to content

ClientAuthenticationResultType

Source code in docs_src/capo_cognito_identity_provider/types/client_authentication_result_type.py
class ClientAuthenticationResultType(TypedDict, closed=True):
    access_token: NotRequired[
        "capo_cognito_identity_provider.types.token_model_type.TokenModelType"
    ]
    """<p>The access token for the requested app client. Present this token to a resource server to authorize a request, using the scopes granted in the token.</p>"""
    expires_in: "capo_cognito_identity_provider.types.integer_type.IntegerType"
    """<p>The number of seconds until the access token expires.</p>"""
    token_type: NotRequired[
        "capo_cognito_identity_provider.types.string_type.StringType"
    ]
    """<p>The type of the token. For example, <code>Bearer</code>.</p>"""

access_token instance-attribute

access_token: NotRequired[TokenModelType]

The access token for the requested app client. Present this token to a resource server to authorize a request, using the scopes granted in the token.

expires_in instance-attribute

expires_in: IntegerType

The number of seconds until the access token expires.

token_type instance-attribute

token_type: NotRequired[StringType]

The type of the token. For example, Bearer.