Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/fastapi-users/fastapi-users
/ _get_secret_value
Function
_get_secret_value
fastapi_users/jwt.py:11–14 ·
view source on GitHub ↗
(secret: SecretType)
Source
from the content-addressed store, hash-verified
9
10
11
def
_get_secret_value(secret: SecretType) -> str:
12
if
isinstance(secret, SecretStr):
13
return
secret.get_secret_value()
14
return
secret
15
16
17
def
generate_jwt(
Callers
2
generate_jwt
Function · 0.85
decode_jwt
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected