UNPKG

login-auth-services

Version:

Authentication services for Google, GitHub, Microsoft, okta and multi-factor authentication using OTP.

11 lines (10 loc) 519 B
import { MicrosoftOAuthOptions } from "../helpers/interface.types"; export declare const getAuthURLMicrosoft: (options: MicrosoftOAuthOptions) => string; export declare const getTokenMicrosoft: (code: any, options: { tenantId: any; clientId: any; clientSecret: any; redirectUri: any; }) => Promise<any>; export declare const getUserInfoMicrosoft: (accessToken: any) => Promise<any>; export declare const handleMicrosoftCallback: (code: string, options: MicrosoftOAuthOptions) => Promise<any>;