@Generated(value="jsii-pacmak/1.71.0 (build f1f58ae)", date="2022-12-07T17:24:44.599Z") @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())
.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.