Table of Contents

Class: SessionPerspectiveMixin Twisted-0.17.4/twisted/web/webcred.py

I mix in the functionality of adding a Perspective to the request's session.

In order to retrieve the perspective, call self.getPerspective(request).

Base Classes   
widgets.WidgetMixin
Methods   
__init__
_cbPerspective
_ebPerspective
display
getPerspective
  __init__ 
__init__ ( self,  service )

Initialize me with a service.

This service is used to determine where the perspective that will be attached to the session will come from. If an identity has multiple perspectives with that service, the first one (in alphabetical order) will be used.

  _cbPerspective 
_cbPerspective (
        self,
        resultPerspective,
        request,
        )

  _ebPerspective 
_ebPerspective (
        self,
        fail,
        request,
        )

  display 
display ( self,  request )

See widgets.WidgetMixin.

  getPerspective 
getPerspective ( self,  request )

Return a Perspective instance.


Table of Contents

This document was automatically generated on Sat Apr 20 01:31:53 2002 by HappyDoc version 2.0