pub fn default_auth_verifier(
req: &GatewayRequest,
metadata: &RouteMetadata,
) -> Result<(), GatewayError>Expand description
A default authentication verifier.
Checks if the route requires an API Key and verifies its presence in the configured location. Note: This implementation only checks for presence, not validity of the key value.
ยงErrors
Returns GatewayError::Upstream with Unauthenticated status if the key is missing.