UNPKG

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

Version:

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

8 lines (7 loc) 411 B
import { ConfigService, ExternalAuthenticationService, RequestContext } from "@vendure/core"; export declare class CrossStrategiesChecker { private externalAuthService; private configService; constructor(externalAuthService: ExternalAuthenticationService, configService: ConfigService); check(ctx: RequestContext, email: string, againstStrategy: string, forAdmin?: boolean): Promise<boolean>; }