Class: DeviseJwtAuth::RefreshTokenController
- Inherits:
-
ApplicationController
- Object
- DeviseController
- ApplicationController
- DeviseJwtAuth::RefreshTokenController
- Defined in:
- app/controllers/devise_jwt_auth/refresh_token_controller.rb
Overview
Controller that handles sending refresh tokens.
Instance Method Summary collapse
Methods inherited from ApplicationController
Instance Method Details
#show ⇒ Object
8 9 10 11 12 13 14 15 |
# File 'app/controllers/devise_jwt_auth/refresh_token_controller.rb', line 8 def show if @resource yield @resource if block_given? render_refresh_token_success else render_refresh_token_error end end |