summaryrefslogtreecommitdiffstats
path: root/src/DotNetOpenAuth.OAuth2/OAuth2/ChannelElements/ClientAuthenticationResult.cs
blob: b0f86a9a8f4d3008458e3882ed839eb5fe13f8a1 (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
32
//-----------------------------------------------------------------------
// <copyright file="ClientAuthenticationResult.cs" company="Andrew Arnott">
//     Copyright (c) Andrew Arnott. All rights reserved.
// </copyright>
//-----------------------------------------------------------------------

namespace DotNetOpenAuth.OAuth2.ChannelElements {
	/// <summary>
	/// Describes the various levels at which client information may be extracted from an inbound message.
	/// </summary>
	public enum ClientAuthenticationResult {
		/// <summary>
		/// No client identification or authentication was discovered.
		/// </summary>
		NoAuthenticationRecognized,

		/// <summary>
		/// The client identified itself, but did not attempt to authenticate itself.
		/// </summary>
		ClientIdNotAuthenticated,

		/// <summary>
		/// The client authenticated itself (provided compelling evidence that it was who it claims to be).
		/// </summary>
		ClientAuthenticated,

		/// <summary>
		/// The client failed in an attempt to authenticate itself, claimed to be an unrecognized client, or otherwise messed up.
		/// </summary>
		ClientAuthenticationRejected,
	}
}