MCPcopy Create free account
hub / github.com/Tong89/smartNode / create_refresh_token

Function create_refresh_token

backend/auth.py:54–55  ·  view source on GitHub ↗
(sub, role)

Source from the content-addressed store, hash-verified

52
53
54def create_refresh_token(sub, role):
55 return create_token(sub, role, "refresh", REFRESH_TTL)
56
57
58def decode_token(token):

Callers 1

auth_loginFunction · 0.90

Calls 1

create_tokenFunction · 0.85

Tested by

no test coverage detected