dashboard
repositories
filestore
activity
search
login
drone
/
drone_webodm
webodm 部署代码
summary
reflog
commits
tree
docs
forks
compare
blame
|
history
|
raw
first commit
zhongrj
2025-11-24
276323dce9613867abb3f58a4cc2abbfb2fd0dea
[drone/drone_webodm.git]
/
app
/
api
/
authentication.py
1
2
3
4
5
6
from rest_framework_jwt.authentication import BaseJSONWebTokenAuthentication
class JSONWebTokenAuthenticationQS(BaseJSONWebTokenAuthentication):
def get_jwt_value(self, request):
return request.query_params.get('jwt')