Exception: Rack::OAuth2::Server::InvalidTokenError
- Inherits:
-
OAuthError
- Object
- StandardError
- OAuthError
- Rack::OAuth2::Server::InvalidTokenError
- 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
Instance Method Summary collapse
-
#initialize ⇒ InvalidTokenError
constructor
A new instance of InvalidTokenError.
Constructor Details
#initialize ⇒ InvalidTokenError
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 |