verify_basic_auth
verify_basic_auth
Verify HTTP Basic Auth credentials using constant-time comparison.
Parameters
credentials
FastAPI HTTPBasicCredentials object containing username and password attributes.
Returns
bool — True if both username and password match the configured values.