UNPKG

easy-social-auth

Version:

A flexible, standalone package for social authentication using Google, Facebook & Twitter

9 lines (8 loc) 460 B
import { ISocialUser } from '../interfaces/social-user.interface'; import { IGoogleConfig } from '../interfaces/config.interface'; import { SocialAuthResponse } from '../interfaces/easy-social-auth-response.interface'; import { AuthStrategy } from './easy-social-auth.strategy'; export declare class GoogleStrategy extends AuthStrategy { constructor(config: IGoogleConfig); getUserData(accessToken: string): Promise<SocialAuthResponse<ISocialUser>>; }