Module: WEBrick::HTTPAuth::Authenticator

Included in:
BasicAuth, DigestAuth
Defined in:
lib/rubypitaya/app-template/vendor/bundle/ruby/3.1.0/gems/webrick-1.7.0/lib/webrick/httpauth/authenticator.rb

Overview

Module providing generic support for both Digest and Basic authentication schemes.

Constant Summary collapse

RequestField =

:nodoc:

"Authorization"
ResponseField =

:nodoc:

"WWW-Authenticate"
ResponseInfoField =

:nodoc:

"Authentication-Info"
AuthException =

:nodoc:

HTTPStatus::Unauthorized
AuthScheme =

Method of authentication, must be overridden by the including class

nil

Instance Attribute Summary collapse

Instance Attribute Details

#loggerObject (readonly)

The logger for this authenticator



43
44
45
# File 'lib/rubypitaya/app-template/vendor/bundle/ruby/3.1.0/gems/webrick-1.7.0/lib/webrick/httpauth/authenticator.rb', line 43

def logger
  @logger
end

#realmObject (readonly)

The realm this authenticator covers



33
34
35
# File 'lib/rubypitaya/app-template/vendor/bundle/ruby/3.1.0/gems/webrick-1.7.0/lib/webrick/httpauth/authenticator.rb', line 33

def realm
  @realm
end

#userdbObject (readonly)

The user database for this authenticator



38
39
40
# File 'lib/rubypitaya/app-template/vendor/bundle/ruby/3.1.0/gems/webrick-1.7.0/lib/webrick/httpauth/authenticator.rb', line 38

def userdb
  @userdb
end