hcaptcha 3.2.0

hCaptcha client response verification. Validate the hCaptcha response submitted from to your server from the client.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
// SPDX-FileCopyrightText: 2022 jerusdp
//
// SPDX-License-Identifier: MIT OR Apache-2.0

use super::error::ContactError;
use tracing::instrument;

#[instrument(name = "get the secret key from parameter store")]
pub async fn get_parameter(key: &str) -> Result<String, ContactError> {
    // Extract the secret key from your parameter store
    Ok("0x123456789abcedf0123456789abcedf012345678".to_owned())
}