Encode claims into a JWT token. # Arguments `claims` - The claims to encode (must implement Serialize) # Returns The JWT token string if successful. # Example ```rust,ignore use serde::{Serialize, Deserialize}; use feather::jwt::JwtManager; #[derive(Serialize, Deserialize)] struct Claims { sub: String, exp: usize, } let jwt = JwtManager::new("secret".to_string()); let token = jwt.encode(&C
(&self, claims: &T)
source not stored for this graph (policy: none)