@dataroadinc/setup-auth
Version:
CLI tool and programmatic API for automated OAuth setup across cloud platforms
21 lines (20 loc) • 754 B
TypeScript
import { Command } from "@commander-js/extra-typings";
import { OAuthProvider, PlatformType, RedirectUrlsConfig } from "../types/index.js";
export interface GCPRedirectUrlsOptions {
platform: PlatformType;
oauthProvider: OAuthProvider;
vercelProjectName?: string;
vercelAccessToken?: string;
azureOauthClientId?: string;
azureOauthSecret?: string;
githubOauthId?: string;
githubOauthSecret?: string;
gcpOauthProjectId?: string;
gcpOauthOrganizationId?: string;
nextAuthUrl?: string;
deploymentUrl?: string;
callbackPath?: string | undefined;
url?: string | undefined;
redirectOptions: RedirectUrlsConfig;
}
export declare function addCommandUpdateRedirectUrls(program: Command): Promise<void>;