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

x/oauth2_server/authorization_server.ts>OAuth2Request

A standards compliant implementation of an OAuth 2.0 authorization server with PKCE support.
Latest
interface OAuth2Request
Re-export
import { type OAuth2Request } from "https://deno.land/x/oauth2_server@0.12.0/authorization_server.ts";

Type Parameters

Client extends ClientInterface
User
Scope extends ScopeInterface

Properties

url: URL
headers: Headers
method: string
body: Promise<URLSearchParams>
optional
token: Token<Client, User, Scope> | null
optional
accessToken: string | null
optional
authorizationCode: AuthorizationCode<Client, User, Scope> | null
optional
authorizeParameters: AuthorizeParameters
optional
authorizedScope: Scope
optional
redirectUrl: URL
optional
user: User
optional
acceptedScope: Scope
optional
requestedScope: Scope