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

x/oauth2_server/resource_server.ts>UserServiceInterface

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

Methods

getAuthenticated(username: string, password: string): Promise<User | undefined>

Retrieves an authenticated user if the username/password combination is correct.