googleAuth
googleAuth(
scopes,env?):Promise<JWT>
Defined in: authentication.ts:71
Authenticates as the service account from loadServiceAccountKey() for the given scopes and resolves with its JWT client.
Parameters
Section titled “Parameters”scopes
Section titled “scopes”string[]
EnvLookup = ...
Where to read the GOOGLE_* variables from; defaults to the process environment.
Returns
Section titled “Returns”Promise<JWT>