Skip to main content

authorize_at

Function authorize_at 

Source
pub fn authorize_at(
    grant: &[Capability],
    not_before: Option<u64>,
    expiration: Option<u64>,
    request: &AccessRequest,
    now: u64,
) -> Decision
Expand description

As authorize, but also deny if now is outside the grant’s validity window [not_before, expiration] (inclusive) — matching the chain validator’s temporal gate.