private void SafariLogin(NSNotification obj) { var url = obj.Object as NSUrl; var callback = OpenIDAuthenticator.GetLoginContinuation(_continuation); callback(url, null); OpenIDAuthenticator.UnregisterLoginContinuation(_continuation); _safariController.DismissViewController(true, null); }
private void PerformLogin(object sender, EventArgs e) { ((Button)sender).IsEnabled = false; StartPull(r => { var callback = OpenIDAuthenticator.GetOIDCCallback(); r.Authenticator = AuthenticatorFactory.CreateOpenIDAuthenticator(Manager.SharedInstance, callback); _changedHandler = CheckAuthCodeLoginComplete; }); }