Method: ActionController::HttpAuthentication::Digest#secret_token

Defined in:
actionpack/lib/action_controller/metal/http_authentication.rb

#secret_token(request) ⇒ Object



288
289
290
291
292
# File 'actionpack/lib/action_controller/metal/http_authentication.rb', line 288

def secret_token(request)
  key_generator  = request.key_generator
  http_auth_salt = request.http_auth_salt
  key_generator.generate_key(http_auth_salt)
end