class Rack::OAuth2::Server::InvalidGrantError
The provided access grant is invalid, expired, or revoked (e.g. invalid assertion, expired authorization token, bad end-user password credentials, or mismatching authorization code and redirection URI).
Public Class Methods
new(message = nil)
click to toggle source
Calls superclass method
Rack::OAuth2::Server::OAuthError::new
# File lib/rack/oauth2/server/errors.rb, line 45 def initialize(message = nil) super :invalid_grant, message || "This access grant is no longer valid." end