Files
event-qr/dist/auth/jwt.strategy.d.ts
2025-11-29 12:26:58 +01:00

14 lines
523 B
TypeScript

import { Strategy } from 'passport-jwt';
import { ConfigService } from '@nestjs/config';
declare const JwtStrategy_base: new (...args: [opt: import("passport-jwt").StrategyOptionsWithRequest] | [opt: import("passport-jwt").StrategyOptionsWithoutRequest]) => Strategy & {
validate(...args: any[]): unknown;
};
export declare class JwtStrategy extends JwtStrategy_base {
constructor(configService: ConfigService);
validate(payload: any): Promise<{
userId: any;
username: any;
}>;
}
export {};