MCPcopy Index your code
hub / github.com/fastapi/fastapi / User

Class User

tests/test_security_api_key_header.py:12–13  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

10
11
12class User(BaseModel):
13 username: str
14
15
16def get_current_user(oauth_header: str = Security(api_key)):

Callers 1

get_current_userFunction · 0.70

Calls

no outgoing calls

Tested by 1

get_current_userFunction · 0.56

Used in the wild real call sites across dependent graphs

searching dependent graphs…