summaryrefslogtreecommitdiff
path: root/otp2289/__init__.py
diff options
context:
space:
mode:
authorSimeon Simeonov2020-04-03 00:00:52 +0200
committerSimeon Simeonov2020-04-03 00:00:52 +0200
commit097aaa49fa99cffec9db74432d7025457c34199e (patch)
tree1af3ab2ec494b71610d299468c818f7ac144ce59 /otp2289/__init__.py
parent2a6299c32e0baf3df06f8e6d6bc8695b951d630d (diff)
Implement OTPStore container class in the server module
Diffstat (limited to 'otp2289/__init__.py')
-rw-r--r--otp2289/__init__.py12
1 files changed, 9 insertions, 3 deletions
diff --git a/otp2289/__init__.py b/otp2289/__init__.py
index 2fba4ea..36d1659 100644
--- a/otp2289/__init__.py
+++ b/otp2289/__init__.py
@@ -29,12 +29,16 @@ from .generator import (OTP_ALGO_MD5,
29 OTPChallengeException, 29 OTPChallengeException,
30 OTPGenerator, 30 OTPGenerator,
31 OTPGeneratorException) 31 OTPGeneratorException)
32from .server import OTPInvalidResponse, OTPState, OTPStateException 32from .server import (OTPInvalidResponse,
33 OTPState,
34 OTPStateException,
35 OTPStore,
36 OTPStoreException)
33 37
34 38
35__author__ = 'Simeon Simeonov' 39__author__ = 'Simeon Simeonov'
36__version__ = '1.0.0' 40__version__ = '1.0.0'
37__license__ = 'BSD-2' 41__license__ = 'BSD 2-Clause'
38 42
39 43
40def int_or_str(value): 44def int_or_str(value):
@@ -54,4 +58,6 @@ __all__ = ['OTP_ALGO_MD5',
54 'OTPGeneratorException', 58 'OTPGeneratorException',
55 'OTPInvalidResponse', 59 'OTPInvalidResponse',
56 'OTPState', 60 'OTPState',
57 'OTPStateException'] 61 'OTPStateException',
62 'OTPStore',
63 'OTPStoreException']