Skip to main content

extract_from_header

Function extract_from_header 

Source
pub fn extract_from_header(header_value: &str) -> AuthResult<String>
Expand description

Extract API key from Authorization header

Supports formats:

  • Bearer <api-key>
  • ApiKey <api-key>
  • <api-key> (raw key)