Wrapper around Google Access Tokens which provides convenience functions.

ApplicationDefaultCredentials obtains the default credentials for authorizing a request to a Google service.

A cache item.

Simple in-memory cache implementation.

SystemV shared memory based CacheItemPool implementation.

A cache item.

Retrieve a token from a file.

Retrieve a token from a URL.

CredentialsLoader contains the behaviour used to locate and find default credentials files on the file system.

GCECredentials supports authorization on Google Compute Engine.

Authenticates requests using IAM credentials.

Provides a set of credentials that will always return an empty access token.

ServiceAccountCredentials supports authorization using a Google service account.

Authenticates requests using Google's Service Account credentials via JWT Access.

Authenticates requests using User Refresh credentials.

A class to implement caching for any object implementing FetchAuthTokenInterface

An interface implemented by objects that can fetch auth tokens.

A class to implement caching for calls to GCECredentials::onGce. This class is used automatically when you pass a Psr\Cache\CacheItemPoolInterface cache object to ApplicationDefaultCredentials::getCredentials.

An interface implemented by objects that can get quota projects.

Stores an HTTP Client in order to prevent multiple instantiations.

Iam

Tools for using the IAM API.

AuthTokenMiddleware is a Guzzle Middleware that adds an Authorization header provided by an object implementing FetchAuthTokenInterface.

ProxyAuthTokenMiddleware is a Guzzle Middleware that adds an Authorization header provided by an object implementing FetchAuthTokenInterface.

ScopedAccessTokenMiddleware is a Guzzle Middleware that adds an Authorization header provided by a closure.

SimpleMiddleware is a Guzzle Middleware that implements Google's Simple API access.

OAuth2 supports authentication by OAuth2 2-legged flows.

Describes a Credentials object which supports fetching the project ID.

Sign a string using a Service Account private key.

Describes a class which supports signing arbitrary strings.

Describes a Credentials object which supports updating request metadata (request headers).

Provides shared methods for updating request metadata (request headers).