Skip to content

Commit 1e9e103

Browse files
committed
feat: link-identity add userInfoInIdp propertiry
1 parent 48accc3 commit 1e9e103

File tree

3 files changed

+17
-2
lines changed

3 files changed

+17
-2
lines changed

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ This SDK is built upon [Authing Management API(v3)](https://api.authing.cn/opena
2525
<dependency>
2626
<groupId>cn.authing</groupId>
2727
<artifactId>authing-java-sdk</artifactId>
28-
<version>3.1.15</version>
28+
<version>3.1.16</version>
2929
</dependency>
3030
```
3131

pom.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
<groupId>cn.authing</groupId>
88
<artifactId>authing-java-sdk</artifactId>
9-
<version>3.1.15</version>
9+
<version>3.1.16</version>
1010

1111
<name>Authing Java SDK</name>
1212
<description>java backend sdk for authing</description>

src/main/java/cn/authing/sdk/java/dto/LinkIdentityDto.java

+15
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
package cn.authing.sdk.java.dto;
22

33
import java.util.List;
4+
import java.util.Map;
5+
46
import com.fasterxml.jackson.annotation.JsonProperty;
57

68

@@ -10,6 +12,11 @@ public class LinkIdentityDto {
1012
*/
1113
@JsonProperty("userIdInIdp")
1214
private String userIdInIdp;
15+
/**
16+
* 可选,用户在该外部身份源的用户信息。
17+
*/
18+
@JsonProperty("userInfoInIdp")
19+
private Map<String, Object> userInfoInIdp;
1320
/**
1421
* 必传,进行绑定操作的 Authing 用户 ID。
1522
*/
@@ -38,6 +45,14 @@ public void setUserIdInIdp(String userIdInIdp) {
3845
this.userIdInIdp = userIdInIdp;
3946
}
4047

48+
public Map<String, Object> getUserInfoInIdp() {
49+
return userInfoInIdp;
50+
}
51+
52+
public void setUserInfoInIdp(Map<String, Object> userInfoInIdp) {
53+
this.userInfoInIdp = userInfoInIdp;
54+
}
55+
4156
public String getUserId() {
4257
return userId;
4358
}

0 commit comments

Comments
 (0)