Skip to main content
The Deno 2 Release Candidate is here
Learn more
Module

x/oauth2_server/authorization_server.ts>InvalidGrantError

A standards compliant implementation of an OAuth 2.0 authorization server with PKCE support.
Latest
class InvalidGrantError
extends OAuth2Error
import { InvalidGrantError } from "https://deno.land/x/oauth2_server@0.12.0/authorization_server.ts";

The provided authorization grant or refresh token is invalid, expired, revoked, does not match the redirection URI used in the authorization request, or was issued to another client.

Constructors

new
InvalidGrantError(message?: string, options?: ErrorOptions)