MCPcopy Create free account
hub / github.com/akoidan/pychat / __get_user_by_code

Method __get_user_by_code

backend/chat/tornado/http_handler.py:65–83  ·  view source on GitHub ↗

:param token: token code to verify :type token: str :raises ValidationError: if token is not usable :return: UserProfile, Verification: if token is usable

(self, token, type)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 3

accept_tokenMethod · 0.95
verify_tokenMethod · 0.95
change_emailMethod · 0.95

Calls 1

getMethod · 0.45

Tested by

no test coverage detected