UNPKG

nest-authify

Version:

Complete authentication and authorization package for NestJS - Monolith and Microservices ready with OAuth, JWT, Redis sessions

7 lines (6 loc) 217 B
export interface ISessionStore { set(key: string, value: any, ttl?: number): Promise<void>; get(key: string): Promise<any>; delete(key: string): Promise<void>; exists(key: string): Promise<boolean>; }