import { AbstractGrant } from "https://deno.land/x/oauth2_server@0.12.0/authorization_server.ts";
Constructors
new
AbstractGrant(options: GrantOptions<Client, User, Scope>)Properties
Scope: ScopeConstructor<Scope>
services: GrantServices<Client, User, Scope>
Methods
acceptedScope(): Promise<Scope | null | undefined>
getAuthenticatedClient(request: OAuth2Request<Client, User, Scope>): Promise<Client>
getClientCredentials(request: OAuth2Request<Client, User, Scope>): Promise<ClientCredentials>
parseScope(scopeText?: string | null): Scope | undefined