View a markdown version of this page

ClientAuthenticationResultType - Amazon Cognito User Pools
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China (PDF).

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 Amazon SDKs, see the following: