Skip to main content

create_jwt

Function create_jwt 

Source
pub fn create_jwt(
    signer: &KeyPair,
    claims: impl Into<Claims>,
    key: &KeyPair,
    name: &str,
) -> String
Expand description

Creates a JWT for the given key, signed by the given signer