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

namespace DotNetOpenAuth.OAuth2.ChannelElements {
	using System;
	using System.Collections.Generic;
	using System.Linq;
	using System.Text;
	using System.Xml;

	/// <summary>
	/// An interface that defines the OAuth2 client specific channel additions.
	/// </summary>
	internal interface IOAuth2ChannelWithClient {
		/// <summary>
		/// Gets or sets the identifier by which this client is known to the Authorization Server.
		/// </summary>
		string ClientIdentifier { get; set; }

		/// <summary>
		/// Gets or sets the client credentials applicator extension to use.
		/// </summary>
		ClientCredentialApplicator ClientCredentialApplicator { get; set; }

		/// <summary>
		/// Gets quotas used when deserializing JSON.
		/// </summary>
		XmlDictionaryReaderQuotas JsonReaderQuotas { get; }
	}
}