# File lib/action_controller/http_authentication.rb, line 291 def validate_nonce(request, value, seconds_to_timeout=5*60) return false if value.nil? t = Base64.decode64(value).split(":").first.to_i nonce(t) == value && (t - Time.now.to_i).abs <= seconds_to_timeout end