UNPKG

authrix

Version:

Lightweight, flexible authentication library for Node.js and TypeScript.

11 lines (9 loc) 262 B
declare function getGoogleOAuthURL(state: string): string; declare function handleGoogleCallback(code: string): Promise<{ id: any; email: any; name: any; avatar: any; provider: string; }>; export { getGoogleOAuthURL, handleGoogleCallback };