Interface ImpersonatedOptions (7.9.1)

Inheritance

RefreshOptions > ImpersonatedOptions

Package

google-auth-library!

Properties

delegates

delegates?: string[];

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

Property Value
TypeDescription
string[]

endpoint

endpoint?: string;

API endpoint to fetch token from.

Property Value
TypeDescription
string

lifetime

lifetime?: number | 3600;

Number of seconds the delegated credential should be valid.

Property Value
TypeDescription
number | 3600

sourceClient

sourceClient?: AuthClient;

Client used to perform exchange for impersonated client.

Property Value
TypeDescription
AuthClient

targetPrincipal

targetPrincipal?: string;

The service account to impersonate.

Property Value
TypeDescription
string

targetScopes

targetScopes?: string[];

Scopes to request during the authorization grant.

Property Value
TypeDescription
string[]