UNPKG

easy-social-auth

Version:

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

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