1 | import { CanActivate, ExecutionContext } from '@nestjs/common';
|
2 | import { Reflector } from '@nestjs/core';
|
3 | import { Observable } from 'rxjs';
|
4 | import { Configuration } from '../index';
|
5 | export declare const Roles: (...roles: string[]) => (target: object, key?: any, descriptor?: any) => any;
|
6 | export declare const AllowAnonymous: () => (target: object, key?: any, descriptor?: any) => any;
|
7 | export declare const Task: () => (target: object, key?: any, descriptor?: any) => any;
|
8 | export declare const Cron: () => (target: object, key?: any, descriptor?: any) => any;
|
9 | export declare const System: () => (target: object, key?: any, descriptor?: any) => any;
|
10 | export declare class AuthGuard implements CanActivate {
|
11 | private readonly reflector;
|
12 | private readonly configurationProvider;
|
13 | private logger;
|
14 | constructor(reflector: Reflector, configurationProvider: Configuration);
|
15 | canActivate(context: ExecutionContext): boolean | Promise<boolean> | Observable<boolean>;
|
16 | }
|