UNPKG

keystone-6-oauth

Version:

Keystone6 Plugin that enables social logins such as Google, Twitter, Github, Facebook and others.

9 lines (8 loc) 276 B
import { AuthTokenRequestErrorCode } from '../types'; export declare function findMatchingIdentity(identityField: string, identity: string | number, queryAPI: any): Promise<{ success: false; code: AuthTokenRequestErrorCode; } | { success: true; item: any; }>;