Package turbogears :: Package identity

Source Code for Package turbogears.identity

 1  """The TurboGears identity management package.""" 
 2   
 3  # declare what should be exported 
 4  __all__ = [ 
 5      'All', 
 6      'Any', 
 7      'CompoundPredicate', 
 8      'IdentityConfigurationException', 
 9      'IdentityException', 
10      'IdentityFailure', 
11      'IdentityManagementNotEnabledException', 
12      'IdentityPredicateHelper', 
13      'Predicate', 
14      'RequestRequiredException', 
15      'SecureObject', 
16      'SecureResource', 
17      'current', 
18      'current_provider', 
19      'create_default_provider', 
20      'encrypt_password', 
21      'from_host', 
22      'from_any_host', 
23      'get_identity_errors', 
24      'get_failure_url', 
25      'in_all_groups', 
26      'in_any_group', 
27      'in_group', 
28      'has_all_permissions', 
29      'has_any_permission', 
30      'has_permission', 
31      'not_anonymous', 
32      'require', 
33      'set_current_identity', 
34      'set_current_provider', 
35      'set_identity_errors', 
36      'was_login_attempted', 
37  ] 
38   
39   
40  from turbogears.identity.base import * 
41  from turbogears.identity.conditions import * 
42  from turbogears.identity.exceptions import * 
43