コード例 #1
0
        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);
        }
コード例 #2
0
 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;
     });
 }