Skip to main content

check

Function check 

Source
pub fn check(
    signature: &Signature,
    request: &Request<'_>,
    policy: &Policy<'_>,
    now: i64,
) -> Result<(), Rejection>
Expand description

Apply policy to signature on request, now being seconds since the Unix epoch.

ยงErrors

With the first rule the signature breaks.