Skip to content

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.

string[]

EnvLookup = ...

Where to read the GOOGLE_* variables from; defaults to the process environment.

Promise<JWT>