Commit 5342fe2
committed
Aligning logout reasons with Android
* during login when signout out an existing user matching the newly logged in user, Android uses REFRESH_TOKEN_ROTATED while iOS was using SFLogoutReasonUnknown
See https://github.com/forcedotcom/SalesforceMobileSDK-Android/blob/dev/libs/SalesforceSDK/src/com/salesforce/androidsdk/auth/AuthenticationUtilities.kt#L163 and https://github.com/forcedotcom/SalesforceMobileSDK-Android/blob/dev/libs/SalesforceSDK/src/com/salesforce/androidsdk/ui/OAuthWebviewHelper.kt#L529
* on login with bio auth enabled, when signing out existing users (which should not happen because we only support one bio auth user) Android uses UNEXPECTED while iOS was using SFLogoutReasonRefreshTokenRotated
See https://github.com/forcedotcom/SalesforceMobileSDK-Android/blob/dev/libs/SalesforceSDK/src/com/salesforce/androidsdk/auth/AuthenticationUtilities.kt#L1761 parent 2765a54 commit 5342fe2
1 file changed
Lines changed: 3 additions & 2 deletions
Lines changed: 3 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1574 | 1574 | | |
1575 | 1575 | | |
1576 | 1576 | | |
| 1577 | + | |
1577 | 1578 | | |
1578 | | - | |
| 1579 | + | |
1579 | 1580 | | |
1580 | 1581 | | |
1581 | 1582 | | |
| |||
1821 | 1822 | | |
1822 | 1823 | | |
1823 | 1824 | | |
1824 | | - | |
| 1825 | + | |
1825 | 1826 | | |
1826 | 1827 | | |
1827 | 1828 | | |
| |||
0 commit comments