mirror of
https://github.com/HoneyryderChuck/httpx.git
synced 2025-12-05 00:02:12 -05: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
14 lines
293 B
Plaintext
14 lines
293 B
Plaintext
module HTTPX
|
|
module Plugins
|
|
module Authorization
|
|
module InstanceMethods
|
|
def authorization: (string token) -> instance
|
|
|
|
def bearer_auth: (string token) -> instance
|
|
end
|
|
end
|
|
|
|
type sessionAuthorization = Session & Authorization::InstanceMethods
|
|
end
|
|
end
|