forked from LinOTP/LinOTP
/
__init__.py
70 lines (57 loc) · 2.4 KB
/
__init__.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
# -*- coding: utf-8 -*-
#
# LinOTP - the open source solution for two factor authentication
# Copyright (C) 2010 - 2015 LSE Leading Security Experts GmbH
#
# This file is part of LinOTP server.
#
# This program is free software: you can redistribute it and/or
# modify it under the terms of the GNU Affero General Public
# License, version 3, as published by the Free Software Foundation.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU Affero General Public License for more details.
#
# You should have received a copy of the
# GNU Affero General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#
#
# E-mail: linotp@lsexperts.de
# Contact: www.linotp.org
# Support: www.lsexperts.de
#
'''
LinOTP is an open solution for strong two-factor authentication
with One Time Passwords.
LinOTP server is licensed under the AGPLv3, so that you are able to have a
complete working open source solution. But LinOTP 2 is also open as far as its
modular architecture is concerned.
LinOTP 2 aims to not bind you to any decision of the authentication protocol
or it does not dictate you where your user information should be stored. This
is achieved by its new, totally modular architecture.
Tokenclasses
------------
LinOTP already comes with several tokenclasses defined in linotp.lib.tokens
But you can simply define your own tokenclass object. Take a look at
the base class in tokenclass.py
UserIdResolvers
---------------
LinOTP can use arbitrary methods to look up your user base - the userid
resolvers. With LinOTP comes a flatfile (passwd), the ldap/active directory
resolver and a sql resolver.
LinOTP is accessed via a simple http based api, which returns json object
that are easy to integrate into your authentication solution. Or you can use
the simple webui which come with linotp
'''
# IMPORTANT! This file is imported by setup.py, therefore do not (directly or
# indirectly) import any module that might not yet be installed when installing
# LinOTP.
__copyright__ = "2010 - 2015 LSE Leading Security Experts GmbH"
__product__ = "LinOTP"
__license__ = "Gnu AGPLv3"
__contact__ = "www.linotp.org"
__email__ = "linotp@lsexperts.de"
__version__ = '2.8.2.dev0'