1
0
mirror of synced 2026-04-23 09:59:07 +08:00

📝 更新 README.md

This commit is contained in:
Yangkai.Shen
2019-08-31 13:24:52 +08:00
parent 5c406fe4e1
commit a42c80f22d

View File

@@ -242,8 +242,6 @@ public class AuthStateConfiguration {
## 附录
### 1. 配置
`justauth` 配置列表
| 属性名 | 类型 | 默认值 | 可选项 | 描述 |
@@ -266,30 +264,3 @@ public class AuthStateConfiguration {
| `justauth.cache.type` | `com.xkcoding.justauth.properties.CacheProperties.CacheType` | default | default/redis/custom | 缓存类型default使用JustAuth默认的缓存实现redis使用默认的redis缓存实现custom用户自定义缓存实现 |
| `justauth.cache.prefix` | `string` | JUSTAUTH::STATE:: | | 缓存前缀目前只对redis缓存生效默认 JUSTAUTH::STATE:: |
| `justauth.cache.timeout` | `java.time.Duration` | 3分钟 | | 超时时长目前只对redis缓存生效默认3分钟 |
### 2. 私服
如果想体验快照版本,需要在 `pom.xml` 文件里添加如下配置
```xml
<repositories>
<!--阿里云私服-->
<repository>
<id>aliyun</id>
<name>aliyun</name>
<url>http://maven.aliyun.com/nexus/content/groups/public</url>
</repository>
<!--xkcoding 私服-->
<repository>
<id>xkcoding-nexus</id>
<name>xkcoding nexus</name>
<url>https://nexus.xkcoding.com/repository/maven-public/</url>
<releases>
<enabled>true</enabled>
</releases>
<snapshots>
<enabled>true</enabled>
</snapshots>
</repository>
</repositories>
```