@qelos/auth
Version:
Express Passport authentication service
10 lines (9 loc) • 544 B
TypeScript
import { AuthRequest } from '../../../types';
import { DecryptedSourceAuthentication } from '../../services/integration-source';
type AuthWithLinkedinRequest = AuthRequest & {
source: DecryptedSourceAuthentication;
};
export declare function getLinkedinSource(req: AuthWithLinkedinRequest, res: any, next: any): Promise<void>;
export declare function loginWithLinkedIn(req: AuthWithLinkedinRequest, res: any): Promise<void>;
export declare function authCallbackFromLinkedIn(req: AuthWithLinkedinRequest, res: any): Promise<any>;
export {};