Method: ActionController::HttpAuthentication::Digest#authorization

Defined in:
lib/action_controller/http_authentication.rb

#authorization(request) ⇒ Object



179
180
181
182
183
184
# File 'lib/action_controller/http_authentication.rb', line 179

def authorization(request)
  request.env['HTTP_AUTHORIZATION']   ||
  request.env['X-HTTP_AUTHORIZATION'] ||
  request.env['X_HTTP_AUTHORIZATION'] ||
  request.env['REDIRECT_X_HTTP_AUTHORIZATION']
end