diff options
author | Andrew Arnott <andrewarnott@gmail.com> | 2011-05-28 08:46:07 -0700 |
---|---|---|
committer | Andrew Arnott <andrewarnott@gmail.com> | 2011-05-28 08:51:19 -0700 |
commit | 049482bbc34e9ffabe3a735e7a00f5f3c5fbab10 (patch) | |
tree | edef69cfb18ccf7bf0fbe2429c918b66f4b3ff5b /projecttemplates/RelyingPartyLogic/OAuthAuthorizationServer.cs | |
parent | 6cab4fb3502bad297f221f25cb5c3cc232d700f0 (diff) | |
download | DotNetOpenAuth-049482bbc34e9ffabe3a735e7a00f5f3c5fbab10.zip DotNetOpenAuth-049482bbc34e9ffabe3a735e7a00f5f3c5fbab10.tar.gz DotNetOpenAuth-049482bbc34e9ffabe3a735e7a00f5f3c5fbab10.tar.bz2 |
FxCop fixes.
Diffstat (limited to 'projecttemplates/RelyingPartyLogic/OAuthAuthorizationServer.cs')
-rw-r--r-- | projecttemplates/RelyingPartyLogic/OAuthAuthorizationServer.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/projecttemplates/RelyingPartyLogic/OAuthAuthorizationServer.cs b/projecttemplates/RelyingPartyLogic/OAuthAuthorizationServer.cs index f0608d5..69757be 100644 --- a/projecttemplates/RelyingPartyLogic/OAuthAuthorizationServer.cs +++ b/projecttemplates/RelyingPartyLogic/OAuthAuthorizationServer.cs @@ -98,7 +98,7 @@ namespace RelyingPartyLogic { // NEVER issue an auto-approval to a client that would end up getting an access token immediately // (without a client secret), as that would allow ANY client to spoof an approved client's identity // and obtain unauthorized access to user data. - if (authorizationRequest.ResponseType == EndUserAuthorizationResponseType.AuthorizationCode) { + if (EndUserAuthorizationRequest.ResponseType == EndUserAuthorizationResponseTypes.AuthorizationCode) { // Never issue auto-approval if the client secret is blank, since that too makes it easy to spoof // a client's identity and obtain unauthorized access. var requestingClient = Database.DataContext.Clients.First(c => c.ClientIdentifier == authorizationRequest.ClientIdentifier); |