Method: ActionController::HttpAuthentication::Token::ControllerMethods#request_http_token_authentication
- Defined in:
- lib/action_controller/metal/http_authentication.rb
#request_http_token_authentication(realm = "Application", message = nil) ⇒ Object
Render an HTTP header requesting the client to send a Bearer token for authentication.
452 453 454 |
# File 'lib/action_controller/metal/http_authentication.rb', line 452 def request_http_token_authentication(realm = "Application", = nil) Token.authentication_request(self, realm, ) end |