summaryrefslogtreecommitdiffstats
path: root/samples/OAuthAuthorizationServer/Code/OAuth2AuthorizationServer.cs
diff options
context:
space:
mode:
authorAndrew Arnott <andrewarnott@gmail.com>2012-05-29 18:00:36 -0700
committerAndrew Arnott <andrewarnott@gmail.com>2012-05-29 18:00:36 -0700
commit1c0bac40d9f9a8daf01e9b762d7aaceb94aa670a (patch)
tree668ce6724fa1101c300cfb0960c2e1e895d0edbf /samples/OAuthAuthorizationServer/Code/OAuth2AuthorizationServer.cs
parent7f61a61f4e9073af1f62f15f08e8f0893bffee5e (diff)
downloadDotNetOpenAuth-1c0bac40d9f9a8daf01e9b762d7aaceb94aa670a.zip
DotNetOpenAuth-1c0bac40d9f9a8daf01e9b762d7aaceb94aa670a.tar.gz
DotNetOpenAuth-1c0bac40d9f9a8daf01e9b762d7aaceb94aa670a.tar.bz2
Special handling for client credential grant type
Access token requests that carry client credential grants are now specially handled and signal to the authorization server that an authorization record should be created. More work toward #138
Diffstat (limited to 'samples/OAuthAuthorizationServer/Code/OAuth2AuthorizationServer.cs')
-rw-r--r--samples/OAuthAuthorizationServer/Code/OAuth2AuthorizationServer.cs4
1 files changed, 4 insertions, 0 deletions
diff --git a/samples/OAuthAuthorizationServer/Code/OAuth2AuthorizationServer.cs b/samples/OAuthAuthorizationServer/Code/OAuth2AuthorizationServer.cs
index a5ff728..eb7f1f5 100644
--- a/samples/OAuthAuthorizationServer/Code/OAuth2AuthorizationServer.cs
+++ b/samples/OAuthAuthorizationServer/Code/OAuth2AuthorizationServer.cs
@@ -83,6 +83,10 @@
throw new NotSupportedException();
}
+ public bool TryAuthorizeClientCredentialsGrant(IAccessTokenRequest accessRequest) {
+ throw new NotImplementedException();
+ }
+
#endregion
public bool CanBeAutoApproved(EndUserAuthorizationRequest authorizationRequest) {