Class: BasicAndNego::Auth::Base

Inherits:
Object
  • Object
show all
Includes:
Responses
Defined in:
lib/basic_and_nego/auth/base.rb

Direct Known Subclasses

Basic, Negotiate, None, Unsupported

Instance Attribute Summary collapse

Instance Method Summary collapse

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_nameObject (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

#headersObject (readonly)

Returns the value of attribute headers.



8
9
10
# File 'lib/basic_and_nego/auth/base.rb', line 8

def headers
  @headers
end

#responseObject (readonly)

Returns the value of attribute response.



8
9
10
# File 'lib/basic_and_nego/auth/base.rb', line 8

def response
  @response
end