Skip to content

Commit d353600

Browse files
committed
Supported bind idp user api.
1 parent c727cd7 commit d353600

11 files changed

+686
-3
lines changed

aliyun-java-sdk-eiam/ChangeLog.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
2025-11-11 Version: 1.0.14
2+
- Supported bind idp user api.
3+
14
2025-10-30 Version: 1.0.13
25
- Supported Custom Privacy Policy.
36

aliyun-java-sdk-eiam/pom.xml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<groupId>com.aliyun</groupId>
55
<artifactId>aliyun-java-sdk-eiam</artifactId>
66
<packaging>jar</packaging>
7-
<version>1.0.13</version>
7+
<version>1.0.14</version>
88
<name>aliyun-java-sdk-eiam</name>
99
<url>http://www.aliyun.com</url>
1010
<description>Aliyun Open API SDK for Java
@@ -105,12 +105,11 @@ http://www.aliyun.com</description>
105105
<plugin>
106106
<groupId>org.sonatype.central</groupId>
107107
<artifactId>central-publishing-maven-plugin</artifactId>
108-
<version>0.8.0</version>
108+
<version>0.9.0</version>
109109
<extensions>true</extensions>
110110
<configuration>
111111
<publishingServerId>central</publishingServerId>
112112
<autoPublish>true</autoPublish>
113-
<waitUntil>published</waitUntil>
114113
</configuration>
115114
</plugin>
116115
</plugins>
Lines changed: 90 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,90 @@
1+
/*
2+
* Licensed under the Apache License, Version 2.0 (the "License");
3+
* you may not use this file except in compliance with the License.
4+
* You may obtain a copy of the License at
5+
*
6+
* http://www.apache.org/licenses/LICENSE-2.0
7+
*
8+
* Unless required by applicable law or agreed to in writing, software
9+
* distributed under the License is distributed on an "AS IS" BASIS,
10+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
11+
* See the License for the specific language governing permissions and
12+
* limitations under the License.
13+
*/
14+
15+
package com.aliyuncs.eiam.model.v20211201;
16+
17+
import com.aliyuncs.RpcAcsRequest;
18+
import com.aliyuncs.http.ProtocolType;
19+
import com.aliyuncs.http.MethodType;
20+
21+
/**
22+
* @author auto create
23+
* @version
24+
*/
25+
public class BindUserAuthnSourceMappingRequest extends RpcAcsRequest<BindUserAuthnSourceMappingResponse> {
26+
27+
28+
private String userId;
29+
30+
private String identityProviderId;
31+
32+
private String userExternalId;
33+
34+
private String instanceId;
35+
public BindUserAuthnSourceMappingRequest() {
36+
super("Eiam", "2021-12-01", "BindUserAuthnSourceMapping", "eiam");
37+
setProtocol(ProtocolType.HTTPS);
38+
setMethod(MethodType.POST);
39+
}
40+
41+
public String getUserId() {
42+
return this.userId;
43+
}
44+
45+
public void setUserId(String userId) {
46+
this.userId = userId;
47+
if(userId != null){
48+
putQueryParameter("UserId", userId);
49+
}
50+
}
51+
52+
public String getIdentityProviderId() {
53+
return this.identityProviderId;
54+
}
55+
56+
public void setIdentityProviderId(String identityProviderId) {
57+
this.identityProviderId = identityProviderId;
58+
if(identityProviderId != null){
59+
putQueryParameter("IdentityProviderId", identityProviderId);
60+
}
61+
}
62+
63+
public String getUserExternalId() {
64+
return this.userExternalId;
65+
}
66+
67+
public void setUserExternalId(String userExternalId) {
68+
this.userExternalId = userExternalId;
69+
if(userExternalId != null){
70+
putQueryParameter("UserExternalId", userExternalId);
71+
}
72+
}
73+
74+
public String getInstanceId() {
75+
return this.instanceId;
76+
}
77+
78+
public void setInstanceId(String instanceId) {
79+
this.instanceId = instanceId;
80+
if(instanceId != null){
81+
putQueryParameter("InstanceId", instanceId);
82+
}
83+
}
84+
85+
@Override
86+
public Class<BindUserAuthnSourceMappingResponse> getResponseClass() {
87+
return BindUserAuthnSourceMappingResponse.class;
88+
}
89+
90+
}
Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,46 @@
1+
/*
2+
* Licensed under the Apache License, Version 2.0 (the "License");
3+
* you may not use this file except in compliance with the License.
4+
* You may obtain a copy of the License at
5+
*
6+
* http://www.apache.org/licenses/LICENSE-2.0
7+
*
8+
* Unless required by applicable law or agreed to in writing, software
9+
* distributed under the License is distributed on an "AS IS" BASIS,
10+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
11+
* See the License for the specific language governing permissions and
12+
* limitations under the License.
13+
*/
14+
15+
package com.aliyuncs.eiam.model.v20211201;
16+
17+
import com.aliyuncs.AcsResponse;
18+
import com.aliyuncs.eiam.transform.v20211201.BindUserAuthnSourceMappingResponseUnmarshaller;
19+
import com.aliyuncs.transform.UnmarshallerContext;
20+
21+
/**
22+
* @author auto create
23+
* @version
24+
*/
25+
public class BindUserAuthnSourceMappingResponse extends AcsResponse {
26+
27+
private String requestId;
28+
29+
public String getRequestId() {
30+
return this.requestId;
31+
}
32+
33+
public void setRequestId(String requestId) {
34+
this.requestId = requestId;
35+
}
36+
37+
@Override
38+
public BindUserAuthnSourceMappingResponse getInstance(UnmarshallerContext context) {
39+
return BindUserAuthnSourceMappingResponseUnmarshaller.unmarshall(this, context);
40+
}
41+
42+
@Override
43+
public boolean checkShowJsonItemName() {
44+
return false;
45+
}
46+
}
Lines changed: 129 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,129 @@
1+
/*
2+
* Licensed under the Apache License, Version 2.0 (the "License");
3+
* you may not use this file except in compliance with the License.
4+
* You may obtain a copy of the License at
5+
*
6+
* http://www.apache.org/licenses/LICENSE-2.0
7+
*
8+
* Unless required by applicable law or agreed to in writing, software
9+
* distributed under the License is distributed on an "AS IS" BASIS,
10+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
11+
* See the License for the specific language governing permissions and
12+
* limitations under the License.
13+
*/
14+
15+
package com.aliyuncs.eiam.model.v20211201;
16+
17+
import com.aliyuncs.RpcAcsRequest;
18+
import com.aliyuncs.http.ProtocolType;
19+
import com.aliyuncs.http.MethodType;
20+
21+
/**
22+
* @author auto create
23+
* @version
24+
*/
25+
public class ListUserAuthnSourceMappingsRequest extends RpcAcsRequest<ListUserAuthnSourceMappingsResponse> {
26+
27+
28+
private String userId;
29+
30+
private String nextToken;
31+
32+
private String identityProviderId;
33+
34+
private String previousToken;
35+
36+
private String userExternalId;
37+
38+
private String instanceId;
39+
40+
private Integer maxResults;
41+
public ListUserAuthnSourceMappingsRequest() {
42+
super("Eiam", "2021-12-01", "ListUserAuthnSourceMappings", "eiam");
43+
setProtocol(ProtocolType.HTTPS);
44+
setMethod(MethodType.POST);
45+
}
46+
47+
public String getUserId() {
48+
return this.userId;
49+
}
50+
51+
public void setUserId(String userId) {
52+
this.userId = userId;
53+
if(userId != null){
54+
putQueryParameter("UserId", userId);
55+
}
56+
}
57+
58+
public String getNextToken() {
59+
return this.nextToken;
60+
}
61+
62+
public void setNextToken(String nextToken) {
63+
this.nextToken = nextToken;
64+
if(nextToken != null){
65+
putQueryParameter("NextToken", nextToken);
66+
}
67+
}
68+
69+
public String getIdentityProviderId() {
70+
return this.identityProviderId;
71+
}
72+
73+
public void setIdentityProviderId(String identityProviderId) {
74+
this.identityProviderId = identityProviderId;
75+
if(identityProviderId != null){
76+
putQueryParameter("IdentityProviderId", identityProviderId);
77+
}
78+
}
79+
80+
public String getPreviousToken() {
81+
return this.previousToken;
82+
}
83+
84+
public void setPreviousToken(String previousToken) {
85+
this.previousToken = previousToken;
86+
if(previousToken != null){
87+
putQueryParameter("PreviousToken", previousToken);
88+
}
89+
}
90+
91+
public String getUserExternalId() {
92+
return this.userExternalId;
93+
}
94+
95+
public void setUserExternalId(String userExternalId) {
96+
this.userExternalId = userExternalId;
97+
if(userExternalId != null){
98+
putQueryParameter("UserExternalId", userExternalId);
99+
}
100+
}
101+
102+
public String getInstanceId() {
103+
return this.instanceId;
104+
}
105+
106+
public void setInstanceId(String instanceId) {
107+
this.instanceId = instanceId;
108+
if(instanceId != null){
109+
putQueryParameter("InstanceId", instanceId);
110+
}
111+
}
112+
113+
public Integer getMaxResults() {
114+
return this.maxResults;
115+
}
116+
117+
public void setMaxResults(Integer maxResults) {
118+
this.maxResults = maxResults;
119+
if(maxResults != null){
120+
putQueryParameter("MaxResults", maxResults.toString());
121+
}
122+
}
123+
124+
@Override
125+
public Class<ListUserAuthnSourceMappingsResponse> getResponseClass() {
126+
return ListUserAuthnSourceMappingsResponse.class;
127+
}
128+
129+
}

0 commit comments

Comments
 (0)