diff options
author | Andrew Arnott <andrewarnott@gmail.com> | 2013-03-26 12:52:06 -0700 |
---|---|---|
committer | Andrew Arnott <andrewarnott@gmail.com> | 2013-03-26 12:52:06 -0700 |
commit | b9ae2ab289e2b9708ea3cce055ac484b00246a8a (patch) | |
tree | 28ef380a84c743075cbddf3417556e1d1bb37f49 /src/DotNetOpenAuth.OAuth2.ResourceServer | |
parent | 3d37ff45cab6838d80b22e6b782a0b9b4c2f4aeb (diff) | |
download | DotNetOpenAuth-b9ae2ab289e2b9708ea3cce055ac484b00246a8a.zip DotNetOpenAuth-b9ae2ab289e2b9708ea3cce055ac484b00246a8a.tar.gz DotNetOpenAuth-b9ae2ab289e2b9708ea3cce055ac484b00246a8a.tar.bz2 |
Lots of StyleCop fixes.
Diffstat (limited to 'src/DotNetOpenAuth.OAuth2.ResourceServer')
3 files changed, 15 insertions, 3 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"); diff --git a/src/DotNetOpenAuth.OAuth2.ResourceServer/OAuth2/ResourceServer.cs b/src/DotNetOpenAuth.OAuth2.ResourceServer/OAuth2/ResourceServer.cs index e990e0b..6005b75 100644 --- a/src/DotNetOpenAuth.OAuth2.ResourceServer/OAuth2/ResourceServer.cs +++ b/src/DotNetOpenAuth.OAuth2.ResourceServer/OAuth2/ResourceServer.cs @@ -99,7 +99,7 @@ namespace DotNetOpenAuth.OAuth2 { /// <summary> /// Discovers what access the client should have considering the access token in the current request. /// </summary> - /// <param name="request">The HTTP request message.</param> + /// <param name="requestMessage">The request message.</param> /// <param name="cancellationToken">The cancellation token.</param> /// <param name="requiredScopes">The set of scopes required to approve this request.</param> /// <returns> diff --git a/src/DotNetOpenAuth.OAuth2.ResourceServer/OAuth2/StandardAccessTokenAnalyzer.cs b/src/DotNetOpenAuth.OAuth2.ResourceServer/OAuth2/StandardAccessTokenAnalyzer.cs index 3bd0324..6137cff 100644 --- a/src/DotNetOpenAuth.OAuth2.ResourceServer/OAuth2/StandardAccessTokenAnalyzer.cs +++ b/src/DotNetOpenAuth.OAuth2.ResourceServer/OAuth2/StandardAccessTokenAnalyzer.cs @@ -31,8 +31,9 @@ namespace DotNetOpenAuth.OAuth2 { } /// <summary> - /// Initializes a new instance of the <see cref="StandardAccessTokenAnalyzer"/> class. + /// Initializes a new instance of the <see cref="StandardAccessTokenAnalyzer" /> class. /// </summary> + /// <param name="symmetricKeyStore">The symmetric key store.</param> public StandardAccessTokenAnalyzer(ICryptoKeyStore symmetricKeyStore) { Requires.NotNull(symmetricKeyStore, "symmetricKeyStore"); this.SymmetricKeyStore = symmetricKeyStore; @@ -50,6 +51,12 @@ namespace DotNetOpenAuth.OAuth2 { /// <value>The resource server private encryption key.</value> public RSACryptoServiceProvider ResourceServerPrivateEncryptionKey { get; private set; } + /// <summary> + /// Gets the symmetric key store. + /// </summary> + /// <value> + /// The symmetric key store. + /// </value> public ICryptoKeyStore SymmetricKeyStore { get; private set; } /// <summary> |