summaryrefslogtreecommitdiffstats
path: root/samples/OpenIdOfflineProvider/MainWindow.xaml.cs
diff options
context:
space:
mode:
Diffstat (limited to 'samples/OpenIdOfflineProvider/MainWindow.xaml.cs')
-rw-r--r--samples/OpenIdOfflineProvider/MainWindow.xaml.cs3
1 files changed, 2 insertions, 1 deletions
diff --git a/samples/OpenIdOfflineProvider/MainWindow.xaml.cs b/samples/OpenIdOfflineProvider/MainWindow.xaml.cs
index d6332dd..9b8061c 100644
--- a/samples/OpenIdOfflineProvider/MainWindow.xaml.cs
+++ b/samples/OpenIdOfflineProvider/MainWindow.xaml.cs
@@ -46,6 +46,7 @@ namespace DotNetOpenAuth.OpenIdOfflineProvider {
/// </summary>
public MainWindow() {
this.InitializeComponent();
+ this.hostedProvider.ProcessAuthenticationRequest = request => CheckIdWindow.ProcessAuthentication(this.hostedProvider, request);
TextWriterAppender boxLogger = log4net.LogManager.GetRepository().GetAppenders().OfType<TextWriterAppender>().FirstOrDefault(a => a.Name == "TextBoxAppender");
if (boxLogger != null) {
boxLogger.Writer = new TextBoxTextWriter(logBox);
@@ -96,7 +97,7 @@ namespace DotNetOpenAuth.OpenIdOfflineProvider {
this.hostedProvider.StartProvider();
this.portLabel.Content = this.hostedProvider.ProviderEndpoint.Port;
this.opIdentifierLabel.Content = "not yet supported"; // string.Format(url, this.httpHost.Port, OPIdentifier);
- this.noIdentity.Content = this.hostedProvider.NegativeIdentitities.First().AbsoluteUri;
+ this.noIdentity.Content = this.hostedProvider.NegativeIdentities.First().AbsoluteUri;
this.yesIdentity.Content = this.hostedProvider.AffirmativeIdentities.First().AbsoluteUri;
}