pub fn create_token_with( secret: &str, agent_id: &str, admin: bool, expiry_hours: u64, opts: TokenOptions, ) -> String
Create a signed HS256 JWT with every optional claim.