@Stability(value=Experimental) @Internal public static final class UserPoolClientOptions.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements UserPoolClientOptions
UserPoolClientOptionssoftware.amazon.jsii.JsiiObject.InitializationModeUserPoolClientOptions.Builder, UserPoolClientOptions.Jsii$Proxy| Modifier | Constructor and Description |
|---|---|
protected |
Jsii$Proxy(AuthFlow authFlows,
Boolean disableOAuth,
Boolean generateSecret,
OAuthSettings oAuth,
Boolean preventUserExistenceErrors,
List<? extends UserPoolClientIdentityProvider> supportedIdentityProviders,
String userPoolClientName)
Constructor that initializes the object based on literal property values passed by the
UserPoolClientOptions.Builder. |
protected |
Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
Constructor that initializes the object based on values retrieved from the JsiiObject.
|
| Modifier and Type | Method and Description |
|---|---|
com.fasterxml.jackson.databind.JsonNode |
$jsii$toJson() |
boolean |
equals(Object o) |
AuthFlow |
getAuthFlows()
(experimental) The set of OAuth authentication flows to enable on the client.
|
Boolean |
getDisableOAuth()
(experimental) Turns off all OAuth interactions for this client.
|
Boolean |
getGenerateSecret()
(experimental) Whether to generate a client secret.
|
OAuthSettings |
getOAuth()
(experimental) OAuth settings for this to client to interact with the app.
|
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.
|
List<UserPoolClientIdentityProvider> |
getSupportedIdentityProviders()
(experimental) The list of identity providers that users should be able to use to sign in using this client.
|
String |
getUserPoolClientName()
(experimental) Name of the application client.
|
int |
hashCode() |
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetclone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitbuilderprotected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
objRef - Reference to the JSII managed object.protected Jsii$Proxy(AuthFlow authFlows, Boolean disableOAuth, Boolean generateSecret, OAuthSettings oAuth, Boolean preventUserExistenceErrors, List<? extends UserPoolClientIdentityProvider> supportedIdentityProviders, String userPoolClientName)
UserPoolClientOptions.Builder.public final AuthFlow getAuthFlows()
UserPoolClientOptionsDefault: - all auth flows disabled
getAuthFlows in interface UserPoolClientOptionshttps://docs.aws.amazon.com/cognito/latest/developerguide/amazon-cognito-user-pools-authentication-flow.htmlpublic final Boolean getDisableOAuth()
UserPoolClientOptionsDefault: false
getDisableOAuth in interface UserPoolClientOptionspublic final Boolean getGenerateSecret()
UserPoolClientOptionsDefault: false
getGenerateSecret in interface UserPoolClientOptionspublic final OAuthSettings getOAuth()
UserPoolClientOptions
An error is thrown when this is specified and disableOAuth is set.
Default: - see defaults in `OAuthSettings`. meaningless if `disableOAuth` is set.
getOAuth in interface UserPoolClientOptionspublic final Boolean getPreventUserExistenceErrors()
UserPoolClientOptionsDefault: true for new stacks
getPreventUserExistenceErrors in interface UserPoolClientOptionshttps://docs.aws.amazon.com/cognito/latest/developerguide/cognito-user-pool-managing-errors.htmlpublic final List<UserPoolClientIdentityProvider> getSupportedIdentityProviders()
UserPoolClientOptionsDefault: - 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.
getSupportedIdentityProviders in interface UserPoolClientOptionspublic final String getUserPoolClientName()
UserPoolClientOptionsDefault: - cloudformation generated name
getUserPoolClientName in interface UserPoolClientOptions@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
$jsii$toJson in interface software.amazon.jsii.JsiiSerializableCopyright © 2020. All rights reserved.