Class KeepOriginalAttrs
Attributes that will be kept until the user verifies the changed attribute.
Inheritance
Implements
Namespace: Amazon.CDK.AWS.Cognito
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class KeepOriginalAttrs : Object, IKeepOriginalAttrs
Syntax (vb)
Public Class KeepOriginalAttrs
Inherits Object
Implements IKeepOriginalAttrs
Remarks
ExampleMetadata: infused
Examples
new UserPool(this, "myuserpool", new UserPoolProps {
// ...
SignInAliases = new SignInAliases { Username = true },
AutoVerify = new AutoVerifiedAttrs { Email = true, Phone = true },
KeepOriginal = new KeepOriginalAttrs {
Email = true,
Phone = true
}
});
Synopsis
Constructors
Keep |
Properties
Whether the email address of the user should remain the original value until the new email address is verified. |
|
Phone | Whether the phone number of the user should remain the original value until the new phone number is verified. |
Constructors
KeepOriginalAttrs()
public KeepOriginalAttrs()
Properties
Whether the email address of the user should remain the original value until the new email address is verified.
public Nullable<bool> Email { get; set; }
Property Value
System.
Remarks
Default: - false
Phone
Whether the phone number of the user should remain the original value until the new phone number is verified.
public Nullable<bool> Phone { get; set; }
Property Value
System.
Remarks
Default: - false