fn parse_algorithm(name: Option<&str>) -> Result<Algorithm, String>Expand description
Parses a supported HMAC algorithm name, defaulting to HS256 when absent.
Returns an error for any unsupported value — an auth plugin must not silently verify with a different algorithm than the one requested.