예제 #1
0
        protected void Auth_Error(object sender, Xamarin.Auth.AuthenticatorErrorEventArgs e)
        {
            string msg =
                "Xamarin.Auth Error: "
            ;

            Android.Widget.Toast.MakeText(activity, msg, Android.Widget.ToastLength.Short);

            throw new ArgumentException("mc++");

            return;
        }
예제 #2
0
        public void Authentication_Error(object sender, Xamarin.Auth.AuthenticatorErrorEventArgs e)
        {
#if DEBUG
            StringBuilder sb = new StringBuilder();
            sb.AppendLine($"Message   = {e.Message}");

            DisplayAlert
            (
                "Error",
                sb.ToString(),
                "Close"
            );
#endif

            return;
        }
예제 #3
0
 public void Authentication_Error(object sender, Xamarin.Auth.AuthenticatorErrorEventArgs e)
 {
     return;
 }
예제 #4
0
 private void Authenticator_Error(object sender, Xamarin.Auth.AuthenticatorErrorEventArgs e)
 {
     throw new NotImplementedException();
 }
예제 #5
0
 private void OnOAuth2Error(object sender, Xamarin.Auth.AuthenticatorErrorEventArgs e)
 {
     LastError = e.Message;
     Debug.WriteLine(AppResources.errCloudAuth + " " + e.Message);
     LoggedIn?.Invoke(sender, new EventArgs());
 }