UNPKG

@bitwild/rockets-auth

Version:

Rockets Auth - Complete authentication and authorization solution for NestJS with JWT, OAuth, OTP, role-based access control, and more

26 lines 939 B
import { VerifyTokenService } from '@concepta/nestjs-authentication'; import { UserModelService } from '@concepta/nestjs-user'; import { RoleService, RoleModelService } from '@concepta/nestjs-role'; export declare class RocketsJwtAuthProvider { private readonly verifyTokenService; private readonly userModelService; private readonly roleService; private readonly roleModelService; private readonly logger; constructor(verifyTokenService: VerifyTokenService, userModelService: UserModelService, roleService: RoleService, roleModelService: RoleModelService); validateToken(token: string): Promise<{ id: string; sub: string; email: string; userRoles: { role: { name: string; }; }[]; claims: { sub?: string; roles?: string[]; }; }>; } //# sourceMappingURL=rockets-jwt-auth.provider.d.ts.map