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()); }
public void SwitchUser(AuthIdentity authIdentity, Action onSuccess, Action <GetSocialError> onFailure) { _gs_switchUser(authIdentity.ToJson(), Callbacks.ActionCallback, onSuccess.GetPointer(), Callbacks.FailureCallback, onFailure.GetPointer()); }