Class CfnUserPool.SignInPolicyProperty
The policy for allowed types of authentication in a user pool.
Implements
Inherited Members
Namespace: Amazon.CDK.AWS.Cognito
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnUserPool.SignInPolicyProperty : CfnUserPool.ISignInPolicyProperty
Syntax (vb)
Public Class CfnUserPool.SignInPolicyProperty Implements CfnUserPool.ISignInPolicyProperty
Remarks
To activate this setting, your user pool must be in the Essentials tier or higher.
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.Cognito;
var signInPolicyProperty = new SignInPolicyProperty {
AllowedFirstAuthFactors = new [] { "allowedFirstAuthFactors" }
};
Synopsis
Constructors
SignInPolicyProperty() | The policy for allowed types of authentication in a user pool. |
Properties
AllowedFirstAuthFactors | The sign-in methods that a user pool supports as the first factor. |
Constructors
SignInPolicyProperty()
The policy for allowed types of authentication in a user pool.
public SignInPolicyProperty()
Remarks
To activate this setting, your user pool must be in the Essentials tier or higher.
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.Cognito;
var signInPolicyProperty = new SignInPolicyProperty {
AllowedFirstAuthFactors = new [] { "allowedFirstAuthFactors" }
};
Properties
AllowedFirstAuthFactors
The sign-in methods that a user pool supports as the first factor.
public string[]? AllowedFirstAuthFactors { get; set; }
Property Value
string[]
Remarks
You can permit users to start authentication with a standard username and password, or with other one-time password and hardware factors.
Supports values of EMAIL_OTP
, SMS_OTP
, WEB_AUTHN
and PASSWORD
,