UNPKG

json-server-auth

Version:

Authentication middleware for JSON Server

6 lines (5 loc) 236 B
export declare const JWT_SECRET_KEY = "json-server-auth-123456"; export declare const JWT_EXPIRES_IN = "1h"; export declare const SALT_LENGTH = 10; export declare const EMAIL_REGEX: RegExp; export declare const MIN_PASSWORD_LENGTH = 4;