View a markdown version of this page

ClientAuthenticationResultType - Amazon Cognito User Pools

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: