Options
All
  • Public
  • Public/Protected
  • All
Menu

Base AuthClient configuration.

The camelCased options are aliases of the snake_cased options, supporting both JSON API and JS conventions.

Hierarchy

Index

Properties

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
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