instance method
opaque
Ruby on Rails 8.0.4
Since v2.3.18Signature
opaque(secret_key)
Opaque based on digest of secret key
Parameters
-
secret_keyreq
Source
# File actionpack/lib/action_controller/metal/http_authentication.rb, line 348
def opaque(secret_key)
OpenSSL::Digest::MD5.hexdigest(secret_key)
end
Defined in actionpack/lib/action_controller/metal/http_authentication.rb line 348
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActionController::HttpAuthentication::Digest