File tree Expand file tree Collapse file tree 5 files changed +1
-8
lines changed
src/main/java/com/boot/auth/starter Expand file tree Collapse file tree 5 files changed +1
-8
lines changed Original file line number Diff line number Diff line change 3
3
## 重要声明
4
4
* 本分支由` 1.0.7 ` 为第一个版本,此版本默认提供` guava ` 存储令牌的功能
5
5
* 根据` guava ` 的缓存特性,提供了` 2 ` 种缓存方案(` LoadingCache、Cache ` )
6
- * 如果需要使用` redis ` 存储方案,参考: [ 四、自定义功能及开发] ( #jump ) ;或请直接使用` 1.0.5 ` 版本(它的源代码位于 ` master ` 分支)
6
+ * 如果需要使用` redis ` 存储方案,参考: [ 四、自定义功能及开发] ( #jump ) ;或请直接使用` 1.0.5 ` 版本
7
7
8
8
## 一、使用前需要的准备
9
9
* maven中央仓库地址 [ 其他方式集成] ( https://search.maven.org/artifact/com.github.liuchengts/spring-boot-auth-starter )
Original file line number Diff line number Diff line change 3
3
import org .springframework .boot .context .properties .ConfigurationProperties ;
4
4
import org .springframework .stereotype .Component ;
5
5
6
- import java .util .List ;
7
-
8
6
@ Component
9
7
@ ConfigurationProperties (prefix = "info.auth" )
10
8
public class AuthProperties {
Original file line number Diff line number Diff line change 10
10
import com .boot .auth .starter .utils .CookieUtils ;
11
11
import com .fasterxml .jackson .databind .ObjectMapper ;
12
12
import org .slf4j .LoggerFactory ;
13
- import org .springframework .beans .factory .annotation .Autowired ;
14
13
import org .springframework .stereotype .Component ;
15
14
import org .springframework .util .StringUtils ;
16
15
Original file line number Diff line number Diff line change 10
10
import org .springframework .stereotype .Component ;
11
11
import org .springframework .util .StringUtils ;
12
12
13
- import java .util .HashMap ;
14
- import java .util .List ;
15
- import java .util .Map ;
16
13
import java .util .concurrent .Callable ;
17
14
import java .util .concurrent .ExecutionException ;
18
15
Original file line number Diff line number Diff line change 4
4
import com .boot .auth .starter .service .OutJsonService ;
5
5
import com .boot .auth .starter .vo .DefaultResponseVO ;
6
6
import com .fasterxml .jackson .databind .ObjectMapper ;
7
- import org .springframework .beans .factory .annotation .Autowired ;
8
7
import org .springframework .stereotype .Component ;
9
8
10
9
@ Component
You can’t perform that action at this time.
0 commit comments