Sha256: 8597224660096b93eda33be93d89f91871455a7c7a2d344bc6899e1042a959a3

Contents?: true

Size: 893 Bytes

Versions: 8

Compression:

Stored size: 893 Bytes

Contents

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

      interface _DigestOptions
        def digest: () -> Digest?
        def digest=: (Digest) -> Digest
        def with_digest: (Digest) -> instance
      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

8 entries across 8 versions & 1 rubygems

Version Path
httpx-0.12.0 sig/plugins/digest_authentication.rbs
httpx-0.11.3 sig/plugins/digest_authentication.rbs
httpx-0.11.2 sig/plugins/digest_authentication.rbs
httpx-0.11.1 sig/plugins/digest_authentication.rbs
httpx-0.11.0 sig/plugins/digest_authentication.rbs
httpx-0.10.2 sig/plugins/digest_authentication.rbs
httpx-0.10.1 sig/plugins/digest_authentication.rbs
httpx-0.10.0 sig/plugins/digest_authentication.rbs