This repository was archived by the owner on Jun 1, 2023. It is now read-only.
File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -60,7 +60,6 @@ def run_tests(self):
6060 classifiers = [
6161 "Development Status :: 4 - Beta" ,
6262 "License :: OSI Approved :: Apache Software License" ,
63- "Programming Language :: Python :: 3.4" ,
6463 "Programming Language :: Python :: 3.5" ,
6564 "Programming Language :: Python :: 3.6" ,
6665 "Topic :: Software Development :: Libraries :: Python Modules" ],
Original file line number Diff line number Diff line change 1515from oidcservice import rndstr
1616from oidcservice .exception import OidcServiceError
1717from oidcservice .state_interface import StateInterface
18+ from oidcservice .state_interface import InMemoryStateDataBase
1819
1920from oidcrp import oauth2
2021from oidcrp import oidc
@@ -48,20 +49,6 @@ def token_secret_key(sid):
4849CLIENT_CONFIG = {}
4950
5051
51- class InMemoryStateDataBase (object ):
52- def __init__ (self ):
53- self .db = {}
54-
55- def set (self , key , value ):
56- self .db [key ] = value
57-
58- def get (self , key ):
59- try :
60- return self .db [key ]
61- except KeyError :
62- return None
63-
64-
6552def add_path (url , path ):
6653 if url .endswith ('/' ):
6754 if path .startswith ('/' ):
You can’t perform that action at this time.
0 commit comments