Esempio n. 1
0
    /// <summary>
    /// This is only necessary to call if there is no cached user credentials on device. But calling it redundantly is harmless.
    /// </summary>
    public static void LoginWithDeviceId(SuccessHandler success, ErrorHandler failure)
    {
        SuccessHandler successWrapper = () => {
            FirePostAuthenticateActionsIfAble();
            if (success != null)
            {
                success();
            }
        };

        WaitUntilInitted(() => {
            ArbiterBinding.LoginWithDeviceId(successWrapper, failure);
        });
    }
Esempio n. 2
0
 /// <summary>
 /// This is only necessary to call if there is no cached user credentials on device. But calling it redundantly is harmless.
 /// </summary>
 public static void LoginWithDeviceId(SuccessHandler success, ErrorHandler failure)
 {
     WaitUntilInitted(() => {
         ArbiterBinding.LoginWithDeviceId(success, failure);
     });
 }