示例#1
0
 public void AddAuthIdentity(AuthIdentity authIdentity, Action onComplete, Action <GetSocialError> onFailure, Action <ConflictUser> onConflict)
 {
     _gs_addAuthIdentity(authIdentity.ToJson(),
                         Callbacks.ActionCallback, onComplete.GetPointer(),
                         Callbacks.FailureCallback, onFailure.GetPointer(),
                         UserConflictCallback.OnUserAuthConflict, onConflict.GetPointer());
 }
示例#2
0
 public void SwitchUser(AuthIdentity authIdentity, Action onSuccess, Action <GetSocialError> onFailure)
 {
     _gs_switchUser(authIdentity.ToJson(),
                    Callbacks.ActionCallback, onSuccess.GetPointer(),
                    Callbacks.FailureCallback, onFailure.GetPointer());
 }