validate_api_key

Function validate_api_key 

Source
pub async fn validate_api_key<S: ApiKeyStore>(
    store: &S,
    plaintext_key: &str,
) -> Result<ApiKeyRecord, ApiKeyError>
Expand description

Validate an API key and return the associated record if valid