Defines the decoded form that the AWS access and id tokens take.
{ sub : String
, event_id : String
, token_use : String
, scope : String
, auth_time : Time.Posix
, iss : String
, exp : Time.Posix
, iat : Time.Posix
, jti : String
, client_id : String
, username : String
}
Cognito access token.
{ sub : String
, aud : String
, event_id : String
, token_use : String
, auth_time : Time.Posix
, iss : String
, cognito_username : String
, exp : Time.Posix
, iat : Time.Posix
, email : String
}
Cognito id token.