summaryrefslogtreecommitdiffstats
path: root/src/OAuth/OAuthAuthorizationServer/Code/OAuth2AuthorizationServer.cs
diff options
context:
space:
mode:
authorDavid Christiansen <coding@davedoes.net>2013-08-16 15:00:47 -0700
committerDavid Christiansen <coding@davedoes.net>2013-08-16 15:00:47 -0700
commitfbb147cdf20a254f71aa35f308b4692ff50349b9 (patch)
tree9931c8ba9eea4401cfbd16985a097b2faa2b83bd /src/OAuth/OAuthAuthorizationServer/Code/OAuth2AuthorizationServer.cs
parentc486bd7b0eb6a57780fe106a4a3d815255605a38 (diff)
parent95ae4480e7c967b57d66d25236210c11065fb50e (diff)
downloadDotNetOpenAuth.Samples-fbb147cdf20a254f71aa35f308b4692ff50349b9.zip
DotNetOpenAuth.Samples-fbb147cdf20a254f71aa35f308b4692ff50349b9.tar.gz
DotNetOpenAuth.Samples-fbb147cdf20a254f71aa35f308b4692ff50349b9.tar.bz2
Merge pull request #6 from DavidChristiansen/develop
Package and Yammer update
Diffstat (limited to 'src/OAuth/OAuthAuthorizationServer/Code/OAuth2AuthorizationServer.cs')
-rw-r--r--src/OAuth/OAuthAuthorizationServer/Code/OAuth2AuthorizationServer.cs12
1 files changed, 10 insertions, 2 deletions
diff --git a/src/OAuth/OAuthAuthorizationServer/Code/OAuth2AuthorizationServer.cs b/src/OAuth/OAuthAuthorizationServer/Code/OAuth2AuthorizationServer.cs
index eb7f1f5..aa9f3e6 100644
--- a/src/OAuth/OAuthAuthorizationServer/Code/OAuth2AuthorizationServer.cs
+++ b/src/OAuth/OAuthAuthorizationServer/Code/OAuth2AuthorizationServer.cs
@@ -31,7 +31,11 @@
#region Implementation of IAuthorizationServerHost
- public ICryptoKeyStore CryptoKeyStore {
+ public AutomatedAuthorizationCheckResponse CheckAuthorizeClientCredentialsGrant(IAccessTokenRequest accessRequest) {
+ throw new NotImplementedException();
+ }
+
+ public ICryptoKeyStore CryptoKeyStore {
get { return MvcApplication.KeyNonceStore; }
}
@@ -78,7 +82,11 @@
return this.IsAuthorizationValid(authorization.Scope, authorization.ClientIdentifier, authorization.UtcIssued, authorization.User);
}
- public bool TryAuthorizeResourceOwnerCredentialGrant(string userName, string password, IAccessTokenRequest accessRequest, out string canonicalUserName) {
+ public AutomatedUserAuthorizationCheckResponse CheckAuthorizeResourceOwnerCredentialGrant(string userName, string password, IAccessTokenRequest accessRequest) {
+ throw new NotImplementedException();
+ }
+
+ public bool TryAuthorizeResourceOwnerCredentialGrant(string userName, string password, IAccessTokenRequest accessRequest, out string canonicalUserName) {
// This web site delegates user authentication to OpenID Providers, and as such no users have local passwords with this server.
throw new NotSupportedException();
}