Skip to content

Commit 1b9fb64

Browse files
author
luojielin
committed
feat: AuthenticationClient 保存登录态
1 parent c48b52a commit 1b9fb64

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/main/java/cn/authing/sdk/java/client/AuthenticationClient.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -148,6 +148,7 @@ public OIDCTokenResponse getAccessTokenByCode(String code) throws Exception {
148148

149149
OIDCTokenResponse deserializeOIDCResponse = deserialize(response, OIDCTokenResponse.class);
150150

151+
this.options.setAccessToken(deserializeOIDCResponse.getAccessToken());
151152
return deserializeOIDCResponse;
152153
}
153154

0 commit comments

Comments
 (0)