Interface GoogleAuthOptions (8.7.0)

Stay organized with collections Save and categorize content based on your preferences.

Package

google-auth-library

Properties

authClient

authClient?: T;

An AuthClient to use

clientOptions

clientOptions?: JWTOptions | OAuth2ClientOptions | UserRefreshClientOptions | ImpersonatedOptions;

Options object passed to the constructor of the client

credentials

credentials?: CredentialBody | ExternalAccountClientOptions;

Object containing client_email and private_key properties, or the external account client options.

keyFile

keyFile?: string;

Path to a .json, .pem, or .p12 key file

keyFilename

keyFilename?: string;

Path to a .json, .pem, or .p12 key file

projectId

projectId?: string;

Your project ID.

scopes

scopes?: string | string[];

Required scopes for the desired API request