instance method authorization

Ruby on Rails 2.2.3

Since v2.2.3 Last seen in v2.3.18

Available in: v2.2.3 v2.3.18

Signature

authorization(request)

No documentation comment.

Parameters

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

Defined in actionpack/lib/action_controller/http_authentication.rb line 103 · View on GitHub · Improve this page · Find usages on GitHub

Defined in ActionController::HttpAuthentication::Basic

Type at least 2 characters to search.

↑↓ navigate · open · esc close