Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Palaiologos1453/OpenInterview
/ new_api_token
Function
new_api_token
apps/api/openinterview_api/security.py:9–10 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
7
8
9
def
new_api_token() -> str:
10
return
f
"oi_{uuid4().hex}{uuid4().hex}"
11
12
13
def
hash_token(token: str, *, salt: str | None = None) -> str:
Callers
1
create_user
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected