Method: ActionController::HttpAuthentication::Basic#user_name_and_password

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

#user_name_and_password(request) ⇒ Object



132
133
134
# File 'lib/action_controller/metal/http_authentication.rb', line 132

def user_name_and_password(request)
  decode_credentials(request).split(/:/, 2)
end