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

x/oauth2_server/test_deps.ts>Stub

A standards compliant implementation of an OAuth 2.0 authorization server with PKCE support.
Latest
interface Stub
implements Spy<Self, Args, Return>
import { type Stub } from "https://deno.land/x/oauth2_server@0.12.0/test_deps.ts";

An instance method replacement that records all calls made to it.

Type Parameters

optional
Self = any
optional
Args extends unknown[] = any[]
optional
Return = any

Properties

fake: (this: Self, ...args: Args) => Return

The function that is used instead of the original.