@Generated(value="jsii-pacmak/1.5.0 (build 46538f8)", date="2020-05-21T11:01:57.612Z") @Stability(value=Stable) public interface AuthenticateCognitoActionProps extends software.amazon.jsii.JsiiSerializable
| Modifier and Type | Interface and Description |
|---|---|
static class |
AuthenticateCognitoActionProps.Builder
A builder for
AuthenticateCognitoActionProps |
static class |
AuthenticateCognitoActionProps.Jsii$Proxy
An implementation for
AuthenticateCognitoActionProps |
| Modifier and Type | Method and Description |
|---|---|
static AuthenticateCognitoActionProps.Builder |
builder() |
default Map<String,String> |
getAuthenticationRequestExtraParams()
The query parameters (up to 10) to include in the redirect request to the authorization endpoint.
|
ListenerAction |
getNext()
What action to execute next.
|
default UnauthenticatedAction |
getOnUnauthenticatedRequest()
The behavior if the user is not authenticated.
|
default String |
getScope()
The set of user claims to be requested from the IdP.
|
default String |
getSessionCookieName()
The name of the cookie used to maintain session information.
|
default Duration |
getSessionTimeout()
The maximum duration of the authentication session.
|
IUserPool |
getUserPool()
The Amazon Cognito user pool.
|
IUserPoolClient |
getUserPoolClient()
The Amazon Cognito user pool client.
|
IUserPoolDomain |
getUserPoolDomain()
The domain prefix or fully-qualified domain name of the Amazon Cognito user pool.
|
@Stability(value=Stable) @NotNull ListenerAction getNext()
Multiple actions form a linked chain; the chain must always terminate in a (weighted)forward, fixedResponse or redirect action.
@Stability(value=Stable) @NotNull IUserPool getUserPool()
@Stability(value=Stable) @NotNull IUserPoolClient getUserPoolClient()
@Stability(value=Stable) @NotNull IUserPoolDomain getUserPoolDomain()
@Stability(value=Stable) @Nullable default Map<String,String> getAuthenticationRequestExtraParams()
Default: - No extra parameters
@Stability(value=Stable) @Nullable default UnauthenticatedAction getOnUnauthenticatedRequest()
Default: UnauthenticatedAction.AUTHENTICATE
@Stability(value=Stable) @Nullable default String getScope()
To verify which scope values your IdP supports and how to separate multiple values, see the documentation for your IdP.
Default: "openid"
@Stability(value=Stable) @Nullable default String getSessionCookieName()
Default: "AWSELBAuthSessionCookie"
@Stability(value=Stable) @Nullable default Duration getSessionTimeout()
Default: Duration.days(7)
@Stability(value=Stable) static AuthenticateCognitoActionProps.Builder builder()
Copyright © 2020. All rights reserved.