private void _btnSignin_Click(object sender, RoutedEventArgs e)
        {
            var dialog = new AcsSignInWindow()
            {
                AcsNamespace = "ttacssample",
                Realm        = Constants.Realm,
                Owner        = this
            };

            if (dialog.ShowDialog().Value)
            {
                RSTR           = dialog.Response;
                _txtDebug.Text = RSTR.SecurityTokenString;
            }
        }
示例#2
0
 private void OnScriptNotify(object sender, ScriptNotifyEventArgs e)
 {
     this.Response     = JSNotifyRequestSecurityTokenResponse.FromJson(e.Data);
     this.DialogResult = true;
     this.Close();
 }