@Generated(value="jsii-pacmak/1.67.0 (build 2c027f5)", date="2022-09-19T20:26:37.679Z") @Stability(value=Stable) public interface SignInAliases extends software.amazon.jsii.JsiiSerializable
Example:
UserPool.Builder.create(this, "myuserpool")
// ...
// ...
.signInAliases(SignInAliases.builder().username(true).email(true).build())
.autoVerify(AutoVerifiedAttrs.builder().email(true).phone(true).build())
.build();
| Modifier and Type | Interface and Description |
|---|---|
static class |
SignInAliases.Builder
A builder for
SignInAliases |
static class |
SignInAliases.Jsii$Proxy
An implementation for
SignInAliases |
| Modifier and Type | Method and Description |
|---|---|
static SignInAliases.Builder |
builder() |
default Boolean |
getEmail()
Whether a user is allowed to sign up or sign in with an email address.
|
default Boolean |
getPhone()
Whether a user is allowed to sign up or sign in with a phone number.
|
default Boolean |
getPreferredUsername()
Whether a user is allowed to sign in with a secondary username, that can be set and modified after sign up.
|
default Boolean |
getUsername()
Whether user is allowed to sign up or sign in with a username.
|
@Stability(value=Stable) @Nullable default Boolean getEmail()
Default: false
@Stability(value=Stable) @Nullable default Boolean getPhone()
Default: false
@Stability(value=Stable) @Nullable default Boolean getPreferredUsername()
Can only be used in conjunction with USERNAME.
Default: false
@Stability(value=Stable) @Nullable default Boolean getUsername()
Default: true
@Stability(value=Stable) static SignInAliases.Builder builder()
SignInAliases.Builder of SignInAliasesCopyright © 2022. All rights reserved.