Skip to main content
Version: 2.1

ICognitoIdentityProviderAdminInitiateAuthRequest

Interface in AWS.CognitoIdentityProvider

Interface for AdminInitiateAuth requests.

Ancestors​

Properties​

AnalyticsMetadata​

property AnalyticsMetadata: ICognitoIdentityProviderAnalyticsMetadataType

Type: ICognitoIdentityProviderAnalyticsMetadataType

Specify configuration for analytics metadata collection for Amazon Pinpoint metrics.

AuthFlow​

property AuthFlow: string

Specify the authentication flow to run.

Valid values:

AuthParameters​

property AuthParameters: TDictionary<string, string>

Specify authentication parameters.

The required values depend on the value of AuthFlow:

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.

UserPoolId​

property UserPoolId: string

Specify the ID of the user pool.

Methods​

AddAuthParameter​

procedure AddAuthParameter(const AName, AValue: string);

Add a name-value pair to AuthParameters.

Parameters

NameDescription
ANameSpecify the name of the parameter.
AValueSpecify the value of the parameter.

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.