method

authorization

rails latest stable - Class: ActionController::HttpAuthentication::Basic

Method deprecated or moved

This method is deprecated or moved on the latest stable version. The last existing version (v2.3.8) is shown here.

authorization(request)
public

No documentation available.

# File actionpack/lib/action_controller/http_authentication.rb, line 134
      def authorization(request)
        request.env['HTTP_AUTHORIZATION']   ||
        request.env['X-HTTP_AUTHORIZATION'] ||
        request.env['X_HTTP_AUTHORIZATION'] ||
        request.env['REDIRECT_X_HTTP_AUTHORIZATION']
      end