import { AccessTokenService } from "https://deno.land/x/oauth2_server@0.12.0/services/test_services.ts";
Constructors
new
AccessTokenService(options?: { client: Client; })Properties
client: Client
Methods
getToken(accessToken: string): Promise<AccessToken<Client, User, Scope> | undefined>
Retrieves an existing token by access token.
revokeCode(_code: string): Promise<boolean>
Revokes all tokens generated from an authorization code.