Skip to main content

encode_token_payload_for_ticket

Function encode_token_payload_for_ticket 

Source
pub fn encode_token_payload_for_ticket(
    iroh_ticket: &str,
    token: &str,
    scope: impl Into<GrantScope>,
    max_connections: u32,
) -> String
Expand description

Encode a token payload and bind it to a specific endpoint ticket.