@central-credit/app
Version:
Application Central Credit
12 lines (11 loc) • 507 B
TypeScript
/// <reference types="express" />
import { Request } from '@loopback/rest';
import { AuthenticationStrategy, TokenService } from '@loopback/authentication';
import { UserProfile } from '@loopback/security';
export declare class JWTAuthenticationStrategy implements AuthenticationStrategy {
tokenService: TokenService;
name: string;
constructor(tokenService: TokenService);
authenticate(request: Request): Promise<UserProfile | undefined>;
extractCredentials(request: Request): string;
}