Builder
Properties
The access token time limit. After this limit expires, your user can't use their access token. To specify the time unit for AccessTokenValidity
as seconds
, minutes
, hours
, or days
, set a TokenValidityUnits
value in your API request.
The allowed OAuth flows.
Set to true
to use OAuth 2.0 features in your user pool app client.
The OAuth scopes that your app client supports. Possible values that OAuth provides are phone
, email
, openid
, and profile
. Possible values that Amazon Web Services provides are aws.cognito.signin.user.admin
. Amazon Cognito also supports custom scopes that you create in Resource Servers.
The Amazon Pinpoint analytics configuration for the user pool client.
Amazon Cognito creates a session token for each API request in an authentication flow. AuthSessionValidity
is the duration, in minutes, of that session token. Your user pool native user must respond to each authentication challenge before the session expires.
A list of allowed redirect (callback) URLs for the IdPs.
The client name from the user pool request of the client type.
The client secret from the user pool request of the client type.
The date and time, in ISO 8601 format, when the item was created.
The default redirect URI. Must be in the CallbackURLs
list.
When EnablePropagateAdditionalUserContextData
is true, Amazon Cognito accepts an IpAddress
value that you send in the UserContextData
parameter. The UserContextData
parameter sends information to Amazon Cognito advanced security for risk analysis. You can send UserContextData
when you sign in Amazon Cognito native users with the InitiateAuth
and RespondToAuthChallenge
API operations.
Indicates whether token revocation is activated for the user pool client. When you create a new user pool client, token revocation is activated by default. For more information about revoking tokens, see RevokeToken.
The authentication flows that you want your user pool client to support. For each app client in your user pool, you can sign in your users with any combination of one or more flows, including with a user name and Secure Remote Password (SRP), a user name and password, or a custom authentication process that you define with Lambda functions.
The ID token time limit. After this limit expires, your user can't use their ID token. To specify the time unit for IdTokenValidity
as seconds
, minutes
, hours
, or days
, set a TokenValidityUnits
value in your API request.
The date and time, in ISO 8601 format, when the item was modified.
A list of allowed logout URLs for the IdPs.
Errors and responses that you want Amazon Cognito APIs to return during authentication, account confirmation, and password recovery when the user doesn't exist in the user pool. When set to ENABLED
and the user doesn't exist, authentication returns an error indicating either the username or password was incorrect. Account confirmation and password recovery return a response indicating a code was sent to a simulated destination. When set to LEGACY
, those APIs return a UserNotFoundException
exception if the user doesn't exist in the user pool.
The list of user attributes that you want your app client to have read-only access to. After your user authenticates in your app, their access token authorizes them to read their own attribute value for any attribute in this list. An example of this kind of activity is when your user selects a link to view their profile information. Your app makes a GetUser API request to retrieve and display your user's profile data.
The refresh token time limit. After this limit expires, your user can't use their refresh token. To specify the time unit for RefreshTokenValidity
as seconds
, minutes
, hours
, or days
, set a TokenValidityUnits
value in your API request.
A list of provider names for the IdPs that this client supports. The following are supported: COGNITO
, Facebook
, Google
, SignInWithApple
, LoginWithAmazon
, and the names of your own SAML and OIDC providers.
The time units used to specify the token validity times of each token type: ID, access, and refresh.
The user pool ID for the user pool client.
The list of user attributes that you want your app client to have write access to. After your user authenticates in your app, their access token authorizes them to set or modify their own attribute value for any attribute in this list. An example of this kind of activity is when you present your user with a form to update their profile information and they change their last name. Your app then makes an UpdateUserAttributes API request and sets family_name
to the new value.
Functions
construct an aws.sdk.kotlin.services.cognitoidentityprovider.model.AnalyticsConfigurationType inside the given block
construct an aws.sdk.kotlin.services.cognitoidentityprovider.model.TokenValidityUnitsType inside the given block