Skip to main content
The Deno 2 Release Candidate is here
Learn more
Module

x/oauth2_server/test_deps.ts>assert

A standards compliant implementation of an OAuth 2.0 authorization server with PKCE support.
Latest
function assert
import { assert } from "https://deno.land/x/oauth2_server@0.12.0/test_deps.ts";

Make an assertion, error will be thrown if expr does not have truthy value.

Parameters

expr: unknown
optional
msg = [UNSUPPORTED]

Returns

asserts expr