Package buildbot :: Package status :: Package web :: Module auth :: Class LoginResource
[frames] | no frames]

Class LoginResource

source code

twisted.web.resource.Resource --+    
                                |    
                   object --+   |    
                            |   |    
           base.AccessorMixin --+    
                                |    
              base.ActionResource --+
                                    |
                                   LoginResource

Nested Classes

Inherited from twisted.web.resource.Resource: entityType

Instance Methods
 
performAction(self, request)
Perform the action, and return the URL to redirect to
source code

Inherited from base.ActionResource: getChild, render

Inherited from twisted.web.resource.Resource: __init__, __providedBy__, __provides__, delEntity, getChildForRequest, getChildWithDefault, getDynamicEntity, getStaticEntity, listDynamicEntities, listDynamicNames, listEntities, listNames, listStaticEntities, listStaticNames, putChild, reallyPutEntity, render_HEAD

Inherited from base.AccessorMixin: getAuthz, getBuildmaster, getPageTitle, getStatus

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __str__, __subclasshook__

Class Variables

Inherited from base.ActionResource: isLeaf

Inherited from twisted.web.resource.Resource: __implemented__, server

Properties

Inherited from object: __class__

Method Details

performAction(self, request)

source code 

Perform the action, and return the URL to redirect to

Parameters:
  • request - the web request
Returns:
URL via Deferred can also return (URL, alert_msg) to display simple feedback to user in case of failure
Overrides: base.ActionResource.performAction
(inherited documentation)