14 lines
442 B
TypeScript
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 {};
|