Amazon Cognito · Example Payload

User Pools Authentication Result Type Example

AuthenticationIdentityOAuthOIDCSAMLUser ManagementFederated Identity

User Pools Authentication Result Type Example is an example object payload from Amazon Cognito, with 6 top-level fields. It illustrates the shape of data this provider's APIs accept or return.

Top-level fields

AccessTokenExpiresInTokenTypeRefreshTokenIdTokenNewDeviceMetadata

Example Payload

Raw ↑
{
  "AccessToken": "eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.example",
  "ExpiresIn": "example-string",
  "TokenType": "eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.example",
  "RefreshToken": "eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.example",
  "IdToken": "eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.example",
  "NewDeviceMetadata": "example-string"
}