Class: DigestAuth (WEBrick::HTTPAuth)

Overview
Module Structure
Class Hierarchy
Constants
DigestAuth::AuthScheme
DigestAuth::OpaqueInfo
DigestAuth::MustParams
DigestAuth::MustParamsAuth
Class Methods
DigestAuth.make_passwd / 3
Instance Attributes
DigestAuth#algorithm [R]
DigestAuth#qop [R]
Instance Methods
DigestAuth#initialize / 2
DigestAuth#authenticate / 2
DigestAuth#challenge / 3
DigestAuth#_authenticate / 2
DigestAuth#split_param_value / 1
DigestAuth#generate_next_nonce / 1
DigestAuth#check_nonce / 2
DigestAuth#generate_opaque / 1
DigestAuth#check_opaque / 3
DigestAuth#check_uri / 2
DigestAuth#hexdigest / 1
is a submodule of
module: HTTPAuth ( WEBrick )
has modular siblings
module: Authenticator   
module: ProxyAuthenticator   
class: BasicAuth   
class: ProxyBasicAuth   
class: ProxyDigestAuth   
class: Htdigest   
class: Htgroup   
class: Htpasswd   
module: UserDB   
includes
  Authenticator ( WEBrick::HTTPAuth )
inherits from
  Object ( Builtin-Module )
is inherited by
  ProxyDigestAuth ( WEBrick::HTTPAuth )
has class siblings
  Exception ( Builtin-Module )
  String ( Builtin-Module )
  SimpleServer ( WEBrick )
  Daemon ( WEBrick )
  GenericServer ( WEBrick )
  MountTable ( WEBrick::HTTPServer )
  AbstractServlet ( WEBrick::HTTPServlet )
  HTTPRequest ( WEBrick )
  HTTPResponse ( WEBrick )
  HTTPVersion ( WEBrick )
  BasicAuth ( WEBrick::HTTPAuth )
  Htdigest ( WEBrick::HTTPAuth )
  Htgroup ( WEBrick::HTTPAuth )
  Htpasswd ( WEBrick::HTTPAuth )
  CGI ( WEBrick )
  Socket ( WEBrick::CGI )
  Cookie ( WEBrick )
  BasicLog ( WEBrick )
has properties
constant: AuthScheme   
constant: OpaqueInfo   
attribute: algorithm [R]   
attribute: qop [R]   
class method: make_passwd / 3   
method: initialize / 2   
method: authenticate / 2   
method: challenge / 3   
constant: MustParams   
constant: MustParamsAuth   
method: _authenticate / 2   
method: split_param_value / 1   
method: generate_next_nonce / 1   
method: check_nonce / 2   
method: generate_opaque / 1   
method: check_opaque / 3   
method: check_uri / 2   
method: hexdigest / 1   
is defined at
#22 in webrick/httpauth/digestauth.rb  

Overview

Module Structure

  module: <Toplevel Module>
  module: <Built-in Module>
class: Exception     
class: String     
  module: WEBrick
  class: SimpleServer
  class: Daemon
  class: GenericServer
  class: HTTPServer
class: MountTable     
  module: HTTPServlet
class: AbstractServlet     
  class: HTTPRequest
  class: HTTPResponse
  class: HTTPVersion
  module: HTTPAuth
module: Authenticator     
module: ProxyAuthenticator     
class: BasicAuth     
class: ProxyBasicAuth     
class: DigestAuth     
class: ProxyDigestAuth     
class: Htdigest     
class: Htgroup     
class: Htpasswd     
module: UserDB     
  class: CGI
class: Socket     
  class: Cookie
  class: BasicLog

Class Hierarchy

Object ( Builtin-Module )
Exception ( Builtin-Module )
String ( Builtin-Module )
SimpleServer ( WEBrick )
Daemon ( WEBrick )
GenericServer ( WEBrick )
MountTable ( WEBrick::HTTPServer )
AbstractServlet ( WEBrick::HTTPServlet )
HTTPRequest ( WEBrick )
HTTPResponse ( WEBrick )
HTTPVersion ( WEBrick )
BasicAuth ( WEBrick::HTTPAuth )
  ProxyBasicAuth     
DigestAuth ( WEBrick::HTTPAuth )
includes
  Authenticator ( WEBrick::HTTPAuth )
has properties
constant: AuthScheme   
constant: OpaqueInfo   
attribute: algorithm [R]   
attribute: qop [R]   
class method: make_passwd / 3   
method: initialize / 2   
method: authenticate / 2   
method: challenge / 3   
constant: MustParams   
constant: MustParamsAuth   
method: _authenticate / 2   
method: split_param_value / 1   
method: generate_next_nonce / 1   
method: check_nonce / 2   
method: generate_opaque / 1   
method: check_opaque / 3   
method: check_uri / 2   
method: hexdigest / 1   
  ProxyDigestAuth     
Htdigest ( WEBrick::HTTPAuth )
Htgroup ( WEBrick::HTTPAuth )
Htpasswd ( WEBrick::HTTPAuth )
CGI ( WEBrick )
Socket ( WEBrick::CGI )
Cookie ( WEBrick )
BasicLog ( WEBrick )

Constants

DigestAuth::AuthScheme

#25 in webrick/httpauth/digestauth.rb

AuthScheme = "Digest"   

DigestAuth::OpaqueInfo

#26 in webrick/httpauth/digestauth.rb

OpaqueInfo = Struct.new(:time, :nonce, :nc)   

DigestAuth::MustParams

#99 in webrick/httpauth/digestauth.rb

MustParams = ['username','realm','nonce','uri','response']   

DigestAuth::MustParamsAuth

#100 in webrick/httpauth/digestauth.rb

MustParamsAuth = ['cnonce','nc']   

Class Methods

DigestAuth.make_passwd / 3

#29 in webrick/httpauth/digestauth.rb

make_passwd ( realm ,
  user ,
  pass )

Instance Attributes

DigestAuth#algorithm [R]

#27 in webrick/httpauth/digestauth.rb

DigestAuth#qop [R]

#27 in webrick/httpauth/digestauth.rb

Instance Methods

DigestAuth#initialize / 2

#34 in webrick/httpauth/digestauth.rb

initialize ( config ,
  default=Config::DigestAuth )

DigestAuth#authenticate / 2

#65 in webrick/httpauth/digestauth.rb

authenticate ( req ,
  res )

DigestAuth#challenge / 3

#75 in webrick/httpauth/digestauth.rb

challenge ( req ,
  res ,
  stale=false )

DigestAuth#_authenticate / 2

#102 in webrick/httpauth/digestauth.rb

_authenticate ( req ,
  res )

DigestAuth#split_param_value / 1

#230 in webrick/httpauth/digestauth.rb

split_param_value ( string )

DigestAuth#generate_next_nonce / 1

#253 in webrick/httpauth/digestauth.rb

generate_next_nonce ( req )

DigestAuth#check_nonce / 2

#260 in webrick/httpauth/digestauth.rb

check_nonce ( req ,
  auth_req )

DigestAuth#generate_opaque / 1

#286 in webrick/httpauth/digestauth.rb

generate_opaque ( req )

DigestAuth#check_opaque / 3

#303 in webrick/httpauth/digestauth.rb

check_opaque ( opaque_struct ,
  req ,
  auth_req )

DigestAuth#check_uri / 2

#319 in webrick/httpauth/digestauth.rb

check_uri ( req ,
  auth_req )

DigestAuth#hexdigest / 1

#330 in webrick/httpauth/digestauth.rb

hexdigest ( *args )