Verify if the token matches the expected module ID and was properly issued
bool verify(String expectedModuleId) { return moduleId == expectedModuleId && _secret.isNotEmpty; }