Files
dify/api/constants/resource_access_token.py
T
c0dbb26f3e feat: access token feature (#42293)
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: yunlu.wen <yunlu.wen@dify.ai>
Co-authored-by: twwu <twwu@dify.ai>
2026-10-09 05:54:28 +00:00

11 lines
229 B
Python

"""Resource access token vocabulary shared by persistence and application services."""
from enum import StrEnum
TOKEN_PREFIX = "sk-"
class ResourceAccessTokenResourceType(StrEnum):
APP = "app"
KNOWLEDGE = "knowledge"