Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

Index

Properties

clientId?: string
clientSecret?: string
credentials?: Credentials
delegates?: string[]

The chained list of delegates required to grant the final access_token.

eagerRefreshThresholdMillis?: number

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

endpoint?: string

API endpoint to fetch token from.

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.

lifetime?: number

Number of seconds the delegated credential should be valid.

projectId: undefined | null | string
project_id: undefined | null | string
quotaProjectId: undefined | string
quota_project_id: undefined | string
redirectUri?: string
sourceClient?: AuthClient

Client used to perform exchange for impersonated client.

targetPrincipal?: string

The service account to impersonate.

targetScopes?: string[]

Scopes to request during the authorization grant.

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