Companion

object Companion

Functions

Link copied to clipboard

Returns a credential that uses Application Default Credentials, requesting scopes, or the cloud-platform scope when scopes is null or empty.

Link copied to clipboard
Link copied to clipboard

Returns a credential that gets an ID token for audience from Application Default Credentials.

Returns a credential that gets an ID token for audience from the service account key.

Link copied to clipboard

Returns a credential that uses the service account key, requesting scopes. Unlike Application Default Credentials, a key gets no default scope, so it needs at least one.