Module HTTPAuth
In: lib/httpauth/basic.rb
lib/httpauth/digest.rb
lib/httpauth/exceptions.rb
lib/httpauth/constants.rb

HTTPAuth holds a number of classes and constants to implement HTTP Authentication with. See Basic or Digest for details on how to implement authentication using this library.

For more information see RFC 2617 (www.ietf.org/rfc/rfc2617.txt)

Classes and Modules

Module HTTPAuth::Digest
Class HTTPAuth::Basic
Class HTTPAuth::UnsupportedError
Class HTTPAuth::UnwellformedHeader
Class HTTPAuth::ValidationError

Constants

VERSION = '0.2'
CREDENTIAL_HEADERS = %w{REDIRECT_X_HTTP_AUTHORIZATION X-HTTP-AUTHORIZATION X-HTTP_AUTHORIZATION HTTP_AUTHORIZATION}
SUPPORTED_SCHEMES = { :basic => 'Basic', :digest => 'Digest' }
SUPPORTED_QOPS = ['auth', 'auth-int']
SUPPORTED_ALGORITHMS = ['MD5', 'MD5-sess']
PREFERRED_QOP = 'auth'
PREFERRED_ALGORITHM = 'MD5'

[Validate]