Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

Index

Properties

clientId?: string
clientSecret?: string
credentials?: Credentials
eagerRefreshThresholdMillis?: number

The expiration threshold in milliseconds before forcing token refresh of unexpired tokens.

forceRefreshOnFailure?: boolean

Whether to attempt to refresh tokens on status 401/403 responses even if an attempt is made to refresh the token preemptively based on the expiry_date.

projectId: undefined | null | string
project_id: undefined | null | string
quotaProjectId: undefined | string
quota_project_id: undefined | string
redirectUri?: string
scopes?: string | string[]

The scopes that will be requested when acquiring service account credentials. Only applicable to modern App Engine and Cloud Function runtimes as of March 2019.

serviceAccountEmail?: string

The service account email to use, or 'default'. A Compute Engine instance may have multiple service accounts.

transporter?: Transporter | Gaxios

A Gaxios or Transporter instance to use for AuthClient requests.

transporterOptions?: GaxiosOptions

Provides default options to the transporter, such as agent or retryConfig.

universeDomain: undefined | string
universe_domain: undefined | string