Skip to main content

verify_signed_request

Function verify_signed_request 

Source
pub fn verify_signed_request(
    conn: &Connection,
    session_token: &str,
    method: &str,
    path: &str,
    timestamp: i64,
    nonce: &str,
    key_fingerprint: &str,
    signature_b64: &str,
    body: &[u8],
    now: Option<i64>,
) -> Result<Session, AuthError>