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

x/deno_nest/example/auth/src/guards/unauthorized.guard.ts>UnauthorizedGuard

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

Methods

canActivate(_context: Context): Promise<boolean>