Scope
When using OAuth, use Scope to define required scopes.
Specification
Different modules require different scopes. That helps you to control the permissions of every single account. If the service supports OAuth Scopes, you should set corresponding scopes for each module you're writing.
Scope is an array value that is required to complete the request with a list of scopes successfully.
Example:
If a module uses RPCs which require particular scopes, the scopes should be listed in the module too.
Extending scopes
When a module requires a scope that wasn't required elsewhere previously, a dialog for extending permissions will appear.
Last updated