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

x/oauth2_server/resource_server.ts>ClientServiceInterface

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

Methods

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

Retrieves a client.

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

Retrieves an authenticted client.

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

Retrieves a user associated with a client.