Skip to main content

ICognitoIdentityProviderSetUserSettingsRequest

Interface in AWS.CognitoIdentityProvider

Interface for SetUserSettings requests.

Ancestors

Properties

AccessToken

property AccessToken: string

Specify a valid access token that Amazon Cognito issued to the user who you want to set SMS multi-factor authentication (MFA) preferences

MFAOptions

property MFAOptions: TList<ICognitoIdentityProviderMFAOptionType>

Type: ICognitoIdentityProviderMFAOptionType

Specify SMS configuration options.

Methods

AddMFAOption

function AddMFAOption(const AAttributeName, ADeliveryMedium: string): Integer;

Add a configuration option to MFAOptions.

Parameters

NameDescription
AAttributeNameThe attribute name of the MFA option type. The only valid value is.
ADeliveryMediumThe delivery medium to send the MFA code. You can use this parameter to set only the SMS delivery medium value. Valid values:|.

Returns

Returns the index of the option added to MFAOptions.