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
| Name | Description |
|---|---|
AAttributeName | The attribute name of the MFA option type. The only valid value is. |
ADeliveryMedium | The 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.