Exception: Rack::OAuth2::Server::ExpiredTokenError

Inherits:
OAuthError
  • Object
show all
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

#code

Instance Method Summary collapse

Constructor Details

#initializeExpiredTokenError

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