Interface GoogleAuthOptions (7.1.2)

Package

google-auth-library!

Properties

clientOptions

clientOptions?: JWTOptions | OAuth2ClientOptions | UserRefreshClientOptions;

Options object passed to the constructor of the client

Property Value
TypeDescription
JWTOptions | OAuth2ClientOptions | UserRefreshClientOptions

credentials

credentials?: CredentialBody | ExternalAccountClientOptions;

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

Property Value
TypeDescription
CredentialBody | ExternalAccountClientOptions

keyFile

keyFile?: string;

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

Property Value
TypeDescription
string

keyFilename

keyFilename?: string;

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

Property Value
TypeDescription
string

projectId

projectId?: string;

Your project ID.

Property Value
TypeDescription
string

scopes

scopes?: string | string[];

Required scopes for the desired API request

Property Value
TypeDescription
string | string[]