我正在开发需要集成 ZenDesk SDK 的 iOS 应用程序。我已经设置了 AppId、zendeskurl、clientId。
[[ZDKConfig instance] initializeWithAppId:@"xxxxxxx"
zendeskUrl:@"https://xxxxx"
andClientId:@"xxxxxx"];
[ZDCChat configure:^(ZDCConfig *defaults) {
defaults.accountKey = @"xxxxx";
defaults.preChatDataRequirements.department = xxxx;
defaults.preChatDataRequirements.message = xxxx;
}];
当我将身份验证方法设置为匿名时,它工作正常。
[ZDKConfig instance].userIdentity = [[ZDKJwtIdentity alloc]
initWithJwtUserIdentifier:@"xxx@gmail.com"];
但是当我将 JWT 设置为身份验证方法时。它不工作。