Skip to content

CreateTokenResponse

Source code in docs_src/capo_sso_oidc/types/create_token_response.py
class CreateTokenResponse(TypedDict, closed=True):
    access_token: NotRequired["capo_sso_oidc.types.access_token.AccessToken"]
    """<p>A bearer token to access Amazon Web Services accounts and applications assigned to a user.</p>"""
    token_type: NotRequired["capo_sso_oidc.types.token_type.TokenType"]
    """<p>Used to notify the client that the returned token is an access token. The supported token type is <code>Bearer</code>.</p>"""
    expires_in: "capo_sso_oidc.types.expiration_in_seconds.ExpirationInSeconds"
    """<p>Indicates the time in seconds when an access token will expire.</p>"""
    refresh_token: NotRequired["capo_sso_oidc.types.refresh_token.RefreshToken"]
    """<p>A token that, if present, can be used to refresh a previously issued access token that might have expired.</p> <p>For more information about the features and limitations of the current IAM Identity Center OIDC implementation, see <i>Considerations for Using this Guide</i> in the <a href="https://docs.aws.amazon.com/singlesignon/latest/OIDCAPIReference/Welcome.html">IAM Identity Center OIDC API Reference</a>.</p>"""
    id_token: NotRequired["capo_sso_oidc.types.id_token.IdToken"]
    """<p>The <code>idToken</code> is not implemented or supported. For more information about the features and limitations of the current IAM Identity Center OIDC implementation, see <i>Considerations for Using this Guide</i> in the <a href="https://docs.aws.amazon.com/singlesignon/latest/OIDCAPIReference/Welcome.html">IAM Identity Center OIDC API Reference</a>.</p> <p>A JSON Web Token (JWT) that identifies who is associated with the issued access token. </p>"""

access_token instance-attribute

access_token: NotRequired[AccessToken]

A bearer token to access Amazon Web Services accounts and applications assigned to a user.

expires_in instance-attribute

expires_in: ExpirationInSeconds

Indicates the time in seconds when an access token will expire.

id_token instance-attribute

id_token: NotRequired[IdToken]

The idToken is not implemented or supported. For more information about the features and limitations of the current IAM Identity Center OIDC implementation, see Considerations for Using this Guide in the IAM Identity Center OIDC API Reference.

A JSON Web Token (JWT) that identifies who is associated with the issued access token.

refresh_token instance-attribute

refresh_token: NotRequired[RefreshToken]

A token that, if present, can be used to refresh a previously issued access token that might have expired.

For more information about the features and limitations of the current IAM Identity Center OIDC implementation, see Considerations for Using this Guide in the IAM Identity Center OIDC API Reference.

token_type instance-attribute

token_type: NotRequired[TokenType]

Used to notify the client that the returned token is an access token. The supported token type is Bearer.