GetUserPoolClientResult

data class GetUserPoolClientResult(val accessTokenValidity: Int, val allowedOauthFlows: List<String>, val allowedOauthFlowsUserPoolClient: Boolean, val allowedOauthScopes: List<String>, val analyticsConfigurations: List<GetUserPoolClientAnalyticsConfiguration>, val callbackUrls: List<String>, val clientId: String, val clientSecret: String, val defaultRedirectUri: String, val enablePropagateAdditionalUserContextData: Boolean, val enableTokenRevocation: Boolean, val explicitAuthFlows: List<String>, val generateSecret: Boolean, val id: String, val idTokenValidity: Int, val logoutUrls: List<String>, val name: String, val preventUserExistenceErrors: String, val readAttributes: List<String>, val refreshTokenValidity: Int, val supportedIdentityProviders: List<String>, val tokenValidityUnits: List<GetUserPoolClientTokenValidityUnit>, val userPoolId: String, val writeAttributes: List<String>)

A collection of values returned by getUserPoolClient.

Constructors

Link copied to clipboard
constructor(accessTokenValidity: Int, allowedOauthFlows: List<String>, allowedOauthFlowsUserPoolClient: Boolean, allowedOauthScopes: List<String>, analyticsConfigurations: List<GetUserPoolClientAnalyticsConfiguration>, callbackUrls: List<String>, clientId: String, clientSecret: String, defaultRedirectUri: String, enablePropagateAdditionalUserContextData: Boolean, enableTokenRevocation: Boolean, explicitAuthFlows: List<String>, generateSecret: Boolean, id: String, idTokenValidity: Int, logoutUrls: List<String>, name: String, preventUserExistenceErrors: String, readAttributes: List<String>, refreshTokenValidity: Int, supportedIdentityProviders: List<String>, tokenValidityUnits: List<GetUserPoolClientTokenValidityUnit>, userPoolId: String, writeAttributes: List<String>)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

(Optional) Time limit, between 5 minutes and 1 day, after which the access token is no longer valid and cannot be used. This value will be overridden if you have entered a value in token_validity_units.

Link copied to clipboard

(Optional) List of allowed OAuth flows (code, implicit, client_credentials).

Link copied to clipboard

(Optional) Whether the client is allowed to follow the OAuth protocol when interacting with Cognito user pools.

Link copied to clipboard

(Optional) List of allowed OAuth scopes (phone, email, openid, profile, and aws.cognito.signin.user.admin).

Link copied to clipboard

(Optional) Configuration block for Amazon Pinpoint analytics for collecting metrics for this user pool. Detailed below.

Link copied to clipboard

(Optional) List of allowed callback URLs for the identity providers.

Link copied to clipboard
Link copied to clipboard

Client secret of the user pool client.

Link copied to clipboard

(Optional) Default redirect URI. Must be in the list of callback URLs.

Link copied to clipboard

(Optional) Enables or disables token revocation.

Link copied to clipboard

(Optional) List of authentication flows (ADMIN_NO_SRP_AUTH, CUSTOM_AUTH_FLOW_ONLY, USER_PASSWORD_AUTH, ALLOW_ADMIN_USER_PASSWORD_AUTH, ALLOW_CUSTOM_AUTH, ALLOW_USER_PASSWORD_AUTH, ALLOW_USER_SRP_AUTH, ALLOW_REFRESH_TOKEN_AUTH).

Link copied to clipboard

(Optional) Should an application secret be generated.

Link copied to clipboard
val id: String

The provider-assigned unique ID for this managed resource.

Link copied to clipboard

(Optional) Time limit, between 5 minutes and 1 day, after which the ID token is no longer valid and cannot be used. This value will be overridden if you have entered a value in token_validity_units.

Link copied to clipboard

(Optional) List of allowed logout URLs for the identity providers.

Link copied to clipboard
Link copied to clipboard

(Optional) Choose which errors and responses are returned by Cognito APIs during authentication, account confirmation, and password recovery when the user does not exist in the user pool. When set to ENABLED and the user does not exist, authentication returns an error indicating either the username or password was incorrect, and account confirmation and password recovery return a response indicating a code was sent to a simulated destination. When set to LEGACY, those APIs will return a UserNotFoundException exception if the user does not exist in the user pool.

Link copied to clipboard

(Optional) List of user pool attributes the application client can read from.

Link copied to clipboard

(Optional) Time limit in days refresh tokens are valid for.

Link copied to clipboard

(Optional) List of provider names for the identity providers that are supported on this client. Uses the provider_name attribute of aws.cognito.IdentityProvider resource(s), or the equivalent string(s).

Link copied to clipboard

(Optional) Configuration block for units in which the validity times are represented in. Detailed below.

Link copied to clipboard
Link copied to clipboard

(Optional) List of user pool attributes the application client can write to.