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

x/oauth2_server/authorization_server.ts>AbstractClientService

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

Methods

abstract
get(clientId: string): Promise<Client | undefined>

Retrieves a client.

abstract
getAuthenticated(clientId: string, clientSecret?: string): Promise<Client | undefined>

Retrieves an authenticated client.

getUser(_client: Client | string): Promise<User | undefined>

Retrieves a user associated with a client.