@Stability(value=Stable) @Internal public static final class UserPoolClientProps.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements UserPoolClientProps
UserPoolClientPropssoftware.amazon.jsii.JsiiObject.InitializationModeUserPoolClientProps.Builder, UserPoolClientProps.Jsii$Proxy| Modifier | Constructor and Description |
|---|---|
protected |
Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
Constructor that initializes the object based on values retrieved from the JsiiObject.
|
protected |
Jsii$Proxy(UserPoolClientProps.Builder builder)
Constructor that initializes the object based on literal property values passed by the
UserPoolClientProps.Builder. |
| Modifier and Type | Method and Description |
|---|---|
com.fasterxml.jackson.databind.JsonNode |
$jsii$toJson() |
boolean |
equals(Object o) |
Duration |
getAccessTokenValidity()
Validity of the access token.
|
AuthFlow |
getAuthFlows()
The set of OAuth authentication flows to enable on the client.
|
Boolean |
getDisableOAuth()
Turns off all OAuth interactions for this client.
|
Boolean |
getEnableTokenRevocation()
Enable token revocation for this client.
|
Boolean |
getGenerateSecret()
Whether to generate a client secret.
|
Duration |
getIdTokenValidity()
Validity of the ID token.
|
OAuthSettings |
getOAuth()
OAuth settings for this client to interact with the app.
|
Boolean |
getPreventUserExistenceErrors()
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.
|
ClientAttributes |
getReadAttributes()
The set of attributes this client will be able to read.
|
Duration |
getRefreshTokenValidity()
Validity of the refresh token.
|
List<UserPoolClientIdentityProvider> |
getSupportedIdentityProviders()
The list of identity providers that users should be able to use to sign in using this client.
|
IUserPool |
getUserPool()
The UserPool resource this client will have access to.
|
String |
getUserPoolClientName()
Name of the application client.
|
ClientAttributes |
getWriteAttributes()
The set of attributes this client will be able to write.
|
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(UserPoolClientProps.Builder builder)
UserPoolClientProps.Builder.public final IUserPool getUserPool()
UserPoolClientPropsgetUserPool in interface UserPoolClientPropspublic final Duration getAccessTokenValidity()
UserPoolClientOptionsValues between 5 minutes and 1 day are valid. The duration can not be longer than the refresh token validity.
Default: Duration.minutes(60)
public final AuthFlow getAuthFlows()
UserPoolClientOptionsDefault: - all auth flows disabled
getAuthFlows in interface UserPoolClientOptionspublic final Boolean getDisableOAuth()
UserPoolClientOptionsDefault: false
getDisableOAuth in interface UserPoolClientOptionspublic final Boolean getEnableTokenRevocation()
UserPoolClientOptionsDefault: true for new user pool clients
getEnableTokenRevocation in interface UserPoolClientOptionspublic final Boolean getGenerateSecret()
UserPoolClientOptionsDefault: false
getGenerateSecret in interface UserPoolClientOptionspublic final Duration getIdTokenValidity()
UserPoolClientOptionsValues between 5 minutes and 1 day are valid. The duration can not be longer than the refresh token validity.
Default: Duration.minutes(60)
public 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: false
getPreventUserExistenceErrors in interface UserPoolClientOptionspublic final ClientAttributes getReadAttributes()
UserPoolClientOptionsDefault: - all standard and custom attributes
public final Duration getRefreshTokenValidity()
UserPoolClientOptionsValues between 60 minutes and 10 years are valid.
Default: Duration.days(30)
public 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 UserPoolClientOptionspublic final ClientAttributes getWriteAttributes()
UserPoolClientOptionsDefault: - all standard and custom attributes
@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
$jsii$toJson in interface software.amazon.jsii.JsiiSerializableCopyright © 2022. All rights reserved.