You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
2.6 KiB
2.6 KiB
LINGYUN.Abp.OpenIddict.Application
Introduction
LINGYUN.Abp.OpenIddict.Application is an application service layer implementation based on ABP OpenIddict, providing management functionality for OpenIddict clients, authorizations, tokens, and scopes.
Features
-
OpenIddict Client Application Management
- Create, update, and delete client applications
- Manage client basic information (client ID, secret, name, etc.)
- Configure grant types, response types, scopes, and redirect URIs
- Support custom configuration of client properties and requirements
-
OpenIddict Authorization Management
- Query and delete authorization records
- Filter authorizations by client ID, creation time, status, etc.
-
OpenIddict Token Management
- Query and delete tokens
- Filter tokens by client ID, creation time, expiration time, status, etc.
-
OpenIddict Scope Management
- Create, update, and delete scopes
- Manage scope basic information (name, description, display name, etc.)
- Support multilingual display names and descriptions
- Configure resources associated with scopes
Installation
dotnet add package LINGYUN.Abp.OpenIddict.Application
Usage
-
Add
[DependsOn(typeof(AbpOpenIddictApplicationModule))]to your module class. -
Configure permissions:
The module predefines the following permissions:
- OpenIddict.Applications: Client application management
- OpenIddict.Applications.Create: Create clients
- OpenIddict.Applications.Update: Update clients
- OpenIddict.Applications.Delete: Delete clients
- OpenIddict.Authorizations: Authorization management
- OpenIddict.Authorizations.Delete: Delete authorizations
- OpenIddict.Scopes: Scope management
- OpenIddict.Scopes.Create: Create scopes
- OpenIddict.Scopes.Update: Update scopes
- OpenIddict.Scopes.Delete: Delete scopes
- OpenIddict.Tokens: Token management
- OpenIddict.Tokens.Delete: Delete tokens
Notes
- Client application ClientId cannot be modified after creation
- Deleting a client application will also delete related authorizations and tokens
- Scope names cannot be modified after creation