MCPcopy 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
11def _get_secret_value(secret: SecretType) -> str:
12 if isinstance(secret, SecretStr):
13 return secret.get_secret_value()
14 return secret
15
16
17def generate_jwt(

Callers 2

generate_jwtFunction · 0.85
decode_jwtFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected