Home | Trees | Indices | Help |
|
---|
|
The TurboGears identity management package.
Functions | |||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
Variables | |
current = IdentityWrapper()
|
|
current_provider = ProviderWrapper()
|
Function Details |
Create default identity provider. Creates an identity provider according to what is found in the configuration file for the current TurboGears application Returns an identity provider instance or raises an IdentityConfigurationException. |
Hash the given password with the specified algorithm. Valid values for algorithm are 'md5' and 'sha1' or 'custom'. If the algorithm is 'custom', the config setting 'identity.custom_encryption' needs to be set to a dotted-notation path to a callable that takes an unencrypted password and gives back the password hash. All other algorithms values will be essentially a no-op. |
Hash the given password with the specified algorithm. Valid values for algorithm are 'md5' and 'sha1' or 'custom'. If the algorithm is 'custom', the config setting 'identity.custom_encryption' needs to be set to a dotted-notation path to a callable that takes an unencrypted password and gives back the password hash. All other algorithms values will be essentially a no-op. |
Home | Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0.1 on Thu Jul 14 21:45:36 2011 | http://epydoc.sourceforge.net |