Back to index

plone3  3.1.7
Public Member Functions
plone.session.interfaces.ISessionSource Class Reference
Inheritance diagram for plone.session.interfaces.ISessionSource:
Inheritance graph
[legend]
Collaboration diagram for plone.session.interfaces.ISessionSource:
Collaboration graph
[legend]

List of all members.

Public Member Functions

def createIdentifier
def verifyIdentifier
def extractUserId
def invalidateSession

Detailed Description

A session source is an object which creates a session identified and
can verify if session is still valid.

Definition at line 15 of file interfaces.py.


Member Function Documentation

A session source is an object which creates a session identified and
can verify if session is still valid.
Return an identifier for a userid. An identifier is a standard python
string object.

Definition at line 21 of file interfaces.py.

00021 
00022     def createIdentifier(userid):
00023         """
00024         Return an identifier for a userid. An identifier is a standard python
00025         string object.
00026         """
00027 

Extract the user id from an identifier.

Definition at line 35 of file interfaces.py.

00035 
00036     def extractUserId(identifier):
00037         """
00038         Extract the user id from an identifier.
00039         """
00040 

Mark a session for a principal as invalid. A source may not support
this, in which case it should return False.

Definition at line 41 of file interfaces.py.

00041 
00042     def invalidateSession(principal=None):
00043         """
00044         Mark a session for a principal as invalid. A source may not support
00045         this, in which case it should return False.
00046         """
00047 
00048 
00049 
Verify if an identity corresponds to a valid session. Returns
a boolean indicating if the identify is valid.

Definition at line 28 of file interfaces.py.

00028 
00029     def verifyIdentifier(identifier):
00030         """
00031         Verify if an identity corresponds to a valid session. Returns
00032         a boolean indicating if the identify is valid.
00033         """
00034 


The documentation for this class was generated from the following file: