mirror of
https://github.com/HoneyryderChuck/httpx.git
synced 2025-10-05 00:02:38 -04:00
* `:authentication` plugin becomes `:auth` * `authentication` helper becomes `authorization` * `:basic_authentication` plugin becomes `:basic_auth` * `:basic_authentication` helper is removed * `:digest_authentication` plugin becomes `:digest_auth` * `:digest_authentication` helper is removed * `:ntlm_authentication` plugin becomes `:ntlm_auth` * `:ntlm_authentication` helper is removed
16 lines
374 B
Plaintext
16 lines
374 B
Plaintext
module HTTPX
|
|
module Plugins
|
|
module BasicAuth
|
|
def self.load_dependencies: (singleton(Session)) -> void
|
|
|
|
def self.configure: (singleton(Session)) -> void
|
|
|
|
module InstanceMethods
|
|
def basic_auth: (string user, string password) -> instance
|
|
end
|
|
end
|
|
|
|
type sessionBasicAuth = sessionAuthorization & BasicAuth::InstanceMethods
|
|
end
|
|
end
|