Skip to main content

verify_stream

Function verify_stream 

Source
pub fn verify_stream(
    cfg: &AuthV2Config,
    procedure_path: &str,
    now_ms: i64,
    headers: &Headers,
) -> Result<VerifiedAuth, ServerError>
Expand description

Authenticate a streaming upload: the signature must carry a pack: commitment, which check_pack_commitment later compares with the stream’s header.

§Errors

crate::Code::Unauthenticated with mkit-core’s reason.