The list of scopes present in the token.
The scopes needed for the operation. Default to an empty array.
Optional
user: UserIdResolvableThe user ID associated with the token. This is used in the error message if scopes are missing.
This function checks if the provided token has all the necessary scopes for an operation. If the token does not contain any of the requested scopes, a MissingScopeError is thrown for the caller to handle.
MissingScopeError If the token does not include the required scopes.
c.