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

x/deno_nest/modules/uinv/src/guards/mod.ts>getClearUserSSOCacheFunc

Refer to nestjs to realize some common functions for Deno, support hono and oak
Go to Latest
function getClearUserSSOCacheFunc
import { getClearUserSSOCacheFunc } from "https://deno.land/x/deno_nest@v3.7.1/modules/uinv/src/guards/mod.ts";

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

Parameters

optional
options: Pick<SSOGuardOptions, "ssoApi" | "ssoUserInfoUrl" | "cacheStore"> = [UNSUPPORTED]