Show / Hide Table of Contents

Class KeepOriginalAttrs

Attributes that will be kept until the user verifies the changed attribute.

Inheritance
object
KeepOriginalAttrs
Implements
IKeepOriginalAttrs
Inherited Members
object.GetType()
object.MemberwiseClone()
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
Namespace: Amazon.CDK.AWS.Cognito
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class KeepOriginalAttrs : IKeepOriginalAttrs
Syntax (vb)
Public Class KeepOriginalAttrs 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

KeepOriginalAttrs()

Attributes that will be kept until the user verifies the changed attribute.

Properties

Email

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()

Attributes that will be kept until the user verifies the changed attribute.

public KeepOriginalAttrs()
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
                }
            });

Properties

Email

Whether the email address of the user should remain the original value until the new email address is verified.

public bool? Email { get; set; }
Property Value

bool?

Remarks

Default: - false

Phone

Whether the phone number of the user should remain the original value until the new phone number is verified.

public bool? Phone { get; set; }
Property Value

bool?

Remarks

Default: - false

Implements

IKeepOriginalAttrs
Back to top Generated by DocFX