Function verify_proof

Source
pub async fn verify_proof<S: ReplayStore + ?Sized>(
    store: &mut S,
    dpop_compact_jws: &str,
    expected_htu: &str,
    expected_htm: &str,
    access_token: Option<&str>,
    opts: VerifyOptions,
) -> Result<VerifiedDpop, DpopError>
๐Ÿ‘ŽDeprecated since 2.0.0: Use DpopVerifier instead
Expand description

Verify DPoP proof and record the jti to prevent replays.

ยงDeprecated

This function is maintained for backward compatibility. New code should use DpopVerifier instead. See the DpopVerifier documentation for usage examples.