new_token

Function new_token 

Source
pub fn new_token(
    payload: &(impl ToBase64 + Expire + Serialize),
    secret: &[u8],
) -> Res<String>