method
encode_credentials
encode_credentials(user_name, password)
public
Hide source
# File actionpack/lib/action_controller/http_authentication.rb, line 145 def encode_credentials(user_name, password) "Basic #{ActiveSupport::Base64.encode64("#{user_name}:#{password}")}" end