@Generated(value="jsii-pacmak/1.67.0 (build 2c027f5)", date="2022-09-19T20:26:37.600Z") @Stability(value=Stable) public interface AuthFlow extends software.amazon.jsii.JsiiSerializable
Example:
UserPool pool = new UserPool(this, "pool");
pool.addClient("app-client", UserPoolClientOptions.builder()
.authFlows(AuthFlow.builder()
.userPassword(true)
.userSrp(true)
.build())
.build());
| Modifier and Type | Interface and Description |
|---|---|
static class |
AuthFlow.Builder
A builder for
AuthFlow |
static class |
AuthFlow.Jsii$Proxy
An implementation for
AuthFlow |
| Modifier and Type | Method and Description |
|---|---|
static AuthFlow.Builder |
builder() |
default Boolean |
getAdminUserPassword()
Enable admin based user password authentication flow.
|
default Boolean |
getCustom()
Enable custom authentication flow.
|
default Boolean |
getUserPassword()
Enable auth using username & password.
|
default Boolean |
getUserSrp()
Enable SRP based authentication.
|
@Stability(value=Stable) @Nullable default Boolean getAdminUserPassword()
Default: false
@Stability(value=Stable) @Nullable default Boolean getCustom()
Default: false
@Stability(value=Stable) @Nullable default Boolean getUserPassword()
Default: false
@Stability(value=Stable) @Nullable default Boolean getUserSrp()
Default: false
@Stability(value=Stable) static AuthFlow.Builder builder()
AuthFlow.Builder of AuthFlowCopyright © 2022. All rights reserved.