6.1.1.1.1.1. linotp.config.environment module

Pylons environment configuration

linotp.config.environment.fxn()[source]
linotp.config.environment.get_resolver_class_list()[source]

return the dict of resolver class objects

linotp.config.environment.get_resolver_list()[source]

get the list of the resolvers :return: list of resolver names from the config file

linotp.config.environment.get_resolver_module_list()[source]

return the list of the available resolver classes like passw, sql, ldap

Returns:list of resolver modules
linotp.config.environment.get_token_class_list()[source]

provide a dict of token types and their classes

Returns:tupple of two dict -tokenclass_dict {token type : token class} -tokenprefix_dict {token type : token prefix}
linotp.config.environment.get_token_list()[source]

returns the list of the modules

Returns:list of token module names from the config file
linotp.config.environment.get_token_module_list()[source]

return the list of the available token classes like hmac, spass, totp

Returns:list of token modules
linotp.config.environment.load_environment(global_conf, app_conf)[source]

Configure the Pylons environment via the pylons.config object