Skip to main content

require_authn_at

Function require_authn_at 

pub fn require_authn_at(
    requirement: &AuthnRequirement,
    ctx: &CratestackContext,
    now: i64,
) -> Result<(), CratestackError>
Expand description

require_authn for one requirement at a given time, for tests and callers with their own clock.