@Generated(value="jsii-pacmak/1.58.0 (build f8ba112)", date="2022-05-11T19:24:27.047Z") @Stability(value=Experimental) 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());
https://docs.aws.amazon.com/cognito/latest/developerguide/amazon-cognito-user-pools-authentication-flow.html| 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()
(experimental) Enable admin based user password authentication flow.
|
default Boolean |
getCustom()
(experimental) Enable custom authentication flow.
|
default Boolean |
getUserPassword()
(experimental) Enable auth using username & password.
|
default Boolean |
getUserSrp()
(experimental) Enable SRP based authentication.
|
@Stability(value=Experimental) @Nullable default Boolean getAdminUserPassword()
Default: false
@Stability(value=Experimental) @Nullable default Boolean getCustom()
Default: false
@Stability(value=Experimental) @Nullable default Boolean getUserPassword()
Default: false
@Stability(value=Experimental) @Nullable default Boolean getUserSrp()
Default: false
@Stability(value=Experimental) static AuthFlow.Builder builder()
AuthFlow.Builder of AuthFlowCopyright © 2022. All rights reserved.