Sha256: 84a5d2a28c0beb17d21ba8c6648098d111e8325a29de1aa68e2ce7930dabf85a

Contents?: true

Size: 853 Bytes

Versions: 5

Compression:

Stored size: 853 Bytes

Contents

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

      interface _DigestOptions
        def digest: () -> Digest?
        def digest=: (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 = Plugins::sessionAuthentication & Plugins::DigestAuthentication::InstanceMethods
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
httpx-0.15.4 sig/plugins/digest_authentication.rbs
httpx-0.15.3 sig/plugins/digest_authentication.rbs
httpx-0.15.2 sig/plugins/digest_authentication.rbs
httpx-0.15.1 sig/plugins/digest_authentication.rbs
httpx-0.15.0 sig/plugins/digest_authentication.rbs