pub fn split_ticket(compound: &str) -> (&str, Option<&str>)Expand description
Split a (possibly compound) ticket string into (iroh_ticket, Option<token_payload>).
If the string contains a ., everything before the last . is the iroh ticket
and everything after is the base64url-encoded token payload.