diff options
author | David Christiansen <coding@davedoes.net> | 2013-08-16 22:21:00 +0100 |
---|---|---|
committer | David Christiansen <coding@davedoes.net> | 2013-08-16 22:21:00 +0100 |
commit | dfdaff9a8a7006731b696dda6c01468ddbbce9b8 (patch) | |
tree | ad6a610216f5c92162893e1adda6d4bf3f4c68df /src/OAuth/OAuthAuthorizationServer/Code/OAuth2AuthorizationServer.cs | |
parent | c486bd7b0eb6a57780fe106a4a3d815255605a38 (diff) | |
download | DotNetOpenAuth.Samples-dfdaff9a8a7006731b696dda6c01468ddbbce9b8.zip DotNetOpenAuth.Samples-dfdaff9a8a7006731b696dda6c01468ddbbce9b8.tar.gz DotNetOpenAuth.Samples-dfdaff9a8a7006731b696dda6c01468ddbbce9b8.tar.bz2 |
Package update
Diffstat (limited to 'src/OAuth/OAuthAuthorizationServer/Code/OAuth2AuthorizationServer.cs')
-rw-r--r-- | src/OAuth/OAuthAuthorizationServer/Code/OAuth2AuthorizationServer.cs | 12 |
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(); } |