Package trac :: Package notification :: Module api :: Class IEmailAddressResolver

Class IEmailAddressResolver

source code

    object --+    
             |    
core.Interface --+
                 |
                IEmailAddressResolver

Map sessions to email addresses.
Instance Methods
 
get_address_for_session(sid, authenticated)
Map a session id and authenticated flag to an e-mail address.
source code

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

Properties

Inherited from object: __class__

Method Details

get_address_for_session(sid, authenticated)

source code 
Map a session id and authenticated flag to an e-mail address.
Parameters:
  • sid - the session id
  • authenticated - 1 for authenticated sessions, 0 otherwise
Returns:
an email address or None