module HTTPX::Plugins::BasicAuth

  1. lib/httpx/plugins/basic_auth.rb

This plugin adds helper methods to implement HTTP Basic Auth (datatracker.ietf.org/doc/html/rfc7617)

gitlab.com/os85/httpx/wikis/Auth#basic-auth

Methods

Public Class

  1. configure
  2. load_dependencies

Public Class methods

configure(klass)
[show source]
   # File lib/httpx/plugins/basic_auth.rb
16 def configure(klass)
17   klass.plugin(:auth)
18 end
load_dependencies(_klass)
[show source]
   # File lib/httpx/plugins/basic_auth.rb
12 def load_dependencies(_klass)
13   require_relative "auth/basic"
14 end