instance method
authenticate_with_http_token
Ruby on Rails 4.2.9
Since v3.0.20Signature
authenticate_with_http_token(&login_procedure)
No documentation comment.
Parameters
-
login_procedureblock
Source
# File actionpack/lib/action_controller/metal/http_authentication.rb, line 413
def authenticate_with_http_token(&login_procedure)
Token.authenticate(self, &login_procedure)
end
Defined in actionpack/lib/action_controller/metal/http_authentication.rb line 413
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActionController::HttpAuthentication::Token::ControllerMethods