Skip to main content

ICognitoIdentityProviderAccountRecoverySettingType

Interface in AWS.CognitoIdentityProvider

Interface for AccountRecoverySettingType.

Properties

RecoveryMechanisms

property RecoveryMechanisms: TList<ICognitoIdentityProviderRecoveryOptionType>

Type: ICognitoIdentityProviderRecoveryOptionType

A list of recovery options.

Methods

AddRecoveryMechanism

function AddRecoveryMechanism(const AName: string; APriority: Integer): Integer;

Add a recovery mechanism to RecoveryMechanisms.

Parameters

NameDescription
ANameSpecify the name of the recovery mechanism. Valid values:||.
APrioritySpecify the priority of the recovery mechanism. Valid range: 1-2.

Returns

Returns the index of the added recovery mechanism.