addScope method

OAuthProvider addScope(
  1. String scope
)

Adds a scope to the provider.

scope The scope to add.

Returns this OAuthProvider for chaining.

Example:

provider.addScope('email');

Implementation

OAuthProvider addScope(String scope) {
  _scopes.add(scope);
  return this;
}