summaryrefslogtreecommitdiffstats
path: root/samples/OAuthAuthorizationServer/Code/OAuth2AuthorizationServer.cs
Commit message (Collapse)AuthorAgeFilesLines
* Authorization servers can override the granted scopes for all grant types.Andrew Arnott2012-10-301-2/+2
| | | | | | This change adds the ability for authorization servers to override the granted scopes of client credential and resource owner password grant types. Fixes #225
* Special handling for client credential grant typeAndrew Arnott2012-05-291-0/+4
| | | | | | | | 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
* Resource owner password grant method renameAndrew Arnott2012-05-291-1/+1
| | | | | | | | | | | | Renamed IAuthorizationServerHost.IsResourceOwnerCredentialValid to TryAuthorizeResourceOwnerCredentialGrant so that authorization servers are prepared to approve refresh tokens that may be issued as a result of a resource owner password grant. This also removes some of the "validation" that wasn't really doing anything useful for resource owner password grant types. Toward an eventual fix for #138
* Authorization Server hosts now instantiate their own AccessTokens rather ↵Andrew Arnott2012-04-251-7/+8
| | | | | | | than just parameters. AccessTokens are now serialized via a virtual method on that instance. Fixes #38, I think.
* Authorization server hosts may now provide canonical usernames for the ↵Andrew Arnott2012-04-161-1/+1
| | | | | | resource owner given correct resource owner credentials. Fixes #103
* Authorization servers now gain insight into the calling client when ↵Andrew Arnott2012-04-151-1/+1
| | | | | | validating resource owner credential grant type requests. Fixes #101
* Renamed IAuthorizationServer to IAuthorizationServerHost.Andrew Arnott2012-04-081-2/+2
| | | | To avoid confusion with the concrete class AuthorizationServer.
* Corrected old name of nonce store property.Andrew Arnott2012-04-011-1/+1
|
* Moved access token signing key to the parameters object.Andrew Arnott2012-03-311-8/+4
| | | | | | This also presumably solves the threading concerns of sharing one instance. Fixes #34
* Redistributed OAuth2 code into their more specific assemblies.Andrew Arnott2012-03-161-10/+7
|
* Adds support for the resource owner password credential grant.Andrew Arnott2012-02-241-2/+7
| | | | Fixes #72
* Renamed IConsumerDescription to IClientDescription.Andrew Arnott2012-02-121-1/+1
|
* Fixed StyleCop messages.Andrew Arnott2011-06-231-2/+2
|
* Split up the PrepareAccessToken method.Andrew Arnott2011-06-221-9/+15
|
* Access token lifetimes are now controlled by the IAuthorizationServer ↵Andrew Arnott2011-06-161-5/+14
| | | | | | instance supplied by the host. It is consistent whether the access token is obtained via implicit grant or from a refresh token.
* Implicit grants are now sort of working on the authorization server side.unknown2011-06-151-9/+41
| | | | | | Still to do: * Ensure no auto-authorize of access tokens based on previous authorizations for the unauthenticated client. * Provide the authorization server with a way to indicate access token lifetime, and to veto the request based on the requested scopes being too dangerous for the less secure implicit grant type.
* Fixed a few build breaks.Andrew Arnott2011-06-111-1/+1
|
* More work toward draft 16 compliance.Andrew Arnott2011-06-101-1/+1
|
* FxCop fixes.Andrew Arnott2011-05-281-1/+1
|
* Various fixes to the sample OAuth 2.0 Authorization Server sample.Andrew Arnott2011-05-271-0/+4
|
* Allowed for cycling of symmetric cryptographic keys by replacing the ↵Andrew Arnott2011-05-271-26/+9
| | | | | | effectively constant byte[] secret with a new ICryptoKeyStore throughout the OAuth 2 and OpenID stacks. And StyleCop fixes.
* StyleCop fixes.Andrew Arnott2011-05-201-50/+50
|
* Removed redundant code and increased key length for OAuth 2.0 authorization ↵Andrew Arnott2011-05-101-1/+1
| | | | server sample.
* Fixed static field initialization.Andrew Arnott2011-04-071-32/+34
|
* Fixed non-thread-safe use of RsaCryptoServiceProvider instances.Andrew Arnott2011-04-071-5/+17
|
* Replaced OAuth2 API demands for RSAParameters with demands for ↵Andrew Arnott2011-04-061-2/+7
| | | | | | | | RSACryptoServiceProvider. This allows for servers that have non-exportable private keys to still use those private keys for signing and decryption. Closes #16
* Split the OAuthServiceProvider sample into two samples: ↵Andrew Arnott2010-07-311-0/+133
OAuthAuthorizationServer and OAuthResourceServer. Renamed OAuthConsumer to OAuthClient.