Class: Rack::Auth::AbstractHandler
- Inherits:
 - 
      Object
      
        
- Object
 - Rack::Auth::AbstractHandler
 
 - Defined in:
 - rack/rack/auth/abstract/handler.rb
 
Overview
Rack::Auth::AbstractHandler implements common authentication functionality.
realm should be set for all handlers.
Direct Known Subclasses
Instance Attribute Summary (collapse)
- 
  
    
      - (void) realm 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Returns the value of attribute realm.
 
Instance Method Summary (collapse)
- 
  
    
      - (AbstractHandler) initialize(app, realm = nil, &authenticator) 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    
A new instance of AbstractHandler.
 
Constructor Details
- (AbstractHandler) initialize(app, realm = nil, &authenticator)
Returns a new instance of AbstractHandler
      11 12 13  | 
    
      # File 'rack/rack/auth/abstract/handler.rb', line 11 def initialize(app, realm=nil, &authenticator) @app, @realm, @authenticator = app, realm, authenticator end  | 
  
Instance Attribute Details
- (void) realm
Returns the value of attribute realm
      9 10 11  | 
    
      # File 'rack/rack/auth/abstract/handler.rb', line 9 def realm @realm end  |