summaryrefslogtreecommitdiffstats
path: root/src/DotNetOpenAuth.OpenId.Provider.UI/OpenId/Provider/AuthenticationChallengeEventArgs.cs
blob: c959e832b67befc690b215a457db6c491a90a9be (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
//-----------------------------------------------------------------------
// <copyright file="AuthenticationChallengeEventArgs.cs" company="Outercurve Foundation">
//     Copyright (c) Outercurve Foundation. All rights reserved.
// </copyright>
//-----------------------------------------------------------------------

namespace DotNetOpenAuth.OpenId.Provider {
	using System;

	/// <summary>
	/// The event arguments that include details of the incoming request.
	/// </summary>
	public class AuthenticationChallengeEventArgs : EventArgs {
		/// <summary>
		/// Initializes a new instance of the <see cref="AuthenticationChallengeEventArgs"/> class.
		/// </summary>
		/// <param name="request">The incoming authentication request.</param>
		internal AuthenticationChallengeEventArgs(IAuthenticationRequest request) {
			this.Request = request;
		}

		/// <summary>
		/// Gets the incoming authentication request.
		/// </summary>
		public IAuthenticationRequest Request { get; internal set; }
	}
}