UNPKG

@denz93/vendure-plugin-3rd-party-auth

Version:

A set of auth strategies to work with 3rd party such as Google, Facebook, etc

12 lines (11 loc) 417 B
import { IThirdPartyAuthPluginOptions } from './interfaces'; type WithRequire<T, K extends keyof T> = T & { [P in K]-?: T[P]; }; export declare class GoogleAuthService { private options; private googleClient; constructor(options: Required<Pick<IThirdPartyAuthPluginOptions, "google">>); verify(code: string): Promise<WithRequire<import("google-auth-library").TokenPayload, "email">>; } export {};