datasquirel/dist/client/auth/github/getAccessToken.d.ts
Benjamin Toby 6593047efd Updates
2025-04-18 12:06:15 +01:00

14 lines
442 B
TypeScript

type Param = {
clientId: string;
redirectUrl: string;
setLoading?: (arg0: boolean) => void;
scopes?: string[];
};
/**
* Login with Github Function
* ===============================================================================
* @description This function uses github api to login a user with datasquirel
*/
export default function getAccessToken({ clientId, redirectUrl, setLoading, scopes, }: Param): void;
export {};