httpx/sig/plugins/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

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