Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
L
ldp-docs
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
doc
ldp-docs
Commits
52d101b3
Commit
52d101b3
authored
Oct 20, 2021
by
马超
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
doc: 修改Token工具类说明
parent
b76fff5f
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
6 deletions
+11
-6
LDP框架Token工具类说明.md
开发文档/LDP框架Token工具类说明.md
+11
-6
No files found.
开发文档/LDP框架Token工具类说明.md
View file @
52d101b3
# LDP 框架
t
okenUtils使用说明文档
# LDP 框架
T
okenUtils使用说明文档
本文档是帮助开发者快速熟悉LDP框架中的token使用取值。
...
...
@@ -6,13 +6,18 @@ UAA-TOKEN创建新增属性:userId、userAccount、userName。
添加token工具类: TokenUtils
依赖包:
添加依赖包:
```
xml
<dependency>
<groupId>
com.sinra.ldp
</groupId>
<artifactId>
common-authlocal
</artifactId>
<version>
${ldp.version}
</version>
<groupId>
com.sinra.ldp
</groupId>
<artifactId>
common-authlocal
</artifactId>
<version>
${ldp.version}
</version>
</dependency>
```
代码样例:
```
java
import
com.sinra.ldp.authlocal.util.TokenUtils
;
/**
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment