Skip to main content

verify

Function verify 

Source
pub fn verify(
    key: &[u8],
    token: &str,
    now: u64,
) -> Result<ForgeAgent, TokenError>
Expand description

Verify a token at now, returning the reconstructed caller identity.