supertokens-node
Version:
NodeJS driver for SuperTokens core
23 lines (22 loc) • 703 B
TypeScript
// @ts-nocheck
import { APIInterface, APIOptions } from "../../types";
import { ProviderConfig } from "../../../thirdparty/types";
import { UserContext } from "../../../../types";
export type Response =
| {
status: "OK";
providerConfig: ProviderConfig & {
isGetAuthorisationRedirectUrlOverridden: boolean;
isExchangeAuthCodeForOAuthTokensOverridden: boolean;
isGetUserInfoOverridden: boolean;
};
}
| {
status: "UNKNOWN_TENANT_ERROR";
};
export default function getThirdPartyConfig(
_: APIInterface,
tenantId: string,
options: APIOptions,
userContext: UserContext
): Promise<Response>;