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

x/oauth2_server/adapters/oak/deps.ts

A standards compliant implementation of an OAuth 2.0 authorization server with PKCE support.
Latest
import * as oauth2Server from "https://deno.land/x/oauth2_server@0.12.0/adapters/oak/deps.ts";

Classes

Provides context about the current request and response to middleware functions, and the current instance being processed is the first argument provided a Middleware function.

An interface which allows setting and accessing cookies related to both the current request and response. Each Context has a property .cookies which is an instance of this class.

An interface which provides information about the current request. The instance related to the current request is available on the Context's .request property.

An interface to control what response will be sent when the middleware finishes processing the request.

Interfaces

Middleware are functions which are chained together to deal with requests.

Type Aliases

The tagged type for "form" bodies.