Methods

Ethon::Curls::AuthTypes

This module contain available auth types.

Public Instance Methods

auth_types() click to toggle source

Return available auth types.

@example Return auth types.

Ethon::Curl.auth_types

@return [ Hash ] The auth types.

# File lib/ethon/curls/auth_types.rb, line 13
def auth_types
  {
    :basic        => 0x01,
    :digest       => 0x02,
    :gssnegotiate => 0x04,
    :ntlm         => 0x08,
    :digest_ie    => 0x10,
    :auto         => 0x1f
  }
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.