googleauth - Class Google::Auth::DefaultCredentials (v1.12.0)

Reference documentation and code samples for the googleauth class Google::Auth::DefaultCredentials.

DefaultCredentials is used to preload the credentials file, to determine which type of credentials should be loaded.

Inherits

  • Object

Methods

.determine_creds_class

def self.determine_creds_class(json_key_io)

Reads the input json and determines which creds class to use.

.make_creds

def self.make_creds(options = {})

override CredentialsLoader#make_creds to use the class determined by loading the json.

.read_creds

def self.read_creds()