supertokens-node
Version:
NodeJS driver for SuperTokens core
15 lines (14 loc) • 437 B
TypeScript
import { TypeProvider } from "../types";
import { Request } from "express";
declare type TypeThirdPartyProviderGithubConfig = {
clientId: string;
clientSecret: string;
scope?: string[];
authorisationRedirect?: {
params?: {
[key: string]: string | ((request: Request) => string);
};
};
};
export default function Github(config: TypeThirdPartyProviderGithubConfig): TypeProvider;
export {};