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

x/oauth2_server/adapters/oak/resource_server.ts>OakOAuth2Request

A standards compliant implementation of an OAuth 2.0 authorization server with PKCE support.
Latest
class OakOAuth2Request
implements OAuth2Request<Client, User, Scope>
Re-export
import { OakOAuth2Request } from "https://deno.land/x/oauth2_server@0.12.0/adapters/oak/resource_server.ts";

Constructors

new
OakOAuth2Request(context: Context)

Type Parameters

Client extends ClientInterface
User
Scope extends ScopeInterface

Properties

private
optional
_body: Promise<URLSearchParams>
private
context: Context
optional
authorizationCode: AuthorizationCode<Client, User, Scope>
optional
authorizedScope: Scope
optional
authorizeParameters: AuthorizeParameters
readonly
body: Promise<URLSearchParams>
readonly
cookies: Cookies
readonly
headers: Headers
readonly
method: string
optional
token: Token<Client, User, Scope>
readonly
url: URL
optional
user: User