ClientAuthenticationResultType - Amazon Cognito User Pools
Services or capabilities described in AWS documentation might vary by Region. To see the differences applicable to the AWS European Sovereign Cloud Region, see the AWS European Sovereign Cloud User Guide.

ClientAuthenticationResultType

The access token and its metadata from a machine-to-machine (M2M) client credentials grant.

This data type is a response parameter of GetClientToken.

Contents

AccessToken

The access token for the requested app client. Present this token to a resource server to authorize a request, using the scopes granted in the token.

Type: String

Pattern: [A-Za-z0-9-_=.]+

Required: No

ExpiresIn

The number of seconds until the access token expires.

Type: Integer

Required: No

TokenType

The type of the token. For example, Bearer.

Type: String

Length Constraints: Minimum length of 0. Maximum length of 131072.

Required: No

See Also

For more information about using this API in one of the language-specific AWS SDKs, see the following: