setScopes method

OAuthProvider setScopes(
  1. List<String> scopes
)

Sets the scopes for the provider.

scopes The list of scopes to set.

Returns this OAuthProvider for chaining.

Example:

provider.setScopes(['email', 'profile']);

Implementation

OAuthProvider setScopes(List<String> scopes) {
  _scopes = scopes;
  return this;
}