Interface ImpersonatedOptions (7.14.1)

Inheritance

RefreshOptions > ImpersonatedOptions

Package

google-auth-library

Properties

delegates

delegates?: string[];

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

endpoint

endpoint?: string;

API endpoint to fetch token from.

lifetime

lifetime?: number | 3600;

Number of seconds the delegated credential should be valid.

sourceClient

sourceClient?: AuthClient;

Client used to perform exchange for impersonated client.

targetPrincipal

targetPrincipal?: string;

The service account to impersonate.

targetScopes

targetScopes?: string[];

Scopes to request during the authorization grant.