revocation
Module: authority_client::revocation
Section titled “Module: authority_client::revocation”Contents
Section titled “Contents”Functions
token_id_from_event- Parse and validate the capability token ID carried by a revocation event.
firma_sidecar::authority_client::revocation::token_id_from_event
Section titled “firma_sidecar::authority_client::revocation::token_id_from_event”Function
Parse and validate the capability token ID carried by a revocation event.
Errors
Section titled “Errors”Returns an error when the protobuf string is not a canonical ctok ID.
fn token_id_from_event(event: &firma_protobuf::v1::RevocationEvent) -> Result<firma_identifiers::TokenId, String>