mirror of
https://gitee.com/yadong.zhang/JustAuth.git
synced 2026-01-07 19:31:48 +08:00
📝 补充文档:自定义state缓存、自定义实现oauth等
This commit is contained in:
parent
4e0fe3ba33
commit
a23610c8b8
@ -187,8 +187,9 @@ public class AuthMyGitlabRequest extends AuthDefaultRequest {
|
||||
}
|
||||
```
|
||||
|
||||
## 使用`AuthMyGitlabRequest`实现Gitlab登录
|
||||
## 测试效果
|
||||
|
||||
创建`AuthMyGitlabRequest`
|
||||
```java
|
||||
AuthRequest authRequest = new AuthMyGitlabRequest(AuthConfig.builder()
|
||||
.clientId("63398e403231d4aa7e856cf5413620d536a876cb94e8d10ced0d3191b5d1d246")
|
||||
@ -199,7 +200,7 @@ AuthRequest authRequest = new AuthMyGitlabRequest(AuthConfig.builder()
|
||||
|
||||
> 注:完整代码都在[JustAuth-demo](https://github.com/justauth/JustAuth-demo)Demo项目中,本节只讲解关键代码
|
||||
|
||||
## 效果
|
||||
登录后的效果为
|
||||
|
||||

|
||||

|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user