authorizationScopes property
A list of authorization scopes configured on the method. The scopes are used
with a COGNITO_USER_POOLS
authorizer to authorize the method
invocation. The authorization works by matching the method scopes against
the scopes parsed from the access token in the incoming request. The method
invocation is authorized if any method scopes matches a claimed scope in the
access token. Otherwise, the invocation is not authorized. When the method
scope is configured, the client must provide an access token instead of an
identity token for authorization purposes.
Implementation
final List<String>? authorizationScopes;