mirror of
https://github.com/HoneyryderChuck/httpx.git
synced 2025-12-15 00:01:02 -05:00
21 lines
416 B
Plaintext
21 lines
416 B
Plaintext
module HTTPX
|
|
module Plugins
|
|
module Authentication
|
|
class Ntlm
|
|
@user: String
|
|
@password: String
|
|
@domain: String?
|
|
|
|
def can_authenticate?: (String? authenticate) -> boolish
|
|
|
|
def authenticate: (Request request, String authenticate) -> String
|
|
|
|
private
|
|
|
|
def initialize: (string user, string password, ?domain: String?) -> void
|
|
|
|
end
|
|
end
|
|
end
|
|
end
|