create_jwt

Function create_jwt 

Source
pub fn create_jwt(username: &str, secret: &str) -> Result<String, String>
Expand description

Create a signed JWT for the given username, valid for 24 hours.