sig/plugins/ntlm_authentication.rbs in httpx-0.19.8 vs sig/plugins/ntlm_authentication.rbs in httpx-0.20.0

- old
+ new

@@ -1,26 +1,21 @@ module HTTPX module Plugins - module NTLMAuthentication + module NTLMAuth interface _NTLMOptions - def ntlm: () -> NTLMParams? + def ntlm: () -> Authentication::Ntlm? end def self.extra_options: (Options) -> (Options & _NTLMOptions) def self.load_dependencies: (*untyped) -> void module InstanceMethods def ntlm_authentication: (string user, string password, ?string? domain) -> instance end - class NTLMParams - attr_reader user: String - attr_reader password: String - attr_reader domain: String? - end end - type sessionNTLMAuthentication = sessionAuthentication & NTLMAuthentication::InstanceMethods + type sessionNTLMAuth = sessionAuthentication & NTLMAuth::InstanceMethods end end