Skip to main content

encode_jwt_hs256

Function encode_jwt_hs256 

Source
pub fn encode_jwt_hs256<T>(
    claims: &T,
    secret: &[u8],
) -> Result<String, JwtValidationError>
where T: Serialize,