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)
gitlab.com/honeyryderchuck/httpx/wikis/Authentication#basic-authentication
Defined Under Namespace
Modules: InstanceMethods
Class Method Summary collapse
Class Method Details
.load_dependencies(klass) ⇒ Object
11 12 13 14 |
# File 'lib/httpx/plugins/basic_authentication.rb', line 11 def self.load_dependencies(klass) require "base64" klass.plugin(:authentication) end |