Skip to main content

create_token

Function create_token 

Source
pub fn create_token(
    perms: Vec<String>,
    key: &[u8],
    token_exp: Duration,
) -> Result<String>
Expand description

Create a new JWT Token