From 5ccc801990f19f1ca6139f2192067b38f9d909b0 Mon Sep 17 00:00:00 2001 From: maliming Date: Sun, 3 Apr 2022 20:50:57 +0800 Subject: [PATCH] Update OpenIddict document. --- docs/en/Modules/OpenIddict.md | 21 ++++++++++++--------- 1 file changed, 12 insertions(+), 9 deletions(-) diff --git a/docs/en/Modules/OpenIddict.md b/docs/en/Modules/OpenIddict.md index 79005019b6..eb4e07c81f 100644 --- a/docs/en/Modules/OpenIddict.md +++ b/docs/en/Modules/OpenIddict.md @@ -12,14 +12,6 @@ This module implements the domain logic and database integrations, but not provi This module is based on the [Identity Module](Identity.md) and have an [integration package](https://www.nuget.org/packages/Volo.Abp.Account.Web.IdentityServer) with the [Account Module](Account.md). -## OpenIddict documentation - -For more details about OpenIddict, please refer to its official documentation and Github. - -https://documentation.openiddict.com - -https://github.com/openiddict/openiddict-core#resources - ## The module ### Demo projects @@ -96,6 +88,10 @@ PreConfigure(builder => You can also change this options via `PreConfigure`. +#### Automatically removing orphaned tokens/authorizations + +There is a background task in the `Domain` module (`enabled by default`) that automatically removes orphaned tokens/authorizations, you can configure `TokenCleanupOptions` to manage it. + ### ASP NET Core module This module integrates ASP NET Core, with built-in MVC controllers for four protocols. It uses OpenIddict's [Pass-through mode](https://documentation.openiddict.com/guides/index.html#pass-through-mode). @@ -135,7 +131,6 @@ The `AbpDefaultOpenIddictClaimDestinationsProvider` service will add `Name`, `Em You can create a service that inherits from `IAbpOpenIddictClaimDestinationsProvider` and add it to DI to fully control the destinations of claims - ```cs public class MyClaimDestinationsProvider : IAbpOpenIddictClaimDestinationsProvider, ITransientDependency { @@ -158,6 +153,7 @@ For detailed information, please refer to: [OpenIddict claim destinations](https The `OpenIddict.Validation.AspNetCore` and `OpenIddict.Validation` are not integrated in the module, we use the authentication component provided by Microsoft. If you are more familiar with it, you can use it in your project. + ### EF Core module Implements the above four repository interfaces. @@ -169,6 +165,13 @@ Implements the above four repository interfaces. ## OpenIddict +### Documentation + +For more details about OpenIddict, please refer to its official documentation and Github. + +https://documentation.openiddict.com + +https://github.com/openiddict/openiddict-core#resources ### PKCE