Browse Source

[jwt] Fix DummyCustomAuthentication class comments (#2461)

Ying Chen 4 years ago
parent
commit
2faf750771
1 changed files with 3 additions and 1 deletions
  1. 3 1
      desktop/core/src/desktop/auth/api_authentications.py

+ 3 - 1
desktop/core/src/desktop/auth/api_authentications.py

@@ -83,8 +83,10 @@ class JwtAuthentication(authentication.BaseAuthentication):
     return (user, None)
     return (user, None)
 
 
 
 
-# for local dev env doesn't have authentication service
 class DummyCustomAuthentication(authentication.BaseAuthentication):
 class DummyCustomAuthentication(authentication.BaseAuthentication):
+  """
+  Only for local development environment does not have an external authentication service
+  """
 
 
   def authenticate(self, request):
   def authenticate(self, request):
     LOG.debug('DummyCustomAuthentication: %s' % request.path)
     LOG.debug('DummyCustomAuthentication: %s' % request.path)