UNPKG

@tayar/auth

Version:

Authentication Kit for React and Next.js

10 lines (8 loc) 225 B
declare function login(email: string, password: string, userType: string, config: any): Promise<{ [x: string]: any; success: boolean; user: any; token: string; refreshToken: string; }>; export { login };