alkocats/http-ts

View on GitHub
src/authenticator/JwtAuthenticatorOptions.ts

Summary

Maintainability
A
0 mins
Test Coverage
import { SimpleRepository } from '../repository';

export interface JwtAuthenticatorOptions<T> {
    repository: SimpleRepository<T[]>;
    identificationKey: keyof T;
    passwordKey: keyof T;
    secret: string;
    expiresIn: number;
}