instance method
secret_token
Ruby on Rails 4.2.9
Since v3.0.20Signature
secret_token(request)
No documentation comment.
Parameters
-
requestreq
Source
# File actionpack/lib/action_controller/metal/http_authentication.rb, line 266
def secret_token(request)
key_generator = request.env["action_dispatch.key_generator"]
http_auth_salt = request.env["action_dispatch.http_auth_salt"]
key_generator.generate_key(http_auth_salt)
end
Defined in actionpack/lib/action_controller/metal/http_authentication.rb line 266
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActionController::HttpAuthentication::Digest