forcedotcom / SalesforceMobileSDK-Shared

BSD 3-Clause "New" or "Revised" License
68 stars 92 forks source link

Changes to reflect the fact that getAuthCredentials does not trigger … #449

Closed wmathurin closed 7 years ago

wmathurin commented 7 years ago

…a login flow if not authenticated.

iOS implementation used to call authenticate() if not authenticated while Android implementation used to return the error "Not authenticated". In 6.0, we are standardizing with the Android behavior. Updating force.login() function to work with the new behavior (it was working on Android only if shouldAuthenticate was false). Updated comment in oauth plugin also.