Function iqps_backend::auth::generate_token
source ยท async fn generate_token(
username: &str,
env_vars: &EnvVars,
) -> Result<String, Error>
Expand description
Generates a JWT with the username (for claims) and secret key