org-sync/google-delegated-auth
@sarj-ai/workspace-sync/org-sync/google-delegated-auth ยท Source
import type { RetryOptions } from "./http.ts";export interface GoogleDelegatedAuthOptions extends Pick<RetryOptions, "fetchImpl" | "random" | "sleep"> { adminSubject: string; operation?: string; privateKey: string; serviceAccountEmail: string;}export interface GoogleDelegatedAuthContract { accessToken(scope: string, runId: string, deadlineAt?: number): Promise<string>;}export declare class GoogleDelegatedAuth implements GoogleDelegatedAuthContract { #private; constructor(options: GoogleDelegatedAuthOptions); accessToken(scope: string, runId: string, deadlineAt?: number): Promise<string>;}