コード例 #1
0
ファイル: authentification.py プロジェクト: uggla/tracim
 def __init__(self, realm):
     BasicAuthAuthenticationPolicy.__init__(self, check=None, realm=realm)
     # TODO - G.M - 2018-09-21 - Disable callback is needed to have BasicAuth
     # correctly working, if enabled, callback method will try check method
     # who is now disabled (uneeded because we use directly
     # authenticated_user_id) and failed.
     self.callback = None
コード例 #2
0
ファイル: authentification.py プロジェクト: tracim/tracim
 def __init__(self, realm):
     BasicAuthAuthenticationPolicy.__init__(self, check=None, realm=realm)
     # TODO - G.M - 2018-09-21 - Disable callback is needed to have BasicAuth
     # correctly working, if enabled, callback method will try check method
     # who is now disabled (uneeded because we use directly
     # authenticated_user_id) and failed.
     self.callback = None
コード例 #3
0
ファイル: auth.py プロジェクト: MarcSchmitzer/pylf
 def __init__(self):
     BasicAuthAuthenticationPolicy.__init__(
         self,
         check=check_auth,
     )