Back to index

plone3  3.1.7
Public Member Functions
plone.protect.authenticator.AuthenticatorView Class Reference
Inheritance diagram for plone.protect.authenticator.AuthenticatorView:
Inheritance graph
[legend]
Collaboration diagram for plone.protect.authenticator.AuthenticatorView:
Collaboration graph
[legend]

List of all members.

Public Member Functions

def authenticator
def verify

Detailed Description

Definition at line 41 of file authenticator.py.


Member Function Documentation

Definition at line 44 of file authenticator.py.

00044 
00045     def authenticator(self):
00046         manager=getUtility(IKeyManager)
00047         secret=manager.secret()
00048         user=_getUserName()
00049         auth=hmac.new(secret, user, sha).hexdigest()
00050         return '<input type="hidden" name="_authenticator" value="%s"/>' % \
00051                 auth
00052 

Here is the call graph for this function:

Definition at line 53 of file authenticator.py.

00053 
00054     def verify(self):
00055         return _verify(self.request)
00056 

Here is the call graph for this function:


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