summaryrefslogtreecommitdiffstats
path: root/src/DotNetOpenAuth.OAuth2.AuthorizationServer/OAuth2/ChannelElements/IOAuth2ChannelWithAuthorizationServer.cs
blob: 52470624f3b5346fc96194f5e5b77820a17df48f (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
//-----------------------------------------------------------------------
// <copyright file="IOAuth2ChannelWithAuthorizationServer.cs" company="Outercurve Foundation">
//     Copyright (c) Outercurve Foundation. All rights reserved.
// </copyright>
//-----------------------------------------------------------------------

namespace DotNetOpenAuth.OAuth2.ChannelElements {
	/// <summary>
	/// An interface on an OAuth 2 Authorization Server channel
	/// to expose the host provided authorization server object.
	/// </summary>
	internal interface IOAuth2ChannelWithAuthorizationServer {
		/// <summary>
		/// Gets the authorization server.
		/// </summary>
		/// <value>The authorization server.</value>
		IAuthorizationServerHost AuthorizationServer { get; }

		/// <summary>
		/// Gets or sets the service that checks whether a granted set of scopes satisfies a required set of scopes.
		/// </summary>
		IScopeSatisfiedCheck ScopeSatisfiedCheck { get; set; }
	}
}