Module: HTTPX::Plugins::BasicAuthentication
- Defined in:
- lib/httpx/plugins/basic_authentication.rb
Overview
This plugin adds helper methods to implement HTTP Basic Auth tools.ietf.org/html/rfc7617
Defined Under Namespace
Modules: InstanceMethods
Class Method Summary collapse
Class Method Details
.load_dependencies(klass) ⇒ Object
10 11 12 13 |
# File 'lib/httpx/plugins/basic_authentication.rb', line 10 def self.load_dependencies(klass, *) require "base64" klass.plugin(:authentication) end |