summaryrefslogtreecommitdiffstats
path: root/src/DotNetOpenAuth.OAuth2.ResourceServer/OAuth2/ResourceServer.cs
diff options
context:
space:
mode:
authorAndrew Arnott <andrewarnott@gmail.com>2012-04-22 13:46:19 -0700
committerAndrew Arnott <andrewarnott@gmail.com>2012-04-22 13:46:19 -0700
commita376c2abb992863500cd51b6a1791c1d3fed5b6c (patch)
tree51157a43514cf3b53d92179a6023389f5db8abe4 /src/DotNetOpenAuth.OAuth2.ResourceServer/OAuth2/ResourceServer.cs
parent93d79a7974c10e4e81ed737f14a746518daa8a80 (diff)
downloadDotNetOpenAuth-a376c2abb992863500cd51b6a1791c1d3fed5b6c.zip
DotNetOpenAuth-a376c2abb992863500cd51b6a1791c1d3fed5b6c.tar.gz
DotNetOpenAuth-a376c2abb992863500cd51b6a1791c1d3fed5b6c.tar.bz2
Removed old FxCop suppression attributes.
Diffstat (limited to 'src/DotNetOpenAuth.OAuth2.ResourceServer/OAuth2/ResourceServer.cs')
-rw-r--r--src/DotNetOpenAuth.OAuth2.ResourceServer/OAuth2/ResourceServer.cs3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/DotNetOpenAuth.OAuth2.ResourceServer/OAuth2/ResourceServer.cs b/src/DotNetOpenAuth.OAuth2.ResourceServer/OAuth2/ResourceServer.cs
index be759c4..a15620e 100644
--- a/src/DotNetOpenAuth.OAuth2.ResourceServer/OAuth2/ResourceServer.cs
+++ b/src/DotNetOpenAuth.OAuth2.ResourceServer/OAuth2/ResourceServer.cs
@@ -138,7 +138,6 @@ namespace DotNetOpenAuth.OAuth2 {
/// Thrown when the client is not authorized. This exception should be caught and the
/// <see cref="ProtocolFaultResponseException.ErrorResponse"/> message should be returned to the client.
/// </exception>
- [SuppressMessage("Microsoft.Design", "CA1021:AvoidOutParameters", MessageId = "1#", Justification = "Try pattern")]
public virtual IPrincipal GetPrincipal(HttpRequestBase httpRequestInfo = null, params string[] requiredScopes) {
AccessToken accessToken = this.GetAccessToken(httpRequestInfo, requiredScopes);
@@ -169,8 +168,6 @@ namespace DotNetOpenAuth.OAuth2 {
/// Thrown when the client is not authorized. This exception should be caught and the
/// <see cref="ProtocolFaultResponseException.ErrorResponse"/> message should be returned to the client.
/// </exception>
- [SuppressMessage("Microsoft.Design", "CA1021:AvoidOutParameters", MessageId = "1#", Justification = "Try pattern")]
- [SuppressMessage("Microsoft.Design", "CA1021:AvoidOutParameters", MessageId = "2#", Justification = "Try pattern")]
public virtual IPrincipal GetPrincipal(HttpRequestMessageProperty request, Uri requestUri, params string[] requiredScopes) {
Requires.NotNull(request, "request");
Requires.NotNull(requestUri, "requestUri");