- Sort Score
- Num 10 results
- Language All
Results 1 - 1 of 1 for check_api_key (0.06 seconds)
-
fastapi/security/api_key.py
""" return HTTPException( status_code=HTTP_401_UNAUTHORIZED, detail="Not authenticated", headers={"WWW-Authenticate": "APIKey"}, ) def check_api_key(self, api_key: Optional[str]) -> Optional[str]: if not api_key: if self.auto_error: raise self.make_not_authenticated_error() return None return api_keyCreated: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 21:25:59 GMT 2025 - 9.6K bytes - Click Count (1)