UNPKG

@bitwild/rockets-auth

Version:

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

12 lines 650 B
import { RoleModelService, RoleService } from '@concepta/nestjs-role'; import { CanActivate, ExecutionContext } from '@nestjs/common'; import { RocketsAuthSettingsInterface } from '../shared/interfaces/rockets-auth-settings.interface'; export declare class AdminGuard implements CanActivate { private readonly settings; private readonly roleModelService; private readonly roleService; private readonly logger; constructor(settings: RocketsAuthSettingsInterface, roleModelService: RoleModelService, roleService: RoleService); canActivate(context: ExecutionContext): Promise<boolean>; } //# sourceMappingURL=admin.guard.d.ts.map