login-auth-services
Version:
Authentication services for Google, GitHub, Microsoft, okta and multi-factor authentication using OTP.
14 lines (13 loc) • 531 B
TypeScript
import { GoogleOAuthOptions } from "../helpers/interface.types";
export declare const getAuthURLGoogle: (options: GoogleOAuthOptions) => string;
export declare const getTokenGoogle: (code: any, options: {
clientId: any;
clientSecret: any;
redirectUri: any;
}) => Promise<any>;
export declare const getUserInfoGoogle: (accessToken: any) => Promise<any>;
export declare const handleGoogleCallback: (code: string, options: {
clientId: any;
clientSecret: any;
redirectUri: any;
}) => Promise<any>;