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.4.0/modules/uinv/mod.ts";

Variables

A middleware that will deal the exceptions when called, and set the response time for other middleware in milliseconds as X-Response-Time which can be used for diagnostics and other instrumentation of an application. Utilise the middleware before the "real" processing occurs.

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

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.

模糊查询正则

sso守卫