Skip to main content

encode_jwt

Function encode_jwt 

Source
pub fn encode_jwt<E>(
    claims: &Claims<E>,
    config: &JwtConfig,
) -> Result<String, JwtError>
where E: Serialize,
Expand description

Encode a Claims struct into a JWT token.