Skip to main content

issue_token

Function issue_token 

Source
pub fn issue_token(
    secret: &[u8; 32],
    for_node: u64,
    expiry_unix_secs: u64,
) -> Result<String, TokenError>
Expand description

Convenience: issue a token and return it as a lowercase hex string.