httpx/sig/plugins/ntlm_authentication.rbs
2021-05-27 19:11:15 +01:00

28 lines
713 B
Plaintext

module HTTPX
module Plugins
module NTLMAuthentication
interface _NTLMOptions
def ntlm: () -> NTLMParams?
def ntlm=: (NTLMParams) -> NTLMParams
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 = Plugins::sessionAuthentication & Plugins::NTLMAuthentication::InstanceMethods
end
end