Skip to main content

mint_native

Function mint_native 

Source
pub fn mint_native(
    key_pem: &str,
    fields: &DeviceFields,
    ver: &str,
) -> Result<(String, i64)>
Expand description

Mint a hydra JWT natively by signing claims with the given RS256 key (PEM). Returns (token, exp).