354 Commits (aa6dbef6b56c4c01d4b5a0b93695ab7553d70dfd)

Author SHA1 Message Date
Kévin Chalet c56a1a355f Move PruneAsync() to the authorization/token stores to allow creating more efficient implementations 8 years ago
Kévin Chalet fff1284a2a Update the services.AddOpenIddict() extension to automatically register the memory cache services 8 years ago
Kévin Chalet 57676d7613 Update OpenIddictApplicationStore/OpenIddictAuthorizationStore.DeleteAsync() to work around an Entity Framework Core bug 8 years ago
Kévin Chalet e51eb529d7 Add missing null checks in the authorization manager/store 8 years ago
Kévin Chalet c531d79504 Add new OpenIddictAuthorizationManager.FindAsync() overloads 8 years ago
Kévin Chalet 1fca7238a1 Fix OpenIddictAuthorizationManager.PruneInvalidAsync() to use ListInvalidAsync() 8 years ago
Kévin Chalet 4d8914bbe6 Update the OpenIddictAuthorizationManager.CreateAsync() method to require the authorization type 8 years ago
Kévin Chalet 176af6281a Update OpenIddictAuthorizationManager/OpenIddictTokenManager.PruneInvalidAsync() to re-throw exceptions 8 years ago
Kévin Chalet efce0af499 Introduce OpenIddictApplication.ConsentType and add new authorization helpers 8 years ago
Kévin Chalet 595012507e Add a new DisplayName property to OpenIddictScope/OpenIddictScopeDescriptor 8 years ago
Kévin Chalet b3de8b998e Introduce OpenIddictScope.Resources and OpenIddictScopeManager.ListResourcesAsync() 8 years ago
Kévin Chalet 86338e6ea2 Introduce new validation checks in OpenIddictApplicationManager.ValidateAsync() to ensure app permissions are consistent 8 years ago
Kévin Chalet e0975fb283 Update the introspection endpoint to only accept access tokens with an explicit audience attached 8 years ago
Kévin Chalet f503fb7e7a Cache permissions, redirect_uris and post_logout_redirect_uris in memory 8 years ago
Kévin Chalet cb05ebc769 Introduce scope permissions, add opt-in scope validation support and rework existing permissions 8 years ago
Kévin Chalet 418cbc9d3d Introduce OpenIddictAuthorizationManager.PruneInvalidAsync() and OpenIddictTokenManager.PruneInvalidAsync() 8 years ago
Kévin Chalet 75e6237996 Make the ValidateAsync() manager methods public and update them to return ValidationResult instances 8 years ago
Kévin Chalet e189c829a6 Change the default log level of various messages 8 years ago
Kévin Chalet 5fc0f4cad8 Avoid returning an error when extending the lifetime of a refresh token or revoking previous tokens fails 8 years ago
Kévin Chalet 6b52ed4774 Simplify the OpenIddictProvider.ProcessSigninResponse() logic 8 years ago
Kévin Chalet bc6440ae9e Avoid changing the status of the token used in the token request when revoking previous tokens 8 years ago
Henk Mollema a2d6258ccb Replace CryptoHelper by CryptoHelper.StrongName in OpenIddict 1.x 8 years ago
Henk Mollema a0654c6571 Replace CryptoHelper by CryptoHelper.StrongName in OpenIddict 2.x 8 years ago
Kévin Chalet 40a6f4b85f Update the application/token managers to throw an exception when trying to create a duplicate entry 8 years ago
Kévin Chalet 611e4a521a Avoid using HttpContext.RequestAborted in the provider classes 8 years ago
Kévin Chalet 6471384676 Remove built-in support for the none flow 8 years ago
Kévin Chalet 4f57d16b66 Introduce new methods in the authorization manager 8 years ago
Kévin Chalet 173c89231f Make the CreateAsync() API consistent with DeleteAsync()/UpdateAsync() 8 years ago
Kévin Chalet 7b65cccb7a Introduce a new FindAsync method allowing to retrieve all the authorizations satisfying the specified client/subject/scopes requirements 8 years ago
Kévin Chalet 721646357d Make the CancellationToken parameters optional in the managers APIs 8 years ago
Kévin Chalet 98651b9e34 Update OpenIddictApplication.PostLogoutRedirectUris/RedirectUris and OpenIddictAuthorization.Scopes to be stored as JSON arrays 8 years ago
Kévin Chalet c079027ca7 Introduce full support for application permissions 8 years ago
Kévin Chalet fb5d8c9351 Introduce OpenIddictApplication/Authorization/Scope/Token.Properties as a way to store untyped properties in the database 8 years ago
Kévin Chalet 9bae6740db Cache the TApplication/TToken entities in the request properties to avoid multiple stores calls 8 years ago
Kévin Chalet f11b4fdb4e Remove the generic OpenIddictExtension class 8 years ago
Kévin Chalet 857820d6f9 Fix invalid XML documentation in the scopes manager/store 8 years ago
Kévin Chalet 41a19beb41 Introduce IOpenIddictScopeStore/OpenIddictScopeManager.FindByIdAsync()/GetIdAsync() 8 years ago
Kévin Chalet 01ab603723 Introduce OpenIddictApplicationManager.GetPostLogoutRedirectUrisAsync()/GetRedirectUrisAsync() 8 years ago
Kévin Chalet a19f5e81ff Rename OpenIddictToken.Ciphertext/Hash to Payload/ReferenceId and add new methods to allow overriding the default obfuscation 8 years ago
Kévin Chalet bddfdb74be Add "state" parameters to the GetAsync()/ListAsync() stores methods to avoid closure allocations 8 years ago
Kévin Chalet 02d5ff7100 Update the authorizations/tokens stores to eagerly load the associated applications/authorizations 8 years ago
Kévin Chalet 07177df0d3 Rework the applications/authorizations/scopes/tokens stores methods 8 years ago
Kévin Chalet 5c1eaff415 Use FirstOrDefaultAsync() instead of SingleOrDefaultAsync() to avoid generating SELECT TOP(2) SQL requests 8 years ago
Kévin Chalet 83eddce4f4 Use ToListAsync() instead of ToArrayAsync() to save an intermediate allocation 8 years ago
Kévin Chalet 37e24a5e76 Replace the Timestamp properties by new ConcurrencyToken properties to work around a MySQL limitation 8 years ago
Kévin Chalet 5ce37e4ad2 Update OpenIddictAuthorizationManager.FindAsync() to return an array of authorizations instead of a single element 8 years ago
Kévin Chalet 8db7c49a43 Fix the Entity Framework 6.x authorizations/tokens stores to use the FindAsync() method correctly 8 years ago
Kévin Chalet a5376d46f0 Update IOpenIddictTokenStore.FindByApplicationIdAsync()/FindByAuthorizationIdAsync() to work around an Entity Framework bug 8 years ago
Kévin Chalet 6116ba2d7d Replace IOpenIddictApplicationStore.GetTokensAsync() by IOpenIddictTokenStore.FindByApplicationIdAsync() 8 years ago
Kévin Chalet 59b29d2d23 Optimization: update SetPostLogoutRedirectUrisAsync() and SetRedirectUrisAsync() to avoid running checks for default or empty arrays 8 years ago