Interface AuthFlow
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
AuthFlow.Jsii$Proxy
@Generated(value="jsii-pacmak/1.106.0 (build e852934)",
date="2025-01-25T00:20:52.920Z")
@Stability(Stable)
public interface AuthFlow
extends software.amazon.jsii.JsiiSerializable
Types of authentication flow.
Example:
UserPool pool = new UserPool(this, "pool"); pool.addClient("app-client", UserPoolClientOptions.builder() .authFlows(AuthFlow.builder() .userPassword(true) .userSrp(true) .build()) .build());
- See Also:
-
Nested Class Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic AuthFlow.Builder
builder()
default Boolean
Enable admin based user password authentication flow.default Boolean
Enable custom authentication flow.default Boolean
getUser()
Enable Choice-based authentication.default Boolean
Enable auth using username & password.default Boolean
Enable SRP based authentication.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getAdminUserPassword
Enable admin based user password authentication flow.Default: false
-
getCustom
Enable custom authentication flow.Default: false
-
getUser
Enable Choice-based authentication.Default: false
-
getUserPassword
Enable auth using username & password.Default: false
-
getUserSrp
Enable SRP based authentication.Default: false
-
builder
- Returns:
- a
AuthFlow.Builder
ofAuthFlow
-