@Generated(value="jsii-pacmak/1.14.1 (build 828de8a)", date="2020-11-24T22:28:22.005Z") @Stability(value=Experimental) public interface UserPoolClientOptions extends software.amazon.jsii.JsiiSerializable
| Modifier and Type | Interface and Description |
|---|---|
static class |
UserPoolClientOptions.Builder
A builder for
UserPoolClientOptions |
static class |
UserPoolClientOptions.Jsii$Proxy
An implementation for
UserPoolClientOptions |
| Modifier and Type | Method and Description |
|---|---|
static UserPoolClientOptions.Builder |
builder() |
default AuthFlow |
getAuthFlows()
(experimental) The set of OAuth authentication flows to enable on the client.
|
default Boolean |
getDisableOAuth()
(experimental) Turns off all OAuth interactions for this client.
|
default Boolean |
getGenerateSecret()
(experimental) Whether to generate a client secret.
|
default OAuthSettings |
getOAuth()
(experimental) OAuth settings for this to client to interact with the app.
|
default Boolean |
getPreventUserExistenceErrors()
(experimental) Whether Cognito returns a UserNotFoundException exception when the user does not exist in the user pool (false), or whether it returns another type of error that doesn't reveal the user's absence.
|
default List<UserPoolClientIdentityProvider> |
getSupportedIdentityProviders()
(experimental) The list of identity providers that users should be able to use to sign in using this client.
|
default String |
getUserPoolClientName()
(experimental) Name of the application client.
|
@Stability(value=Experimental) @Nullable default AuthFlow getAuthFlows()
Default: - all auth flows disabled
https://docs.aws.amazon.com/cognito/latest/developerguide/amazon-cognito-user-pools-authentication-flow.html@Stability(value=Experimental) @Nullable default Boolean getDisableOAuth()
Default: false
@Stability(value=Experimental) @Nullable default Boolean getGenerateSecret()
Default: false
@Stability(value=Experimental) @Nullable default OAuthSettings getOAuth()
An error is thrown when this is specified and disableOAuth is set.
Default: - see defaults in `OAuthSettings`. meaningless if `disableOAuth` is set.
@Stability(value=Experimental) @Nullable default Boolean getPreventUserExistenceErrors()
Default: true for new stacks
https://docs.aws.amazon.com/cognito/latest/developerguide/cognito-user-pool-managing-errors.html@Stability(value=Experimental) @Nullable default List<UserPoolClientIdentityProvider> getSupportedIdentityProviders()
Default: - supports all identity providers that are registered with the user pool. If the user pool and/or identity providers are imported, either specify this option explicitly or ensure that the identity providers are registered with the user pool using the `UserPool.registerIdentityProvider()` API.
@Stability(value=Experimental) @Nullable default String getUserPoolClientName()
Default: - cloudformation generated name
@Stability(value=Experimental) static UserPoolClientOptions.Builder builder()
UserPoolClientOptions.Builder of UserPoolClientOptionsCopyright © 2020. All rights reserved.