Amazon Cognito · Schema
AuthenticationResultType
The authentication result.
AuthenticationAuthorizationIdentityIdentity ProviderOAuth2OIDC
Properties
| Name | Type | Description |
|---|---|---|
| AccessToken | object | |
| ExpiresIn | object | |
| TokenType | object | |
| RefreshToken | object | |
| IdToken | object | |
| NewDeviceMetadata | object |
JSON Schema
{
"type": "object",
"properties": {
"AccessToken": {
"allOf": [
{
"$ref": "#/components/schemas/TokenModelType"
},
{
"description": "A valid access token that Amazon Cognito issued to the user who you want to authenticate."
}
]
},
"ExpiresIn": {
"allOf": [
{
"$ref": "#/components/schemas/IntegerType"
},
{
"description": "The expiration period of the authentication result in seconds."
}
]
},
"TokenType": {
"allOf": [
{
"$ref": "#/components/schemas/StringType"
},
{
"description": "The token type."
}
]
},
"RefreshToken": {
"allOf": [
{
"$ref": "#/components/schemas/TokenModelType"
},
{
"description": "The refresh token."
}
]
},
"IdToken": {
"allOf": [
{
"$ref": "#/components/schemas/TokenModelType"
},
{
"description": "The ID token."
}
]
},
"NewDeviceMetadata": {
"allOf": [
{
"$ref": "#/components/schemas/NewDeviceMetadataType"
},
{
"description": "The new device metadata from an authentication result."
}
]
}
},
"description": "The authentication result.",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://raw.githubusercontent.com/api-evangelist/aws-cognito/refs/heads/main/json-schema/cognito-idp-authentication-result-type-schema.json",
"title": "AuthenticationResultType"
}