Interface SignInPolicy
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
SignInPolicy.Jsii$Proxy
@Generated(value="jsii-pacmak/1.121.0 (build d7af9b9)",
date="2025-12-18T18:20:07.497Z")
@Stability(Stable)
public interface SignInPolicy
extends software.amazon.jsii.JsiiSerializable
Sign-in policy for User Pools.
Example:
UserPool.Builder.create(this, "myuserpool")
.signInPolicy(SignInPolicy.builder()
.allowedFirstAuthFactors(AllowedFirstAuthFactors.builder().password(true).passkey(true).build())
.build())
.passkeyRelyingPartyId("auth.example.com")
.passkeyUserVerification(PasskeyUserVerification.REQUIRED)
.build();
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forSignInPolicystatic final classAn implementation forSignInPolicy -
Method Summary
Modifier and TypeMethodDescriptionstatic SignInPolicy.Builderbuilder()default AllowedFirstAuthFactorsThe types of authentication that you want to allow for users' first authentication prompt.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getAllowedFirstAuthFactors
The types of authentication that you want to allow for users' first authentication prompt.Default: - Password only
- See Also:
-
builder
- Returns:
- a
SignInPolicy.BuilderofSignInPolicy
-