public static final class UserPoolClientProps.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements UserPoolClientProps
UserPoolClientProps
UserPoolClientProps.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.
|
Modifier and Type | Method and Description |
---|---|
com.fasterxml.jackson.databind.JsonNode |
$jsii$toJson() |
boolean |
equals(java.lang.Object o) |
Duration |
getAccessTokenValidity()
Validity of the access token.
|
AuthFlow |
getAuthFlows()
The set of OAuth authentication flows to enable on the client.
|
java.lang.Boolean |
getDisableOAuth()
Turns off all OAuth interactions for this client.
|
java.lang.Boolean |
getEnableTokenRevocation()
Enable token revocation for this client.
|
java.lang.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.
|
java.lang.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.
|
java.util.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.
|
java.lang.String |
getUserPoolClientName()
Name of the application client.
|
ClientAttributes |
getWriteAttributes()
The set of attributes this client will be able to write.
|
int |
hashCode() |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
builder
protected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
objRef
- Reference to the JSII managed object.public final IUserPool getUserPool()
UserPoolClientProps
getUserPool
in interface UserPoolClientProps
public final Duration getAccessTokenValidity()
UserPoolClientOptions
Values 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()
UserPoolClientOptions
Default: - all auth flows disabled
getAuthFlows
in interface UserPoolClientOptions
public final java.lang.Boolean getDisableOAuth()
UserPoolClientOptions
Default: false
getDisableOAuth
in interface UserPoolClientOptions
public final java.lang.Boolean getEnableTokenRevocation()
UserPoolClientOptions
Default: true for new user pool clients
getEnableTokenRevocation
in interface UserPoolClientOptions
public final java.lang.Boolean getGenerateSecret()
UserPoolClientOptions
Default: false
getGenerateSecret
in interface UserPoolClientOptions
public final Duration getIdTokenValidity()
UserPoolClientOptions
Values 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 UserPoolClientOptions
public final java.lang.Boolean getPreventUserExistenceErrors()
UserPoolClientOptions
Default: false
getPreventUserExistenceErrors
in interface UserPoolClientOptions
public final ClientAttributes getReadAttributes()
UserPoolClientOptions
Default: - all standard and custom attributes
public final Duration getRefreshTokenValidity()
UserPoolClientOptions
Values between 60 minutes and 10 years are valid.
Default: Duration.days(30)
public final java.util.List<UserPoolClientIdentityProvider> getSupportedIdentityProviders()
UserPoolClientOptions
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.
getSupportedIdentityProviders
in interface UserPoolClientOptions
public final java.lang.String getUserPoolClientName()
UserPoolClientOptions
Default: - cloudformation generated name
getUserPoolClientName
in interface UserPoolClientOptions
public final ClientAttributes getWriteAttributes()
UserPoolClientOptions
Default: - all standard and custom attributes
public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
public final boolean equals(java.lang.Object o)
public final int hashCode()