import { Algorithm } from 'jsonwebtoken'; export interface IOptions { /** * Issuer allowed for the incomings token */ allowedIssuer?: string; /** * Algorithm used in the encription and signature for the tokens */ algorithm: Algorithm; /** * Default expiration time for created token */ expiration_in_minutes?: number; /** * Path for the private key used to sign token */ privateKeyPath?: string; /** * Path for the public key used for validate token */ publicKeyPath: string; }