import { OakResourceServer } from "https://deno.land/x/oauth2_server@0.12.0/adapters/oak/resource_server.ts";
Constructors
new
OakResourceServer(options: OakResourceServerOptions<Client, User, Scope>)Properties
private
getAccessToken: (request: OakOAuth2Request<Client, User, Scope>) => Promise<string | null>protected
server: ResourceServer<Client, User, Scope>Methods
authenticate(scope?: Scope | string): Middleware
getTokenForRequest(request: OakOAuth2Request<Client, User, Scope>): Promise<Token<Client, User, Scope>>