diff options
author | Andrew Arnott <andrewarnott@gmail.com> | 2011-06-10 17:25:42 -0700 |
---|---|---|
committer | Andrew Arnott <andrewarnott@gmail.com> | 2011-06-10 17:25:42 -0700 |
commit | 38723163ba11fe8d153c96c942e529c9b75ba612 (patch) | |
tree | 43118c252d370bda4f5aa6e3c1d140f29853711f /samples/OAuthAuthorizationServer | |
parent | f897ab5edf023ea6ca2b36b9075bd7dfbe3a6cde (diff) | |
download | DotNetOpenAuth-38723163ba11fe8d153c96c942e529c9b75ba612.zip DotNetOpenAuth-38723163ba11fe8d153c96c942e529c9b75ba612.tar.gz DotNetOpenAuth-38723163ba11fe8d153c96c942e529c9b75ba612.tar.bz2 |
More work toward draft 16 compliance.
Diffstat (limited to 'samples/OAuthAuthorizationServer')
-rw-r--r-- | samples/OAuthAuthorizationServer/Code/OAuth2AuthorizationServer.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/samples/OAuthAuthorizationServer/Code/OAuth2AuthorizationServer.cs b/samples/OAuthAuthorizationServer/Code/OAuth2AuthorizationServer.cs index d2583a2..a29f63a 100644 --- a/samples/OAuthAuthorizationServer/Code/OAuth2AuthorizationServer.cs +++ b/samples/OAuthAuthorizationServer/Code/OAuth2AuthorizationServer.cs @@ -53,7 +53,7 @@ // 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 (EndUserAuthorizationRequest.ResponseType == EndUserAuthorizationResponseTypes.AuthorizationCode) { + if (EndUserAuthorizationRequest.ResponseType == EndUserAuthorizationResponseType.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 = MvcApplication.DataContext.Clients.First(c => c.ClientIdentifier == authorizationRequest.ClientIdentifier); |