/// <summary>
        /// Returns an id token for the user.
        /// </summary>
        /// <returns>
        /// An id token for the user.
        /// </returns>
        public string GetIdToken()
        {
            if (mClient != null)
            {
                return mClient.GetIdToken();
            }

            return null;
        }
Exemplo n.º 2
0
        /// <summary>
        /// Returns an id token for the user.
        /// </summary>
        /// <returns>
        /// An id token for the user.
        /// </returns>
        public string GetIdToken()
        {
            if (mClient != null)
            {
                return(mClient.GetIdToken());
            }

            return(null);
        }
 public string GetIdToken()
 {
     if (mClient != null)
     {
         return(mClient.GetIdToken());
     }
     Logger.e("No client available, returning null.");
     return(null);
 }
 /// <summary>
 /// Get an id token for the user.
 /// </summary>
 /// <param name="idTokenCallback"> A callback to be invoked after token is retrieved. Will be passed null value
 /// on failure. </param>
 public void GetIdToken(Action <string> idTokenCallback)
 {
     if (mClient != null)
     {
         mClient.GetIdToken(idTokenCallback);
     }
     else
     {
         GooglePlayGames.OurUtils.Logger.e(
             "No client available, calling back with null.");
         idTokenCallback(null);
     }
 }