UNPKG

backend-google-login-ts

Version:

A secure and lightweight TypeScript package for handling Google OAuth2 authentication in Node.js backend applications. Simplifies the process of integrating Google login with built-in TypeScript support and zero dependencies.

9 lines (8 loc) 231 B
interface LoginWithGoogleOptions { clientId: string; clientSecret: string; redirectUrl: string; authCode: string; } export declare function loginWithGoogle(options: LoginWithGoogleOptions): Promise<any>; export {};