Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/deno_nest/example/decorator/auth.guard.ts>AuthGuard

Refer to nestjs to realize some common functions for Deno, support hono and oak
Go to Latest
class AuthGuard
implements CanActivate
import { AuthGuard } from "https://deno.land/x/deno_nest@v3.5.2/example/decorator/auth.guard.ts";

Methods

canActivate(context: Context): Promise<boolean>