method
authentication_request
v3.1.0 -
Show latest stable
- Class:
ActionController::HttpAuthentication::Token
authentication_request(controller, realm)public
Sets a WWW-Authenticate to let the client know a token is desired.
controller - ActionController::Base instance for the outgoing response. realm - String realm to use in the header.
Returns nothing.