mirror of https://gitee.com/topiam/eiam
⚡ 优化代码
parent
c83db58b59
commit
2134ae3d79
|
@ -222,7 +222,8 @@ public final class OAuth2RefreshTokenAuthenticationProvider implements Authentic
|
||||||
// @formatter:off
|
// @formatter:off
|
||||||
tokenContext = tokenContextBuilder
|
tokenContext = tokenContextBuilder
|
||||||
.tokenType(ID_TOKEN_TOKEN_TYPE)
|
.tokenType(ID_TOKEN_TOKEN_TYPE)
|
||||||
.authorization(authorizationBuilder.build()) // ID token customizer may need access to the access token and/or refresh token
|
// ID token customizer may need access to the access token and/or refresh token
|
||||||
|
.authorization(authorizationBuilder.build())
|
||||||
.build();
|
.build();
|
||||||
// @formatter:on
|
// @formatter:on
|
||||||
OAuth2Token generatedIdToken = this.tokenGenerator.generate(tokenContext);
|
OAuth2Token generatedIdToken = this.tokenGenerator.generate(tokenContext);
|
||||||
|
|
Loading…
Reference in New Issue