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; }