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

x/oauth2_server/test_deps.ts>FakeTime.restoreFor

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

Restores real time temporarily until callback returns and resolves.

Parameters

callback: (...args: any[]) => Promise<T> | T
...args: any[]

Returns

Promise<T>