verify_api_key

Function verify_api_key 

Source
pub fn verify_api_key(api_key: &str, stored_hash: &str) -> bool
Expand description

Verify an API key against its hash

Compares the hash of the provided API key with the stored hash.