@Stability(value=Experimental) @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(IUserPool userPool,
Duration accessTokenValidity,
AuthFlow authFlows,
Boolean disableOAuth,
Boolean generateSecret,
Duration idTokenValidity,
OAuthSettings oAuth,
Boolean preventUserExistenceErrors,
ClientAttributes readAttributes,
Duration refreshTokenValidity,
List<? extends UserPoolClientIdentityProvider> supportedIdentityProviders,
String userPoolClientName,
ClientAttributes writeAttributes)
Constructor that initializes the object based on literal property values passed by the
UserPoolClientProps.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) |
Duration |
getAccessTokenValidity()
(experimental) Validity of the access token.
|
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.
|
Duration |
getIdTokenValidity()
(experimental) Validity of the ID token.
|
OAuthSettings |
getOAuth()
(experimental) OAuth settings for this 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.
|
ClientAttributes |
getReadAttributes()
(experimental) The set of attributes this client will be able to read.
|
Duration |
getRefreshTokenValidity()
(experimental) Validity of the refresh token.
|
List<UserPoolClientIdentityProvider> |
getSupportedIdentityProviders()
(experimental) The list of identity providers that users should be able to use to sign in using this client.
|
IUserPool |
getUserPool()
(experimental) The UserPool resource this client will have access to.
|
String |
getUserPoolClientName()
(experimental) Name of the application client.
|
ClientAttributes |
getWriteAttributes()
(experimental) 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(IUserPool userPool, Duration accessTokenValidity, AuthFlow authFlows, Boolean disableOAuth, Boolean generateSecret, Duration idTokenValidity, OAuthSettings oAuth, Boolean preventUserExistenceErrors, ClientAttributes readAttributes, Duration refreshTokenValidity, List<? extends UserPoolClientIdentityProvider> supportedIdentityProviders, String userPoolClientName, ClientAttributes writeAttributes)
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)
getAccessTokenValidity in interface UserPoolClientOptionshttps://docs.aws.amazon.com/en_us/cognito/latest/developerguide/amazon-cognito-user-pools-using-tokens-with-identity-providers.html#amazon-cognito-user-pools-using-the-access-tokenpublic 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 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)
getIdTokenValidity in interface UserPoolClientOptionshttps://docs.aws.amazon.com/en_us/cognito/latest/developerguide/amazon-cognito-user-pools-using-tokens-with-identity-providers.html#amazon-cognito-user-pools-using-the-id-tokenpublic 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 ClientAttributes getReadAttributes()
UserPoolClientOptionsDefault: - all standard and custom attributes
getReadAttributes in interface UserPoolClientOptionshttps://docs.aws.amazon.com/cognito/latest/developerguide/user-pool-settings-attributes.html#user-pool-settings-attribute-permissions-and-scopespublic final Duration getRefreshTokenValidity()
UserPoolClientOptionsValues between 60 minutes and 10 years are valid.
Default: Duration.days(30)
getRefreshTokenValidity in interface UserPoolClientOptionshttps://docs.aws.amazon.com/en_us/cognito/latest/developerguide/amazon-cognito-user-pools-using-tokens-with-identity-providers.html#amazon-cognito-user-pools-using-the-refresh-tokenpublic 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
getWriteAttributes in interface UserPoolClientOptionshttps://docs.aws.amazon.com/cognito/latest/developerguide/user-pool-settings-attributes.html#user-pool-settings-attribute-permissions-and-scopes@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
$jsii$toJson in interface software.amazon.jsii.JsiiSerializableCopyright © 2021. All rights reserved.