Commit 52d101b3 authored by 马超's avatar 马超

doc: 修改Token工具类说明

parent b76fff5f
# LDP 框架tokenUtils使用说明文档 # LDP 框架TokenUtils使用说明文档
本文档是帮助开发者快速熟悉LDP框架中的token使用取值。 本文档是帮助开发者快速熟悉LDP框架中的token使用取值。
...@@ -6,13 +6,18 @@ UAA-TOKEN创建新增属性:userId、userAccount、userName。 ...@@ -6,13 +6,18 @@ UAA-TOKEN创建新增属性:userId、userAccount、userName。
添加token工具类: TokenUtils 添加token工具类: TokenUtils
依赖包: 添加依赖包:
```xml
<dependency> <dependency>
<groupId>com.sinra.ldp</groupId> <groupId>com.sinra.ldp</groupId>
<artifactId>common-authlocal</artifactId> <artifactId>common-authlocal</artifactId>
<version>${ldp.version}</version> <version>${ldp.version}</version>
</dependency> </dependency>
```
代码样例:
```java ```java
import com.sinra.ldp.authlocal.util.TokenUtils; import com.sinra.ldp.authlocal.util.TokenUtils;
/** /**
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment