UNPKG

@wepublish/api

Version:
10 lines (9 loc) 476 B
import { Strategy } from 'passport-http-bearer'; import { AuthenticationService } from './authentication.service'; declare const SessionStrategy_base: new (...args: any[]) => Strategy<import("passport-http-bearer").VerifyFunctions>; export declare class SessionStrategy extends SessionStrategy_base { private authService; constructor(authService: AuthenticationService); validate(token: string): Promise<false | import("./auth-session").AuthSession>; } export {};