Class: BasicAndNego::Auth::Base
- Inherits:
-
Object
- Object
- BasicAndNego::Auth::Base
- Includes:
- Responses
- Defined in:
- lib/basic_and_nego/auth/base.rb
Direct Known Subclasses
Instance Attribute Summary collapse
-
#client_name ⇒ Object
readonly
Returns the value of attribute client_name.
-
#headers ⇒ Object
readonly
Returns the value of attribute headers.
-
#response ⇒ Object
readonly
Returns the value of attribute response.
Instance Method Summary collapse
-
#initialize(request, logger, realm, keytab, service) ⇒ Base
constructor
A new instance of Base.
Methods included from Responses
#bad_request, #challenge, #error, #unauthorized
Constructor Details
#initialize(request, logger, realm, keytab, service) ⇒ Base
Returns a new instance of Base.
10 11 12 13 14 15 16 |
# File 'lib/basic_and_nego/auth/base.rb', line 10 def initialize(request, logger, realm, keytab, service) @request = request @logger = logger @realm = realm @keytab = keytab @service = service end |
Instance Attribute Details
#client_name ⇒ Object (readonly)
Returns the value of attribute client_name.
8 9 10 |
# File 'lib/basic_and_nego/auth/base.rb', line 8 def client_name @client_name end |
#headers ⇒ Object (readonly)
Returns the value of attribute headers.
8 9 10 |
# File 'lib/basic_and_nego/auth/base.rb', line 8 def headers @headers end |
#response ⇒ Object (readonly)
Returns the value of attribute response.
8 9 10 |
# File 'lib/basic_and_nego/auth/base.rb', line 8 def response @response end |