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

x/oauth2_server/test_context.ts>fakeResourceRequest

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

Parameters

bearerToken: string
optional
body:
| string
| string[][]
| Record<string, string>