@hz-9/a5-authn
Version:
Authentication module for the @hz-9/a5-* series of repositories.
15 lines (14 loc) • 798 B
TypeScript
import { Strategy } from 'passport-jwt';
import { A5AuthnJwtPayloadBo, A5AuthnUserPayloadBo } from '../../interfaces/auth';
import { A5AuthnJwtService } from './a5-authn-jwt.service';
import { A5AuthnJwtStrategyConstructorOptions } from './interfaces';
declare const A5AuthnJwtStrategy_base: new (...args: [opt: import("passport-jwt").StrategyOptionsWithRequest] | [opt: import("passport-jwt").StrategyOptionsWithoutRequest]) => Strategy & {
validate(...args: any[]): unknown;
};
export declare class A5AuthnJwtStrategy extends A5AuthnJwtStrategy_base {
private readonly service;
private readonly options;
constructor(options: A5AuthnJwtStrategyConstructorOptions, service: A5AuthnJwtService);
validate(payload: A5AuthnJwtPayloadBo): Promise<A5AuthnUserPayloadBo>;
}
export {};