Skip to content

RevokeTokenRequest

Source code in docs_src/capo_cognito_identity_provider/types/revoke_token_request.py
class RevokeTokenRequest(TypedDict, closed=True):
    token: "capo_cognito_identity_provider.types.token_model_type.TokenModelType"
    """<p>The refresh token that you want to revoke.</p>"""
    client_id: "capo_cognito_identity_provider.types.client_id_type.ClientIdType"
    """<p>The ID of the app client where the token that you want to revoke was issued.</p>"""
    client_secret: NotRequired[
        "capo_cognito_identity_provider.types.client_secret_type.ClientSecretType"
    ]
    """<p>The client secret of the requested app client, if the client has a secret.</p>"""

client_id instance-attribute

client_id: ClientIdType

The ID of the app client where the token that you want to revoke was issued.

client_secret instance-attribute

client_secret: NotRequired[ClientSecretType]

The client secret of the requested app client, if the client has a secret.

token instance-attribute

The refresh token that you want to revoke.