httpx/sig/plugins/basic_auth.rbs
HoneyryderChuck 4f587c5508 renaming authenticationn modules to just auth
* `: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
2023-09-20 17:57:41 +01:00

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