Replace GoogleAuthUtil.invalidateToken with GoogleAuthUtil.clearToken #950
Labels
priority: p2
Moderately-important priority. Fix may not be included in next release.
🚨
This issue needs some love.
type: bug
Error or flaw in code with unintended results or allowing sub-optimal usage patterns.
It's used here:
https://github.com/google/google-api-java-client/blob/57fe35766cbba0a0d5a9a296be81468d730a29f8/google-api-client-android/src/main/java/com/google/api/client/googleapis/extensions/android/gms/auth/GoogleAccountCredential.java#L294
The method is deprecated due to requiring MANAGE_ACCOUNTS and USE_CREDENTIALS permissions:
https://developers.google.com/android/reference/com/google/android/gms/auth/GoogleAuthUtil#invalidateToken(android.content.Context, java.lang.String)
The replacement is GoogleAuthUtil.clearToken. This should allow Android developers to use the library without requesting those extra permissions.
The text was updated successfully, but these errors were encountered: