Skip to main content

ICognitoIdentityProviderRespondToAuthChallengeRequest

Interface in AWS.CognitoIdentityProvider

Interface for RespondToAuthChallenge requests.

Ancestors

Properties

AnalyticsMetadata

property AnalyticsMetadata: ICognitoIdentityProviderAnalyticsMetadataType

Type: ICognitoIdentityProviderAnalyticsMetadataType

Specify configuration for analytics metadata collection for Amazon Pinpoint metrics.

ChallengeName

property ChallengeName: string

Specify the challenge name.

Valid values: SMS_MFA | SOFTWARE_TOKEN_MFA | SELECT_MFA_TYPE | MFA_SETUP | PASSWORD_VERIFIER | CUSTOM_CHALLENGE | DEVICE_SRP_AUTH | DEVICE_PASSWORD_VERIFIER | ADMIN_NO_SRP_AUTH | NEW_PASSWORD_REQUIRED.

ChallengeResponses

property ChallengeResponses: TDictionary<string, string>

Specify the challenge responses.

These are inputs corresponding to the value of ChallengeName. For example:

ClientId

property ClientId: string

Specify the app client ID.

ClientMetadata

property ClientMetadata: TDictionary<string, string>

Specify a custom map of key-value pairs that you can provide as input for certain custom workflows triggered by this action.

ContextData

property ContextData: ICognitoIdentityProviderContextDataType

Type: ICognitoIdentityProviderContextDataType

Specify contextual data about your user session.

The data can include attributes such as the device fingerprint, IP address, or location. Amazon Cognito advanced security evaluates the risk of the authentication event based on the context that your app generates and passes to Amazon Cognito.

Session

property Session: string

Specify the session returned from a call to InitiateAuth or RespondToAuthChallenge.

UserContextData

property UserContextData: ICognitoIdentityProviderUserContextDataType

Type: ICognitoIdentityProviderUserContextDataType

Contextual data about the user session, such as the device fingerprint, IP address, or location.

Amazon Cognito advanced security evaluates the risk of an authentication event based on the context that your app generates and passes to Amazon Cognito.

Methods

AddChallengeResponse

procedure AddChallengeResponse(const AKey, AValue: string);

Add a key-value pair to ChallengeResponses.

Parameters

NameDescription
AKeySpecify the key.
AValueSpecify the value.

AddClientMetadata

procedure AddClientMetadata(const AKey, AValue: string);

Add a key-value pair to ClientMetadata.

Parameters

NameDescription
AKeySpecify the key of the metadata.
AValueSpecify the value of the metadata.