Ejemplo n.º 1
0
		protected void providerEndpoint1_AuthenticationChallenge(object sender, AuthenticationChallengeEventArgs e) {
			this.RegisterAsyncTask(
				new PageAsyncTask(
					async ct => {
						await Util.ProcessAuthenticationChallengeAsync(e.Request, ct);
					}));
		}
Ejemplo n.º 2
0
		protected void provider_AuthenticationChallenge(object sender, AuthenticationChallengeEventArgs e) {
			// We store the request in the user's session so that
			// redirects and user prompts can appear and eventually some page can decide
			// to respond to the OpenID authentication request either affirmatively or
			// negatively.
			ProviderEndpoint.PendingRequest = e.Request;

			Code.Util.ProcessAuthenticationChallenge(e.Request);
		}
		protected void providerEndpoint1_AuthenticationChallenge(object sender, AuthenticationChallengeEventArgs e) {
			Util.ProcessAuthenticationChallenge(e.Request);
		}