View source on GitHub |
Returns authorized scopes from input scopes.
google.appengine.api.oauth.get_authorized_scopes(
scope
)
Args | |
---|---|
scope
|
The custom OAuth scope or an iterable of scopes at least one of which is accepted. |
Returns | |
---|---|
list
|
A list of authorized OAuth2 scopes |
Raises | |
---|---|
OAuthRequestError
|
The request was not a valid OAuth2 request. |
OAuthServiceFailureError
|
An unknown error occurred |