summaryrefslogtreecommitdiffstats
path: root/src/DotNetOpenAuth.OpenId.RelyingParty.UI/OpenId/RelyingParty/PopupBehavior.cs
blob: e84f4f5880581781cca62e53d7e4e79cb2f129b0 (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
28
29
30
31
//-----------------------------------------------------------------------
// <copyright file="PopupBehavior.cs" company="Andrew Arnott">
//     Copyright (c) Andrew Arnott. All rights reserved.
// </copyright>
//-----------------------------------------------------------------------

namespace DotNetOpenAuth.OpenId.RelyingParty {
	/// <summary>
	/// Several ways that the relying party can direct the user to the Provider
	/// to complete authentication.
	/// </summary>
	public enum PopupBehavior {
		/// <summary>
		/// A full browser window redirect will be used to send the
		/// user to the Provider.
		/// </summary>
		Never,

		/// <summary>
		/// A popup window will be used to send the user to the Provider.
		/// </summary>
		Always,

		/// <summary>
		/// A popup window will be used to send the user to the Provider
		/// if the Provider advertises support for the popup UI extension;
		/// otherwise a standard redirect is used.
		/// </summary>
		IfProviderSupported,
	}
}