@shadow-dev/core
Version:
A modular core framework for Discord bot development, providing commands, buttons, menus, middleware, and more.
9 lines (8 loc) • 392 B
TypeScript
import { CanActivate, ExecutionContext } from "@nestjs/common";
import { Observable } from "rxjs";
import { TokenService } from "../services/token.service";
export declare class JwtAuthGuard implements CanActivate {
private readonly tokenService;
constructor(tokenService: TokenService);
canActivate(context: ExecutionContext): boolean | Promise<boolean> | Observable<boolean>;
}