Skip to content

VerifySoftwareTokenRequest

Source code in docs_src/capo_cognito_identity_provider/types/verify_software_token_request.py
class VerifySoftwareTokenRequest(TypedDict, closed=True):
    access_token: NotRequired[
        "capo_cognito_identity_provider.types.token_model_type.TokenModelType"
    ]
    """<p>A valid access token that Amazon Cognito issued to the currently signed-in user. Must include a scope claim for <code>aws.cognito.signin.user.admin</code>.</p>"""
    session: NotRequired[
        "capo_cognito_identity_provider.types.session_type.SessionType"
    ]
    """<p>The session ID from an <code>AssociateSoftwareToken</code> request.</p>"""
    user_code: "capo_cognito_identity_provider.types.software_token_mfa_user_code_type.SoftwareTokenMFAUserCodeType"
    """<p>A TOTP that the user generated in their configured authenticator app.</p>"""
    friendly_device_name: NotRequired[
        "capo_cognito_identity_provider.types.string_type.StringType"
    ]
    """<p>A friendly name for the device that's running the TOTP authenticator.</p>"""

access_token instance-attribute

access_token: NotRequired[TokenModelType]

A valid access token that Amazon Cognito issued to the currently signed-in user. Must include a scope claim for aws.cognito.signin.user.admin.

friendly_device_name instance-attribute

friendly_device_name: NotRequired[StringType]

A friendly name for the device that's running the TOTP authenticator.

session instance-attribute

session: NotRequired[SessionType]

The session ID from an AssociateSoftwareToken request.

user_code instance-attribute

A TOTP that the user generated in their configured authenticator app.