Skip to main content

unwrap

Function unwrap 

Source
pub fn unwrap(
    signer: &dyn CursorSigner,
    token: &str,
) -> Option<(ClusterId, String)>
Expand description

Recovers (cluster, upstream cursor) from a token produced by wrap, or None if it is malformed or its signature does not verify (fail-closed, a bad token is never routed anywhere).