import { OakResourceServer } from "https://deno.land/x/oauth2_server@0.12.0/adapters/oak/authorization_server.ts";
Constructors
new
OakResourceServer(options: OakResourceServerOptions<Client, User, Scope>)Methods
authenticate(scope?: Scope | string): Middleware
getTokenForContext(context: Context): Promise<Token<Client, User, Scope>>
getTokenForRequest(request: OakOAuth2Request<Client, User, Scope>): Promise<Token<Client, User, Scope>>