2 changed files with 76 additions and 0 deletions
@ -0,0 +1,38 @@ |
|||
# LINGYUN.Abp.Security |
|||
|
|||
## Module Description |
|||
|
|||
Extends the Abp Security module, providing additional security features. |
|||
|
|||
### Base Modules |
|||
|
|||
* Volo.Abp.Security |
|||
|
|||
### Features |
|||
|
|||
* Provides JWT Claims type mapping functionality |
|||
* Extends standard JWT Claims type definitions |
|||
|
|||
### Configuration |
|||
|
|||
No special configuration items |
|||
|
|||
### How to Use |
|||
|
|||
1. Add `AbpSecurityModule` dependency |
|||
|
|||
```csharp |
|||
[DependsOn(typeof(AbpSecurityModule))] |
|||
public class YouProjectModule : AbpModule |
|||
{ |
|||
} |
|||
``` |
|||
|
|||
2. Use JWT Claims mapping |
|||
|
|||
```csharp |
|||
// JWT Claims type mapping is done automatically, no manual configuration needed |
|||
// If you need custom mapping, you can configure it in the module's ConfigureServices method |
|||
``` |
|||
|
|||
[Back to TOC](../../../README.md) |
|||
@ -0,0 +1,38 @@ |
|||
# LINGYUN.Abp.Security |
|||
|
|||
## 模块说明 |
|||
|
|||
扩展 Abp Security 模块,提供额外的安全功能。 |
|||
|
|||
### 基础模块 |
|||
|
|||
* Volo.Abp.Security |
|||
|
|||
### 功能定义 |
|||
|
|||
* 提供 JWT Claims 类型映射功能 |
|||
* 扩展了标准的 JWT Claims 类型定义 |
|||
|
|||
### 配置定义 |
|||
|
|||
无特殊配置项 |
|||
|
|||
### 如何使用 |
|||
|
|||
1. 添加 `AbpSecurityModule` 依赖 |
|||
|
|||
```csharp |
|||
[DependsOn(typeof(AbpSecurityModule))] |
|||
public class YouProjectModule : AbpModule |
|||
{ |
|||
} |
|||
``` |
|||
|
|||
2. 使用 JWT Claims 映射 |
|||
|
|||
```csharp |
|||
// JWT Claims 类型映射会自动完成,无需手动配置 |
|||
// 如果需要自定义映射,可以在模块的 ConfigureServices 方法中进行配置 |
|||
``` |
|||
|
|||
[返回目录](../../../README.md) |
|||
Loading…
Reference in new issue