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

x/oak_nest/example/guards/auth2.guard.ts>AuthGuard2

Refer to nestjs to realize some common functions for Deno
Go to Latest
class AuthGuard2
implements CanActivate
import { AuthGuard2 } from "https://deno.land/x/oak_nest@v1.13.15/example/guards/auth2.guard.ts";

Methods

canActivate(_context: Context): Promise<boolean>