- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for check_api_key (0.07 sec)
-
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_keyRegistered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Dec 17 21:25:59 UTC 2025 - 9.6K bytes - Viewed (1)