instance method
ha1
Ruby on Rails 4.0.13
Since v2.3.18Signature
ha1(credentials, password)
No documentation comment.
Parameters
-
credentialsreq -
passwordreq
Source
# File actionpack/lib/action_controller/metal/http_authentication.rb, line 217
def ha1(credentials, password)
::Digest::MD5.hexdigest([credentials[:username], credentials[:realm], password].join(':'))
end
Defined in actionpack/lib/action_controller/metal/http_authentication.rb line 217
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActionController::HttpAuthentication::Digest