UNPKG

nest-authify

Version:

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

9 lines (8 loc) 292 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>; keys(pattern?: string): Promise<string[]>; clear(): Promise<void>; }