Class UserPoolClientOptions.Jsii$Proxy
- All Implemented Interfaces:
UserPoolClientOptions,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
UserPoolClientOptions
UserPoolClientOptions-
Nested Class Summary
Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationModeNested classes/interfaces inherited from interface software.amazon.awscdk.services.cognito.UserPoolClientOptions
UserPoolClientOptions.Builder, UserPoolClientOptions.Jsii$Proxy -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedJsii$Proxy(UserPoolClientOptions.Builder builder) Constructor that initializes the object based on literal property values passed by theUserPoolClientOptions.Builder.protectedJsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef) Constructor that initializes the object based on values retrieved from the JsiiObject. -
Method Summary
Modifier and TypeMethodDescriptioncom.fasterxml.jackson.databind.JsonNodefinal booleanfinal DurationValidity of the access token.final AnalyticsConfigurationThe analytics configuration for this client.final AuthFlowThe set of OAuth authentication flows to enable on the client.final DurationCognito creates a session token for each API request in an authentication flow.final BooleanTurns off all OAuth interactions for this client.final BooleanEnable the propagation of additional user context data.final BooleanEnable token revocation for this client.final BooleanWhether to generate a client secret.final DurationValidity of the ID token.final OAuthSettingsgetOAuth()OAuth settings for this client to interact with the app.final BooleanWhether 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.final ClientAttributesThe set of attributes this client will be able to read.final DurationEnables refresh token rotation when set.final DurationValidity of the refresh token.The list of identity providers that users should be able to use to sign in using this client.final StringName of the application client.final ClientAttributesThe set of attributes this client will be able to write.final inthashCode()Methods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet
-
Constructor Details
-
Jsii$Proxy
protected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef) Constructor that initializes the object based on values retrieved from the JsiiObject.- Parameters:
objRef- Reference to the JSII managed object.
-
Jsii$Proxy
Constructor that initializes the object based on literal property values passed by theUserPoolClientOptions.Builder.
-
-
Method Details
-
getAccessTokenValidity
Description copied from interface:UserPoolClientOptionsValidity of the access token.Values between 5 minutes and 1 day are valid. The duration can not be longer than the refresh token validity.
Default: Duration.minutes(60)
- Specified by:
getAccessTokenValidityin interfaceUserPoolClientOptions- See Also:
-
getAnalytics
Description copied from interface:UserPoolClientOptionsThe analytics configuration for this client.Default: - no analytics configuration
- Specified by:
getAnalyticsin interfaceUserPoolClientOptions
-
getAuthFlows
Description copied from interface:UserPoolClientOptionsThe set of OAuth authentication flows to enable on the client.Default: - If you don't specify a value, your user client supports ALLOW_REFRESH_TOKEN_AUTH, ALLOW_USER_SRP_AUTH, and ALLOW_CUSTOM_AUTH.
- Specified by:
getAuthFlowsin interfaceUserPoolClientOptions- See Also:
-
getAuthSessionValidity
Description copied from interface:UserPoolClientOptionsCognito creates a session token for each API request in an authentication flow.AuthSessionValidity is the duration, in minutes, of that session token. see defaults in
AuthSessionValidity. Valid duration is from 3 to 15 minutes.Default: - Duration.minutes(3)
- Specified by:
getAuthSessionValidityin interfaceUserPoolClientOptions- See Also:
-
getDisableOAuth
Description copied from interface:UserPoolClientOptionsTurns off all OAuth interactions for this client.Default: false
- Specified by:
getDisableOAuthin interfaceUserPoolClientOptions
-
getEnablePropagateAdditionalUserContextData
Description copied from interface:UserPoolClientOptionsEnable the propagation of additional user context data.You can only activate enablePropagateAdditionalUserContextData in an app client that has a client secret.
Default: false for new user pool clients
- Specified by:
getEnablePropagateAdditionalUserContextDatain interfaceUserPoolClientOptions- See Also:
-
getEnableTokenRevocation
Description copied from interface:UserPoolClientOptionsEnable token revocation for this client.Default: true for new user pool clients
- Specified by:
getEnableTokenRevocationin interfaceUserPoolClientOptions- See Also:
-
getGenerateSecret
Description copied from interface:UserPoolClientOptionsWhether to generate a client secret.Default: false
- Specified by:
getGenerateSecretin interfaceUserPoolClientOptions
-
getIdTokenValidity
Description copied from interface:UserPoolClientOptionsValidity of the ID token.Values between 5 minutes and 1 day are valid. The duration can not be longer than the refresh token validity.
Default: Duration.minutes(60)
- Specified by:
getIdTokenValidityin interfaceUserPoolClientOptions- See Also:
-
getOAuth
Description copied from interface:UserPoolClientOptionsOAuth settings for this client to interact with the app.An error is thrown when this is specified and
disableOAuthis set.Default: - see defaults in `OAuthSettings`. meaningless if `disableOAuth` is set.
- Specified by:
getOAuthin interfaceUserPoolClientOptions
-
getPreventUserExistenceErrors
Description copied from interface:UserPoolClientOptionsWhether 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: false
- Specified by:
getPreventUserExistenceErrorsin interfaceUserPoolClientOptions- See Also:
-
getReadAttributes
Description copied from interface:UserPoolClientOptionsThe set of attributes this client will be able to read.Default: - all standard and custom attributes
- Specified by:
getReadAttributesin interfaceUserPoolClientOptions- See Also:
-
getRefreshTokenRotationGracePeriod
Description copied from interface:UserPoolClientOptionsEnables refresh token rotation when set.Defines the grace period for the original refresh token (0-60 seconds).
Default: - undefined (refresh token rotation is disabled)
- Specified by:
getRefreshTokenRotationGracePeriodin interfaceUserPoolClientOptions- See Also:
-
getRefreshTokenValidity
Description copied from interface:UserPoolClientOptionsValidity of the refresh token.Values between 60 minutes and 10 years are valid.
Default: Duration.days(30)
- Specified by:
getRefreshTokenValidityin interfaceUserPoolClientOptions- See Also:
-
getSupportedIdentityProviders
Description copied from interface:UserPoolClientOptionsThe list of identity providers that users should be able to use to sign in using this client.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.
- Specified by:
getSupportedIdentityProvidersin interfaceUserPoolClientOptions
-
getUserPoolClientName
Description copied from interface:UserPoolClientOptionsName of the application client.Default: - cloudformation generated name
- Specified by:
getUserPoolClientNamein interfaceUserPoolClientOptions
-
getWriteAttributes
Description copied from interface:UserPoolClientOptionsThe set of attributes this client will be able to write.Default: - all standard and custom attributes
- Specified by:
getWriteAttributesin interfaceUserPoolClientOptions- See Also:
-
$jsii$toJson
@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()- Specified by:
$jsii$toJsonin interfacesoftware.amazon.jsii.JsiiSerializable
-
equals
-
hashCode
public final int hashCode()
-