com.google.android.gms.auth
Stay organized with collections
Save and categorize content based on your preferences.
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
AccountChangeEvent s. |
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
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-12-09 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-12-09 UTC."],[[["\u003cp\u003eThe Google Authentication library for Android provides classes for authenticating Google accounts and handling related events.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eGoogleAuthUtil\u003c/code\u003e offers methods to obtain and revoke OAuth2 tokens for Google accounts.\u003c/p\u003e\n"],["\u003cp\u003eSeveral exception classes like \u003ccode\u003eGoogleAuthException\u003c/code\u003e and \u003ccode\u003eUserRecoverableAuthException\u003c/code\u003e handle authentication errors, some of which can be resolved through user intervention.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eAccountChangeEvent\u003c/code\u003e and related classes provide a mechanism to track changes to Google accounts on the device.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eCookieUtil\u003c/code\u003e assists in building cookie strings from specified fields, although its usage may be limited.\u003c/p\u003e\n"]]],[],null,[]]