import { type TokenServiceInterface } from "https://deno.land/x/oauth2_server@0.12.0/authorization_server.ts";
Methods
Generates an access token.
Generates a refresh token.
Gets the date that a new access token would expire at.
Gets the date that a new refresh token would expire at.
Retrieves an existing token by access token.
getRefreshToken(refreshToken: string): Promise<RefreshToken<Client, User, Scope> | undefined>
Retrieves an existing token by refresh token.
Revokes a token. Resolves true if a token was revoked or invalid.