Show / Hide Table of Contents

Interface ISignInPolicy

Sign-in policy for User Pools.

Namespace: Amazon.CDK.AWS.Cognito
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public interface ISignInPolicy
Syntax (vb)
Public Interface ISignInPolicy
Remarks

ExampleMetadata: infused

Examples
new UserPool(this, "myuserpool", new UserPoolProps {
                SignInPolicy = new SignInPolicy {
                    AllowedFirstAuthFactors = new AllowedFirstAuthFactors { Password = true, Passkey = true }
                },
                PasskeyRelyingPartyId = "auth.example.com",
                PasskeyUserVerification = PasskeyUserVerification.REQUIRED
            });

Synopsis

Properties

AllowedFirstAuthFactors

The types of authentication that you want to allow for users' first authentication prompt.

Properties

AllowedFirstAuthFactors

The types of authentication that you want to allow for users' first authentication prompt.

IAllowedFirstAuthFactors? AllowedFirstAuthFactors { get; }
Property Value

IAllowedFirstAuthFactors

Remarks

Default: - Password only

See: https://docs.aws.amazon.com/cognito/latest/developerguide/authentication-flows-selection-sdk.html#authentication-flows-selection-choice

Back to top Generated by DocFX