Class: Rswag::Ui::BasicAuth Private
- Inherits:
-
Rack::Auth::Basic
- Object
- Rack::Auth::Basic
- Rswag::Ui::BasicAuth
- Defined in:
- lib/rswag/ui/basic_auth.rb
Overview
This class is part of a private API. You should avoid using this class if possible, as it may be removed or be changed in the future.
Extend Rack HTTP Basic Authentication, as per RFC 2617.
Instance Method Summary collapse
- #call(env) ⇒ Object private
Instance Method Details
#call(env) ⇒ Object
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
11 12 13 14 15 |
# File 'lib/rswag/ui/basic_auth.rb', line 11 def call(env) return @app.call(env) unless env_matching_path(env) super(env) end |