Sha256: 16afc9c1ada4262a7c262746e5fc2c55597209bda0bf6b512edcc0968547fdf6

Contents?: true

Size: 794 Bytes

Versions: 20

Compression:

Stored size: 794 Bytes

Contents

module HTTPX
  module Plugins
    module DigestAuthentication
      DigestError: singleton(Error)

      interface _DigestOptions
        def digest: () -> Digest?
      end

      def self.extra_options: (Options) -> (Options & _DigestOptions)

      def self.load_dependencies: (*untyped) -> void

      module InstanceMethods
        def digest_authentication: (string user, string password) -> instance
      end

      class Digest
        def generate_header: (Request, Response, ?bool?) -> String

        private

        def initialize: (string user, string password) -> untyped
        def make_cnonce: () -> String
        def next_nonce: () -> Integer
      end
    end

    type sessionDigestAuthentication = sessionAuthentication & DigestAuthentication::InstanceMethods
  end
end

Version data entries

20 entries across 20 versions & 1 rubygems

Version Path
httpx-0.19.8 sig/plugins/digest_authentication.rbs
httpx-0.19.7 sig/plugins/digest_authentication.rbs
httpx-0.19.6 sig/plugins/digest_authentication.rbs
httpx-0.19.5 sig/plugins/digest_authentication.rbs
httpx-0.19.4 sig/plugins/digest_authentication.rbs
httpx-0.19.3 sig/plugins/digest_authentication.rbs
httpx-0.19.2 sig/plugins/digest_authentication.rbs
httpx-0.19.1 sig/plugins/digest_authentication.rbs
httpx-0.19.0 sig/plugins/digest_authentication.rbs
httpx-0.18.7 sig/plugins/digest_authentication.rbs
httpx-0.18.6 sig/plugins/digest_authentication.rbs
httpx-0.18.5 sig/plugins/digest_authentication.rbs
httpx-0.18.4 sig/plugins/digest_authentication.rbs
httpx-0.18.3 sig/plugins/digest_authentication.rbs
httpx-0.18.2 sig/plugins/digest_authentication.rbs
httpx-0.18.1 sig/plugins/digest_authentication.rbs
httpx-0.18.0 sig/plugins/digest_authentication.rbs
httpx-0.17.0 sig/plugins/digest_authentication.rbs
httpx-0.16.1 sig/plugins/digest_authentication.rbs
httpx-0.16.0 sig/plugins/digest_authentication.rbs