public static class ShadowGoogleAuthUtil.GoogleAuthUtilImpl
extends java.lang.Object
Class containing methods with same signatures of the static methods of GoogleAuthUtil
| Constructor and Description | 
|---|
GoogleAuthUtilImpl()  | 
| Modifier and Type | Method and Description | 
|---|---|
void | 
clearToken(android.content.Context context,
          java.lang.String token)  | 
java.util.List<com.google.android.gms.auth.AccountChangeEvent> | 
getAccountChangeEvents(android.content.Context context,
                      int eventIndex,
                      java.lang.String accountName)  | 
java.lang.String | 
getAccountId(android.content.Context ctx,
            java.lang.String accountName)  | 
java.lang.String | 
getToken(android.content.Context context,
        android.accounts.Account account,
        java.lang.String scope)  | 
java.lang.String | 
getToken(android.content.Context context,
        android.accounts.Account account,
        java.lang.String scope,
        android.os.Bundle extras)  | 
java.lang.String | 
getToken(android.content.Context context,
        java.lang.String accountName,
        java.lang.String scope)  | 
java.lang.String | 
getToken(android.content.Context context,
        java.lang.String accountName,
        java.lang.String scope,
        android.os.Bundle extras)  | 
java.lang.String | 
getTokenWithNotification(android.content.Context context,
                        android.accounts.Account account,
                        java.lang.String scope,
                        android.os.Bundle extras)  | 
java.lang.String | 
getTokenWithNotification(android.content.Context context,
                        android.accounts.Account account,
                        java.lang.String scope,
                        android.os.Bundle extras,
                        android.content.Intent callback)  | 
java.lang.String | 
getTokenWithNotification(android.content.Context context,
                        android.accounts.Account account,
                        java.lang.String scope,
                        android.os.Bundle extras,
                        java.lang.String authority,
                        android.os.Bundle syncBundle)  | 
java.lang.String | 
getTokenWithNotification(android.content.Context context,
                        java.lang.String accountName,
                        java.lang.String scope,
                        android.os.Bundle extras)  | 
java.lang.String | 
getTokenWithNotification(android.content.Context context,
                        java.lang.String accountName,
                        java.lang.String scope,
                        android.os.Bundle extras,
                        android.content.Intent callback)  | 
java.lang.String | 
getTokenWithNotification(android.content.Context context,
                        java.lang.String accountName,
                        java.lang.String scope,
                        android.os.Bundle extras,
                        java.lang.String authority,
                        android.os.Bundle syncBundle)  | 
void | 
invalidateToken(android.content.Context context,
               java.lang.String token)  | 
public void clearToken(android.content.Context context,
                       java.lang.String token)
                throws com.google.android.gms.auth.GooglePlayServicesAvailabilityException,
                       com.google.android.gms.auth.GoogleAuthException,
                       java.io.IOException
com.google.android.gms.auth.GooglePlayServicesAvailabilityExceptioncom.google.android.gms.auth.GoogleAuthExceptionjava.io.IOExceptionpublic java.util.List<com.google.android.gms.auth.AccountChangeEvent> getAccountChangeEvents(android.content.Context context,
                                                                                             int eventIndex,
                                                                                             java.lang.String accountName)
                                                                                      throws com.google.android.gms.auth.GoogleAuthException,
                                                                                             java.io.IOException
com.google.android.gms.auth.GoogleAuthExceptionjava.io.IOExceptionpublic java.lang.String getAccountId(android.content.Context ctx,
                                     java.lang.String accountName)
                              throws com.google.android.gms.auth.GoogleAuthException,
                                     java.io.IOException
com.google.android.gms.auth.GoogleAuthExceptionjava.io.IOExceptionpublic java.lang.String getToken(android.content.Context context,
                                 android.accounts.Account account,
                                 java.lang.String scope)
                          throws java.io.IOException,
                                 com.google.android.gms.auth.UserRecoverableAuthException,
                                 com.google.android.gms.auth.GoogleAuthException
java.io.IOExceptioncom.google.android.gms.auth.UserRecoverableAuthExceptioncom.google.android.gms.auth.GoogleAuthExceptionpublic java.lang.String getToken(android.content.Context context,
                                 android.accounts.Account account,
                                 java.lang.String scope,
                                 android.os.Bundle extras)
                          throws java.io.IOException,
                                 com.google.android.gms.auth.UserRecoverableAuthException,
                                 com.google.android.gms.auth.GoogleAuthException
java.io.IOExceptioncom.google.android.gms.auth.UserRecoverableAuthExceptioncom.google.android.gms.auth.GoogleAuthExceptionpublic java.lang.String getToken(android.content.Context context,
                                 java.lang.String accountName,
                                 java.lang.String scope)
                          throws java.io.IOException,
                                 com.google.android.gms.auth.UserRecoverableAuthException,
                                 com.google.android.gms.auth.GoogleAuthException
java.io.IOExceptioncom.google.android.gms.auth.UserRecoverableAuthExceptioncom.google.android.gms.auth.GoogleAuthExceptionpublic java.lang.String getToken(android.content.Context context,
                                 java.lang.String accountName,
                                 java.lang.String scope,
                                 android.os.Bundle extras)
                          throws java.io.IOException,
                                 com.google.android.gms.auth.UserRecoverableAuthException,
                                 com.google.android.gms.auth.GoogleAuthException
java.io.IOExceptioncom.google.android.gms.auth.UserRecoverableAuthExceptioncom.google.android.gms.auth.GoogleAuthExceptionpublic java.lang.String getTokenWithNotification(android.content.Context context,
                                                 android.accounts.Account account,
                                                 java.lang.String scope,
                                                 android.os.Bundle extras)
                                          throws java.io.IOException,
                                                 com.google.android.gms.auth.UserRecoverableNotifiedException,
                                                 com.google.android.gms.auth.GoogleAuthException
java.io.IOExceptioncom.google.android.gms.auth.UserRecoverableNotifiedExceptioncom.google.android.gms.auth.GoogleAuthExceptionpublic java.lang.String getTokenWithNotification(android.content.Context context,
                                                 android.accounts.Account account,
                                                 java.lang.String scope,
                                                 android.os.Bundle extras,
                                                 android.content.Intent callback)
                                          throws java.io.IOException,
                                                 com.google.android.gms.auth.UserRecoverableNotifiedException,
                                                 com.google.android.gms.auth.GoogleAuthException
java.io.IOExceptioncom.google.android.gms.auth.UserRecoverableNotifiedExceptioncom.google.android.gms.auth.GoogleAuthExceptionpublic java.lang.String getTokenWithNotification(android.content.Context context,
                                                 android.accounts.Account account,
                                                 java.lang.String scope,
                                                 android.os.Bundle extras,
                                                 java.lang.String authority,
                                                 android.os.Bundle syncBundle)
                                          throws java.io.IOException,
                                                 com.google.android.gms.auth.UserRecoverableNotifiedException,
                                                 com.google.android.gms.auth.GoogleAuthException
java.io.IOExceptioncom.google.android.gms.auth.UserRecoverableNotifiedExceptioncom.google.android.gms.auth.GoogleAuthExceptionpublic java.lang.String getTokenWithNotification(android.content.Context context,
                                                 java.lang.String accountName,
                                                 java.lang.String scope,
                                                 android.os.Bundle extras)
                                          throws java.io.IOException,
                                                 com.google.android.gms.auth.UserRecoverableNotifiedException,
                                                 com.google.android.gms.auth.GoogleAuthException
java.io.IOExceptioncom.google.android.gms.auth.UserRecoverableNotifiedExceptioncom.google.android.gms.auth.GoogleAuthExceptionpublic java.lang.String getTokenWithNotification(android.content.Context context,
                                                 java.lang.String accountName,
                                                 java.lang.String scope,
                                                 android.os.Bundle extras,
                                                 android.content.Intent callback)
                                          throws java.io.IOException,
                                                 com.google.android.gms.auth.UserRecoverableNotifiedException,
                                                 com.google.android.gms.auth.GoogleAuthException
java.io.IOExceptioncom.google.android.gms.auth.UserRecoverableNotifiedExceptioncom.google.android.gms.auth.GoogleAuthExceptionpublic java.lang.String getTokenWithNotification(android.content.Context context,
                                                 java.lang.String accountName,
                                                 java.lang.String scope,
                                                 android.os.Bundle extras,
                                                 java.lang.String authority,
                                                 android.os.Bundle syncBundle)
                                          throws java.io.IOException,
                                                 com.google.android.gms.auth.UserRecoverableNotifiedException,
                                                 com.google.android.gms.auth.GoogleAuthException
java.io.IOExceptioncom.google.android.gms.auth.UserRecoverableNotifiedExceptioncom.google.android.gms.auth.GoogleAuthExceptionpublic void invalidateToken(android.content.Context context,
                            java.lang.String token)