nest-phylax
Version:
Security library for NestJS
18 lines (17 loc) • 470 B
TypeScript
export * from './jwt.util';
export * from './jwt.auth.module';
export * from './guards';
export * from './types';
export * from './services';
export * from './controllers';
export declare class ClaimsDto {
sub: string | number;
jti?: string;
role: string;
constructor({ id, role, jti, }: {
id: string | number;
role: string;
jti?: string;
});
}
export type ClaimsKey = 'sub' | 'role' | 'jti' | 'exp' | 'iat';