Sha256: 81baa1e67034aa5fa49943999cf0ce99e7b02e5224b95e4fa6e9c58171c7bb5b

Contents?: true

Size: 532 Bytes

Versions: 6

Compression:

Stored size: 532 Bytes

Contents

module Ethon
  module Curls # :nodoc:

    # This module contain available auth types.
    module AuthTypes

      # Return available auth types.
      #
      # @example Return auth types.
      #   Ethon::Curl.auth_types
      #
      # @return [ Hash ] The auth types.
      def auth_types
        {
          :basic =>       0x01,
          :digest =>      0x02,
          :gssnegotiate =>0x04,
          :ntlm =>        0x08,
          :digest_ie =>   0x10,
          :auto =>        0x1f
        }
      end
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
ethon-0.5.7 lib/ethon/curls/auth_types.rb
ethon-0.5.6 lib/ethon/curls/auth_types.rb
ethon-0.5.4 lib/ethon/curls/auth_types.rb
ethon-0.5.3 lib/ethon/curls/auth_types.rb
ethon-0.5.2 lib/ethon/curls/auth_types.rb
ethon-0.5.1 lib/ethon/curls/auth_types.rb