pub fn load_api_key_by_token_hash(
token_hash: &str,
vault_path: Option<&Path>,
) -> Result<ApiKeyFile, OwsLibError>Expand description
Look up an API key by the SHA-256 hash of the token. Scans all key files — O(n) in the number of keys.
pub fn load_api_key_by_token_hash(
token_hash: &str,
vault_path: Option<&Path>,
) -> Result<ApiKeyFile, OwsLibError>Look up an API key by the SHA-256 hash of the token. Scans all key files — O(n) in the number of keys.