canAccessScopes method

Future<bool> canAccessScopes(
  1. List<String> scopes, {
  2. String? accessToken,
})

Checks if the current user has granted access to all the specified scopes.

Optionally, an accessToken can be passed for applications where a long-lived token may be cached (like the web).

Implementation

Future<bool> canAccessScopes(
  List<String> scopes, {
  String? accessToken,
}) async {
  throw UnimplementedError('canAccessScopes() has not been implemented.');
}