sfauthenticationsession

SFAuthenticationSession/ASWebAuthenticationSession and logging out

偶尔善良 提交于 2020-02-16 13:26:37
问题 I'm planning to switch an app from the old OAuth flow with the SFSafariViewController to the new flow with iOS 11's SFAuthenticationSession . Logging in isn't an issue, the transfer to the new API took me a few minutes to implement. However logging out has me baffled. How? I can't find any mentioning of wanting to offer the option of logging out anywhere in the docs. Using the old SFSafariViewController to invalidate the cookies? Nope, they're not shared anymore with SFAuthenticationSession .

SFAuthenticationSession/ASWebAuthenticationSession and logging out

半腔热情 提交于 2020-02-16 13:24:31
问题 I'm planning to switch an app from the old OAuth flow with the SFSafariViewController to the new flow with iOS 11's SFAuthenticationSession . Logging in isn't an issue, the transfer to the new API took me a few minutes to implement. However logging out has me baffled. How? I can't find any mentioning of wanting to offer the option of logging out anywhere in the docs. Using the old SFSafariViewController to invalidate the cookies? Nope, they're not shared anymore with SFAuthenticationSession .