Exception: Rack::OAuth2::Server::ExpiredTokenError
- Inherits:
-
OAuthError
- Object
- StandardError
- OAuthError
- Rack::OAuth2::Server::ExpiredTokenError
- Defined in:
- lib/rack/oauth2/server/errors.rb
Overview
Access token expired, client expected to request new one using refresh token.
Instance Attribute Summary
Attributes inherited from OAuthError
Instance Method Summary collapse
-
#initialize ⇒ ExpiredTokenError
constructor
A new instance of ExpiredTokenError.
Constructor Details
#initialize ⇒ ExpiredTokenError
Returns a new instance of ExpiredTokenError.
27 28 29 |
# File 'lib/rack/oauth2/server/errors.rb', line 27 def initialize super :expired_token, "The access token has expired." end |