Sha256: 658efdfb7c0175c03529a9892a3748456521f4608d787ca2a356bc70d5177fd2

Contents?: true

Size: 847 Bytes

Versions: 9

Compression:

Stored size: 847 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::Authentication::InstanceMethods
  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
httpx-0.14.5 sig/plugins/digest_authentication.rbs
httpx-0.14.4 sig/plugins/digest_authentication.rbs
httpx-0.14.3 sig/plugins/digest_authentication.rbs
httpx-0.14.2 sig/plugins/digest_authentication.rbs
httpx-0.14.1 sig/plugins/digest_authentication.rbs
httpx-0.14.0 sig/plugins/digest_authentication.rbs
httpx-0.13.2 sig/plugins/digest_authentication.rbs
httpx-0.13.1 sig/plugins/digest_authentication.rbs
httpx-0.13.0 sig/plugins/digest_authentication.rbs