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

x/deno_nest/modules/uinv/mod.ts

Refer to nestjs to realize some common functions for Deno, support hono and oak
Go to Latest
import * as denoNest from "https://deno.land/x/deno_nest@v3.5.1/modules/uinv/mod.ts";

Variables

An ExceptionFilter that will deal the exceptions when called.

如果不允许外部用户访问,则用此方法跳过限制。 如果允许外部用户访问,则用此方法保护内部接口。

Functions

auth守卫

单位是ms

清理SSO的缓存,配合一个logout接口使用

单位是秒

根据host获取一级域名

The difference between LogInterceptor and LogMiddleware is that the latter can capture 404 errors.

The difference between LogInterceptor and LogMiddleware is that the latter can capture 404 errors, and it include the guard time.

模糊查询正则

sso守卫