UNPKG

nest-authify

Version:

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

8 lines (7 loc) 309 B
export interface IAuthRepository { findUserByUsername(username: string): Promise<any>; findUserById(id: string): Promise<any>; findUserByProviderId(provider: string, providerId: string): Promise<any>; createUser(data: any): Promise<any>; updateUser(id: string, data: any): Promise<any>; }