AI-generated Key Takeaways
-
This content provides classes for authenticating Google accounts.
-
It includes classes for handling account change events and requests.
-
The content features utility classes like
CookieUtilandGoogleAuthUtil. -
It lists various exceptions related to Google authentication errors.
Contains classes for authenticating Google accounts.
Classes
| AccountChangeEvent | AccountChangeEvent instances are Parcelables that contain data about an event for an account (e.g., the account was added, modified, etc.). |
| AccountChangeEventsRequest | Requests for
AccountChangeEvents. |
| AccountChangeEventsResponse | Response to a
AccountChangeEventsRequest. |
| CookieUtil | Helper class to build the cookie String from the given fields. |
| GoogleAuthUtil | GoogleAuthUtil provides static
utility methods to acquire OAuth2 tokens for Google accounts; and also to invalidate
OAuth2 tokens. |
Exceptions
| GoogleAuthException | GoogleAuthExceptions signal Google authentication errors. |
| GooglePlayServicesAvailabilityException | GooglePlayServicesAvailabilityExceptions are
special instances of UserRecoverableAuthExceptions
which are thrown when the expected Google Play services app is not available for some
reason. |
| UserRecoverableAuthException | UserRecoverableAuthExceptions signal Google authentication errors that can be recovered with user action, such as a user login. |
| UserRecoverableNotifiedException | UserRecoverableNotifiedException signals that there was a Google authentication error which can be recovered with user action and has been handled by publishing a notification for the user to act on. |