import { AuthorizationCodeService } from "https://deno.land/x/oauth2_server@0.12.0/services/test_services.ts";
Constructors
new
AuthorizationCodeService(options?: { client: Client; })Properties
client: Client
Methods
get(code: string): Promise<AuthorizationCode<Client, User, Scope> | undefined>
Retrieves an existing authorization code.
revoke(_authorizationCode: AuthorizationCode<Client, User, Scope>): Promise<boolean>
Revokes an authorization code.
save(authorizationCode: AuthorizationCode<Client, User, Scope>): Promise<AuthorizationCode<Client, User, Scope>>
Saves an authorization code.