示例#1
0
    public void getUser(Action <FirebaseParam> onComplete, bool silent, bool returnIfNull = false)
    {
        getIdToken((string idToken) =>
        {
            if (returnIfNull && idToken == null)
            {
                return;
            }

            FirebaseParam user = new FirebaseParam();
            if (silent)
            {
                user.PrintSilent();
            }
            if (idToken != null)
            {
                user.Auth(idToken);
            }
            // Debug.LogWarning("testing httpheader");
            // Debug.LogWarning(user.HttpHeader.ToString());
            onComplete(user);
        });
    }
 public void GetValue([Optional] FirebaseParam param)
 {
 }