Skip to main content

issue_token

Function issue_token 

Source
pub fn issue_token(
    sub: &str,
    email: &str,
    role: &str,
    step: &str,
) -> Option<String>
Expand description

Issue a signed JWT for a principal at the given MFA step (MFA_OK or MFA_PENDING). Returns None if auth isn’t configured.