Exception: Rack::OAuth2::Server::InvalidTokenError

Inherits:
OAuthError
  • Object
show all
Defined in:
lib/rack/oauth2/server/errors.rb

Overview

Access token expired, client cannot refresh and needs new authorization.

Instance Attribute Summary

Attributes inherited from OAuthError

#code

Instance Method Summary collapse

Constructor Details

#initializeInvalidTokenError

Returns a new instance of InvalidTokenError.



69
70
71
# File 'lib/rack/oauth2/server/errors.rb', line 69

def initialize
  super :invalid_token, "The access token is no longer valid."
end