blob: 89e14f4139c846710506d543c5e56f42db2f27f5 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
namespace OpenIdProviderWebForms {
using System;
using DotNetOpenAuth.OpenId.Provider;
/// <summary>
/// This is the primary page for this open-id provider.
/// This page is responsible for handling all open-id compliant requests.
/// </summary>
public partial class server : System.Web.UI.Page {
protected void Page_Load(object src, System.EventArgs evt) {
this.serverEndpointUrl.Text = Request.Url.ToString();
}
protected void provider_AuthenticationChallenge(object sender, AuthenticationChallengeEventArgs e) {
Code.Util.ProcessAuthenticationChallenge(e.Request);
}
protected void provider_AnonymousRequest(object sender, AnonymousRequestEventArgs e) {
Code.Util.ProcessAnonymousRequest(e.Request);
}
}
}
|