Feat/token support (#909)

Co-authored-by: StyleZhang <jasonapring2015@outlook.com>
Co-authored-by: jyong <jyong@dify.ai>
This commit is contained in:
Jyong 2023-08-21 13:57:18 +08:00 committed by GitHub
commit 4b53bb1a32
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
32 changed files with 221 additions and 40 deletions

View file

@ -3,7 +3,8 @@ import json
from cachetools import TTLCache
from flask import request, current_app
from flask_login import login_required, current_user
from flask_login import current_user
from core.login.login import login_required
from flask_restful import Resource, marshal_with, fields, reqparse, marshal
from werkzeug.exceptions import NotFound