Skip to main content

verify_blossom_auth

Function verify_blossom_auth 

Source
pub fn verify_blossom_auth(
    headers: &HeaderMap,
    required_action: &str,
    required_hash: Option<&str>,
) -> Result<BlossomAuth, (StatusCode, &'static str)>
Expand description

Parse and verify Nostr authorization from header Returns the verified auth or an error response