Skip to main content

encode_jwt

Function encode_jwt 

Source
pub fn encode_jwt<T: Serialize>(
    header: &JwtHeader,
    claims: &T,
    secret: &[u8],
) -> JwtCodecResult<String>
Expand description

编码 JWT 令牌