summaryrefslogtreecommitdiffstats
path: root/src/DotNetOpenAuth.OAuth2.ResourceServer/OAuth2/ChannelElements/OAuth2ResourceServerChannel.cs
diff options
context:
space:
mode:
authorAndrew Arnott <andrewarnott@gmail.com>2013-03-26 12:52:06 -0700
committerAndrew Arnott <andrewarnott@gmail.com>2013-03-26 12:52:06 -0700
commitb9ae2ab289e2b9708ea3cce055ac484b00246a8a (patch)
tree28ef380a84c743075cbddf3417556e1d1bb37f49 /src/DotNetOpenAuth.OAuth2.ResourceServer/OAuth2/ChannelElements/OAuth2ResourceServerChannel.cs
parent3d37ff45cab6838d80b22e6b782a0b9b4c2f4aeb (diff)
downloadDotNetOpenAuth-b9ae2ab289e2b9708ea3cce055ac484b00246a8a.zip
DotNetOpenAuth-b9ae2ab289e2b9708ea3cce055ac484b00246a8a.tar.gz
DotNetOpenAuth-b9ae2ab289e2b9708ea3cce055ac484b00246a8a.tar.bz2
Lots of StyleCop fixes.
Diffstat (limited to 'src/DotNetOpenAuth.OAuth2.ResourceServer/OAuth2/ChannelElements/OAuth2ResourceServerChannel.cs')
-rw-r--r--src/DotNetOpenAuth.OAuth2.ResourceServer/OAuth2/ChannelElements/OAuth2ResourceServerChannel.cs7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/DotNetOpenAuth.OAuth2.ResourceServer/OAuth2/ChannelElements/OAuth2ResourceServerChannel.cs b/src/DotNetOpenAuth.OAuth2.ResourceServer/OAuth2/ChannelElements/OAuth2ResourceServerChannel.cs
index 1d90844..6e8f216 100644
--- a/src/DotNetOpenAuth.OAuth2.ResourceServer/OAuth2/ChannelElements/OAuth2ResourceServerChannel.cs
+++ b/src/DotNetOpenAuth.OAuth2.ResourceServer/OAuth2/ChannelElements/OAuth2ResourceServerChannel.cs
@@ -86,9 +86,11 @@ namespace DotNetOpenAuth.OAuth2.ChannelElements {
/// Gets the protocol message that may be in the given HTTP response.
/// </summary>
/// <param name="response">The response that is anticipated to contain an protocol message.</param>
+ /// <param name="cancellationToken">The cancellation token.</param>
/// <returns>
/// The deserialized message parts, if found. Null otherwise.
/// </returns>
+ /// <exception cref="System.NotImplementedException">Always thrown.</exception>
/// <exception cref="ProtocolException">Thrown when the response is not valid.</exception>
protected override Task<IDictionary<string, string>> ReadFromResponseCoreAsync(HttpResponseMessage response, CancellationToken cancellationToken) {
// We never expect resource servers to send out direct requests,
@@ -130,7 +132,10 @@ namespace DotNetOpenAuth.OAuth2.ChannelElements {
/// Searches for a bearer access token in the request.
/// </summary>
/// <param name="request">The request.</param>
- /// <returns>The bearer access token, if one exists. Otherwise <c>null</c>.</returns>
+ /// <param name="cancellationToken">The cancellation token.</param>
+ /// <returns>
+ /// The bearer access token, if one exists. Otherwise <c>null</c>.
+ /// </returns>
private static async Task<string> SearchForBearerAccessTokenInRequestAsync(HttpRequestMessage request, CancellationToken cancellationToken) {
Requires.NotNull(request, "request");