我已經更新了我的salesforcesdk-IOS新版本5.3.0。成功登錄後,我將在此代表所有這些值 - oauthCoordinatorDidAuthenticate:AUTHINFO:這樣,SFUserAccount始終是零
- (void) oauthCoordinatorDidAuthenticate: (SFOAuthCoordinator *) coordinator authInfo:(SFOAuthInfo *)info {
[SFAuthenticationManager sharedManager].coordinator = coordinator;
[[SFAuthenticationManager sharedManager] coordinator].credentials = coordinator.credentials;
[[SFUserAccountManager sharedInstance] applyCredentials:coordinator.credentials];
}
當我嘗試驗證的refreshtoken currentUser是nil在- (無效),發送:(SFRestRequest *)申請委託:(ID)代表shouldRetry:(BOOL)shouldRetry始終加載,而不是發送請求到Salesforce Salesforce的登錄頁面。
//如果沒有可證實的身份驗證憑據,發送之前登錄。 SFUserAccount *用戶= [SFUserAccountManager sharedInstance] .currentUser;
用戶永遠是零。如何正確設置使用權限?謝謝!
這個委託被調用,但useraccount設置不正確.. –