mirror of
https://gitee.com/yadong.zhang/JustAuth.git
synced 2025-12-06 08:48:27 +08:00
📝 补充文档说明
This commit is contained in:
parent
e1a4688ac0
commit
d75d91db0d
@ -167,6 +167,8 @@ System.out.println(authRequest.authorize(AuthStateUtils.createState()));
|
||||
AuthRequest authRequest = AuthRequestBuilder.builder()
|
||||
// 关键点:将自定义实现的 AuthSource 配置上
|
||||
.extendSource(AuthExtendSource.values())
|
||||
// source 对应 AuthExtendSource 中的枚举 name
|
||||
.source("other")
|
||||
// ... 其他内容不变,参考上面的示例
|
||||
.build();
|
||||
```
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user