Package gavo :: Package web :: Module ifpages :: Class LoginPage
[frames] | no frames]

Class LoginPage

source code

                   object --+            
                            |            
       nevow.rend.DataFactory --+        
                                |        
                   object --+   |        
                            |   |        
     nevow.rend.RenderFactory --+        
                                |        
                   object --+   |        
                            |   |        
      nevow.rend.MacroFactory --+        
                                |        
                   object --+   |        
                            |   |        
 nevow.rend.ConfigurableMixin --+        
                                |        
              nevow.rend.Fragment --+    
                                    |    
   nevow.rend.ConfigurableFactory --+    
                                    |    
nevow.rend.FreeformChildMixin --+   |    
                                |   |    
      nevow.rend.ChildLookupMixin --+    
                                    |    
                      nevow.rend.Page --+
                                        |
                       object --+       |
                                |       |
           common.CommonRenderers --+   |
                                    |   |
                grend.GavoRenderMixin --+
                                        |
                                       LoginPage

a page that logs people in or out.

You should usually give a nextURL parameter in the context, the page the user is returned to afte login.

If the user is already authenticated, this will do a logout (by sending a 403).

Instance Methods
 
__init__(self, ctx)
x.__init__(...) initializes x; see help(type(x)) for signature
source code
 
render_nextURL(self, ctx, data) source code
 
render_iflogged(self, ctx, data) source code
 
render_ifnotlogged(self, ctx, data) source code
 
data_loggedUser(self, ctx, data) source code
 
renderHTTP(self, ctx) source code

Inherited from nevow.rend.Page: __provides__, child_, flattenFactory, onPostFailure, onPostSuccess, rememberStuff, renderString, renderSynchronously, webFormPost

Inherited from nevow.rend.Fragment: get, remember, rend

Inherited from nevow.rend.DataFactory: __providedBy__, child

Inherited from nevow.rend.RenderFactory: render_data, render_mapping, render_sequence, render_string, render_xml, renderer

Inherited from nevow.rend.MacroFactory: macro

Inherited from nevow.rend.ConfigurableMixin: getBinding, getBindingNames, getDefault, postForm

Inherited from grend.GavoRenderMixin: data_meta, data_rd, render_authinfo, render_datameta, render_explodableMeta, render_ifadmin, render_ifdata, render_ifmeta, render_ifnodata, render_ifnoslot, render_ifownmeta, render_ifslot, render_intro, render_meta, render_metahtml, render_prependsite, render_withsidebar

Inherited from common.CommonRenderers: render_commonhead, render_getconfig, render_rootlink, render_unicode, render_urlescape

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

Inherited from nevow.rend.ConfigurableFactory: configurable_, configurable_original, locateConfigurable

Inherited from nevow.rend.ChildLookupMixin: childFactory, locateChild, putChild

Inherited from nevow.rend.FreeformChildMixin: child_freeform_hand

Class Variables
  docFactory = <nevow.loaders.xmlfile object>
hash(x)

Inherited from nevow.rend.Page: __implemented__, addSlash, afterRender, beforeRender, buffered

Inherited from nevow.rend.Fragment: original

Inherited from grend.GavoRenderMixin: macroPackage

Inherited from nevow.rend.ChildLookupMixin: children

Properties

Inherited from object: __class__

Method Details

__init__(self, ctx)
(Constructor)

source code 

x.__init__(...) initializes x; see help(type(x)) for signature

Overrides: object.__init__
(inherited documentation)

renderHTTP(self, ctx)

source code 
Overrides: nevow.rend.Page.renderHTTP