UNPKG

login-auth-services

Version:

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

14 lines (13 loc) 385 B
export declare const initiateLoginWithEmailService: (email: string) => Promise<{ message: string; success: boolean; }>; export declare const validateOTPService: (email: string, otp: string) => Promise<{ user: import("../entities/User").User; message: string; success: boolean; } | { message: string; success: boolean; user?: undefined; }>;