sdkagent

oauth2client API reference

66 public APIs from oauth2client (google/oauth2client) — 42 classes, 3 functions, 21 methods. Signatures extracted by static analysis of the actual source.

Repository: google/oauth2client

KindCount
Classes42
Functions3
Methods21

API list

funcoauth2client._helpers.scopes_to_string(scopes)
Converts scope value to a string.
classoauth2client._openssl_crypt.OpenSSLSigner
Signs messages with a private key.
methodoauth2client._openssl_crypt.OpenSSLSigner.sign(message)
Signs a message.
classoauth2client._openssl_crypt.OpenSSLVerifier
Verifies the signature on a message.
classoauth2client._pure_python_crypt.RsaSigner
Signs messages with a private key.
methodoauth2client._pure_python_crypt.RsaSigner.sign(message)
Signs a message.
classoauth2client._pure_python_crypt.RsaVerifier
Verifies the signature on a message.
classoauth2client._pycrypto_crypt.PyCryptoSigner
Signs messages with a private key.
methodoauth2client._pycrypto_crypt.PyCryptoSigner.sign(message)
Signs a message.
classoauth2client._pycrypto_crypt.PyCryptoVerifier
Verifies the signature on a message.
classoauth2client.client.AccessTokenCredentials
Credentials object for OAuth 2.0.
classoauth2client.client.AccessTokenRefreshError
Error trying to refresh an expired access token.
classoauth2client.client.ApplicationDefaultCredentialsError
Error retrieving the Application Default Credentials.
classoauth2client.client.Credentials
Base class for all Credentials objects.
methodoauth2client.client.Credentials.refresh(http)
Forces a refresh of the access_token.
classoauth2client.client.DeviceFlowInfo
Intermediate information the OAuth2 for devices flow.
classoauth2client.client.Error
Base error for this module.
classoauth2client.client.Flow
Base class for all Flow objects.
classoauth2client.client.NonAsciiHeaderError
Header names and values must be ASCII strings.
classoauth2client.client.OAuth2Credentials
Credentials object for OAuth 2.0.
methodoauth2client.client.OAuth2Credentials.set_store(store)
Set the Storage for the credential.
classoauth2client.client.OAuth2DeviceCodeError
Error trying to retrieve a device code.
classoauth2client.client.OAuth2WebServerFlow
Does the Web Server Flow for OAuth 2.0.
classoauth2client.client.SETTINGS
Settings namespace for globally defined values.
classoauth2client.client.Storage
Base class for all Storage objects.
methodoauth2client.client.Storage.delete()
Delete credential.
methodoauth2client.client.Storage.get()
Retrieve credential.
methodoauth2client.client.Storage.locked_delete()
Delete a credential.
methodoauth2client.client.Storage.locked_get()
Retrieve credential.
methodoauth2client.client.Storage.locked_put(credentials)
Write a credential.
methodoauth2client.client.Storage.put(credentials)
Write a credential.
methodoauth2client.client.Storage.release_lock()
Release the Storage lock.
classoauth2client.client.TokenRevokeError
Error trying to revoke a token.
classoauth2client.client.VerifyJwtTokenError
Could not retrieve certificates for validation.
classoauth2client.clientsecrets.Error
Base error for this module.
classoauth2client.clientsecrets.InvalidClientSecretsError
Format of ClientSecrets file is invalid.
classoauth2client.contrib._appengine_ndb.CredentialsNDBProperty
App Engine NDB datastore Property for Credentials.
classoauth2client.contrib._appengine_ndb.FlowNDBProperty
App Engine NDB datastore Property for Flow.
classoauth2client.contrib._appengine_ndb.SiteXsrfSecretKeyNDB
NDB Model for storage for the sites XSRF secret key.
classoauth2client.contrib.appengine.CredentialsProperty
App Engine datastore Property for Credentials.
classoauth2client.contrib.appengine.FlowProperty
App Engine datastore Property for Flow.
classoauth2client.contrib.appengine.OAuth2Decorator
Utility for making OAuth 2.0 easier.
methodoauth2client.contrib.appengine.OAuth2Decorator.get_flow()
A thread local Flow object.
classoauth2client.contrib.appengine.SiteXsrfSecretKey
Storage for the sites XSRF secret key.
classoauth2client.contrib.devshell.Error
Errors for this module.
classoauth2client.contrib.devshell.NoDevshellServer
Error when no Developer Shell server can be contacted.
classoauth2client.contrib.django_util.apps.GoogleOAuth2HelperConfig
App Config for Django Helper
classoauth2client.contrib.django_util.models.CredentialsField
Django ORM field for storing OAuth2 Credentials.
classoauth2client.contrib.flask_util.UserOAuth2
Flask extension for making OAuth 2.0 easier.
methodoauth2client.contrib.keyring_storage.Storage.locked_delete()
Delete Credentials file.
methodoauth2client.contrib.keyring_storage.Storage.locked_get()
Retrieve Credential from file.
methodoauth2client.contrib.keyring_storage.Storage.locked_put(credentials)
Write Credentials to file.
classoauth2client.contrib.multiprocess_file_storage.MultiprocessFileStorage
Multiprocess file credential storage.
classoauth2client.contrib.sqlalchemy.CredentialsType
Type representing credentials.
methodoauth2client.contrib.sqlalchemy.Storage.locked_get()
Retrieve stored credential.
classoauth2client.crypt.AppIdentityError
Error to indicate crypto failure.
funcoauth2client.crypt.make_signed_jwt(signer, payload, key_id=None)
Make a signed JWT.
classoauth2client.file.Storage
Store and retrieve a single credential to and from a file.
methodoauth2client.file.Storage.locked_delete()
Delete Credentials file.
methodoauth2client.file.Storage.locked_get()
Retrieve Credential from file.
methodoauth2client.file.Storage.locked_put(credentials)
Write Credentials to file.
classoauth2client.tools.ClientRedirectHandler
A handler for OAuth 2.0 redirects back to localhost.
methodoauth2client.tools.ClientRedirectHandler.do_GET()
Handle a GET request.
classoauth2client.tools.ClientRedirectServer
A server to handle OAuth 2.0 redirects back to localhost.
classoauth2client.transport.MemoryCache
httplib2 Cache implementation which only caches locally.
funcoauth2client.transport.get_http_object(*args, **kwargs)
Return a new HTTP object.

About this data

These signatures were extracted from the public source of google/oauth2client using Python's ast module. Argument names, default values, type annotations and return types are taken verbatim from the code. Implementation bodies are never stored. See how it works for details.

Back to all 805 libraries