MCPcopy
hub / github.com/1Panel-dev/MaxKB / new_instance

Method new_instance

apps/common/auth/common.py:52–54  ·  view source on GitHub ↗
(authentication: str)

Source from the content-addressed store, hash-verified

50
51 @staticmethod
52 def new_instance(authentication: str):
53 auth = json.loads(_decrypt(authentication))
54 return ChatAuthentication(**auth)
55
56
57class ChatUserToken:

Callers

nothing calls this directly

Calls 2

_decryptFunction · 0.85
ChatAuthenticationClass · 0.85

Tested by

no test coverage detected