Module: HTTPX::Plugins::Auth

Defined in:
lib/httpx/plugins/auth.rb

Overview

This plugin adds a shim authorization method to the session, which will fill the HTTP Authorization header, and another, bearer_auth, which fill the “Bearer ” prefix in its value.

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

Defined Under Namespace

Modules: AuthRetries, InstanceMethods, OptionsMethods, RequestMethods

Class Method Summary collapse

Class Method Details

.subpluginsObject



13
14
15
16
17
# File 'lib/httpx/plugins/auth.rb', line 13

def self.subplugins
  {
    retries: AuthRetries,
  }
end