"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "linotpd/src/linotp/lib/config/type_definition.py" between
LinOTP-release-2.11.2.tar.gz and LinOTP-release-2.12.tar.gz

About: LinOTP is a flexible and versatile OTP-platform for strong user authentication (two-factor authentication with one time passwords).

type_definition.py  (LinOTP-release-2.11.2):type_definition.py  (LinOTP-release-2.12)
skipping to change at line 35 skipping to change at line 35
# #
""" """
base for a typing system: base for a typing system:
association of linotp system config entries with its types association of linotp system config entries with its types
""" """
from linotp.lib.type_utils import is_duration from linotp.lib.type_utils import is_duration
from linotp.lib.type_utils import encrypted_data from linotp.lib.type_utils import encrypted_data
from linotp.lib.type_utils import check_networks_expression from linotp.lib.type_utils import check_networks_expression
from linotp.lib.type_utils import check_time_format_string
Config_Types = { Config_Types = {
'linotp.user_lookup_cache.expiration': ('duration', is_duration), 'linotp.user_lookup_cache.expiration': ('duration', is_duration),
'linotp.resolver_lookup_cache.expiration': ('duration', is_duration), 'linotp.resolver_lookup_cache.expiration': ('duration', is_duration),
'linotp.client.FORWARDED_PROXY': ('network', check_networks_expression), 'linotp.client.FORWARDED_PROXY': ('network', check_networks_expression),
'linotp.token.last_access': (
'time_format_string', check_time_format_string
),
} }
type_definitions = { type_definitions = {
# legacy provider defintion require an extra conversion step # legacy provider defintion require an extra conversion step
'linotp.EmailProviderConfig': ('encrypted_data', encrypted_data), 'linotp.EmailProviderConfig': ('encrypted_data', encrypted_data),
'linotp.SMSProviderConfig': ('encrypted_data', encrypted_data), 'linotp.SMSProviderConfig': ('encrypted_data', encrypted_data),
} }
# EOF # # EOF #
 End of changes. 2 change blocks. 
0 lines changed or deleted 4 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)