CognitoAccessToken extension

Cognito-specific access token claims.

References:

on

Properties

groups → List<String>

Available on JsonWebToken, provided by the CognitoAccessToken extension

The cognito:groups claim is a list of groups the user belongs to.
no setter
scope → String

Available on JsonWebToken, provided by the CognitoAccessToken extension

The scope claim is a list of Oauth 2.0 scopes that define what access the token provides.
no setter
scopes → List<String>

Available on JsonWebToken, provided by the CognitoAccessToken extension

The scope claim is a list of Oauth 2.0 scopes that define what access the token provides.
no setter
username → String

Available on JsonWebToken, provided by the CognitoAccessToken extension

The Cognito username.
no setter