import { type AuthorizationCodeServiceInterface } from "https://deno.land/x/oauth2_server@0.12.0/authorization_server.ts";
Methods
Generates an authorization code.
Gets the date that a new authorization code would expire at.
get(code: string): Promise<AuthorizationCode<Client, User, Scope> | void>
Retrieves an existing authorization code.
save(authorizationCode: AuthorizationCode<Client, User, Scope>): Promise<AuthorizationCode<Client, User, Scope>>
Saves an authorization code.
revoke(authorizationCode: AuthorizationCode<Client, User, Scope> | string): Promise<boolean>
Revokes an authorization code.