Skip to main content

verify_capability

Function verify_capability 

Source
pub fn verify_capability(
    token_json: String,
    authority_pub_hex: String,
) -> Result<VerifiedCapability, ChioMobileError>
Expand description

Verify a capability token against a single trusted authority key.

Uses MobileClock to evaluate the time-bound window. Adapters that need a pinned clock should call evaluate with now_secs populated instead.