UNPKG

@guardian/google-admanager-api

Version:

Google Ad Manager API Client Library for NodeJs

17 lines 651 B
import type { JWTInput, RefreshOptions } from "google-auth-library"; import type { JSONClient } from "google-auth-library/build/src/auth/googleauth"; import type { Credential } from "./interfaces"; export declare class GoogleSACredential implements Credential { private json; private options; protected auth?: JSONClient; /** * * @param json The input object. * @param options The JWT or UserRefresh options for the client */ constructor(json: string | JWTInput, options?: RefreshOptions); private build; getToken(): Promise<string | null | undefined>; } //# sourceMappingURL=googleSACredential.d.ts.map