hcaptcha 3.2.6

hCaptcha client-side response verification: it validates the hCaptcha token your server receives from the client before trusting the submission.
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())
}