Home | Trees | Indices | Help |
---|
|
Helpers for authentication using oauth2client or google-auth.
|
|||
|
|||
|
|||
|
|
|||
HAS_GOOGLE_AUTH = False
|
|||
HAS_OAUTH2CLIENT = False
|
|
Scopes the credentials if necessary. Args: credentials (Union[ google.auth.credentials.Credentials, oauth2client.client.Credentials]): The credentials to scope. scopes (Sequence[str]): The list of scopes. Returns: Union[google.auth.credentials.Credentials, oauth2client.client.Credentials]: The scoped credentials. |
Returns an http client that is authorized with the given credentials. Args: credentials (Union[ google.auth.credentials.Credentials, oauth2client.client.Credentials]): The credentials to use. Returns: Union[httplib2.Http, google_auth_httplib2.AuthorizedHttp]: An authorized http client. |
Home | Trees | Indices | Help |
---|
Generated by Epydoc 3.0.1 on Mon Jun 5 13:38:39 2017 | http://epydoc.sourceforge.net |