12 lines
313 B
TypeScript
12 lines
313 B
TypeScript
import { GithubUserPayload } from "../../../types";
|
|
type Param = {
|
|
code: string;
|
|
clientId: string;
|
|
clientSecret: string;
|
|
};
|
|
/**
|
|
* # Login/signup a github user
|
|
*/
|
|
export default function githubLogin({ code, clientId, clientSecret, }: Param): Promise<GithubUserPayload | null | undefined>;
|
|
export {};
|