Skip to content

Commit e257832

Browse files
committed
Added support for SSO-FF
1 parent 48a750d commit e257832

File tree

8 files changed

+621
-0
lines changed

8 files changed

+621
-0
lines changed
Lines changed: 118 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,118 @@
1+
package com.auth0.json.mgmt.selfserviceprofiles;
2+
3+
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
4+
import com.fasterxml.jackson.annotation.JsonInclude;
5+
import com.fasterxml.jackson.annotation.JsonProperty;
6+
7+
@JsonInclude(JsonInclude.Include.NON_NULL)
8+
@JsonIgnoreProperties(ignoreUnknown = true)
9+
public class ConnectionConfig {
10+
@JsonProperty("name")
11+
private String name;
12+
@JsonProperty("display_name")
13+
private String displayName;
14+
@JsonProperty("is_domain_connection")
15+
private boolean isDomainConnection;
16+
@JsonProperty("show_as_button")
17+
private boolean showAsButton;
18+
@JsonProperty("metadata")
19+
private Object metadata;
20+
@JsonProperty("options")
21+
private Options options;
22+
23+
/**
24+
* Creates a new instance of the ConnectionConfig class.
25+
* @return the new instance.
26+
*/
27+
public String getName() {
28+
return name;
29+
}
30+
31+
/**
32+
* Setter for the name.
33+
* @param name the name to set.
34+
*/
35+
public void setName(String name) {
36+
this.name = name;
37+
}
38+
39+
/**
40+
* Getter for the display name.
41+
* @return the display name.
42+
*/
43+
public String getDisplayName() {
44+
return displayName;
45+
}
46+
47+
/**
48+
* Setter for the display name.
49+
* @param displayName the display name to set.
50+
*/
51+
public void setDisplayName(String displayName) {
52+
this.displayName = displayName;
53+
}
54+
55+
/**
56+
* Getter for the domain connection.
57+
* @return the domain connection.
58+
*/
59+
public boolean isDomainConnection() {
60+
return isDomainConnection;
61+
}
62+
63+
/**
64+
* Setter for the domain connection.
65+
* @param domainConnection the domain connection to set.
66+
*/
67+
public void setDomainConnection(boolean domainConnection) {
68+
isDomainConnection = domainConnection;
69+
}
70+
71+
/**
72+
* Getter for the show as button.
73+
* @return the show as button.
74+
*/
75+
public boolean isShowAsButton() {
76+
return showAsButton;
77+
}
78+
79+
/**
80+
* Setter for the show as button.
81+
* @param showAsButton the show as button to set.
82+
*/
83+
public void setShowAsButton(boolean showAsButton) {
84+
this.showAsButton = showAsButton;
85+
}
86+
87+
/**
88+
* Getter for the metadata.
89+
* @return the metadata.
90+
*/
91+
public Object getMetadata() {
92+
return metadata;
93+
}
94+
95+
/**
96+
* Setter for the metadata.
97+
* @param metadata the metadata to set.
98+
*/
99+
public void setMetadata(Object metadata) {
100+
this.metadata = metadata;
101+
}
102+
103+
/**
104+
* Getter for the options.
105+
* @return the options.
106+
*/
107+
public Options getOptions() {
108+
return options;
109+
}
110+
111+
/**
112+
* Setter for the options.
113+
* @param options the options to set.
114+
*/
115+
public void setOptions(Options options) {
116+
this.options = options;
117+
}
118+
}
Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
package com.auth0.json.mgmt.selfserviceprofiles;
2+
3+
import com.fasterxml.jackson.annotation.JsonCreator;
4+
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
5+
import com.fasterxml.jackson.annotation.JsonInclude;
6+
import com.fasterxml.jackson.annotation.JsonProperty;
7+
8+
@JsonInclude(JsonInclude.Include.NON_NULL)
9+
@JsonIgnoreProperties(ignoreUnknown = true)
10+
public class DomainAliasesConfig {
11+
@JsonProperty("domain_verification")
12+
private String domainVerification;
13+
14+
public DomainAliasesConfig() {}
15+
16+
/**
17+
* Creates a new instance of the DomainAliasesConfig class.
18+
*/
19+
@JsonCreator
20+
public DomainAliasesConfig(@JsonProperty("domain_verification") String domainVerification) {
21+
this.domainVerification = domainVerification;
22+
}
23+
24+
/**
25+
* Getter for the domain verification.
26+
* @return the domain verification.
27+
*/
28+
public String getDomainVerification() {
29+
return domainVerification;
30+
}
31+
}
Lines changed: 64 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,64 @@
1+
package com.auth0.json.mgmt.selfserviceprofiles;
2+
3+
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
4+
import com.fasterxml.jackson.annotation.JsonInclude;
5+
import com.fasterxml.jackson.annotation.JsonProperty;
6+
7+
@JsonInclude(JsonInclude.Include.NON_NULL)
8+
@JsonIgnoreProperties(ignoreUnknown = true)
9+
public class EnabledOrganizations {
10+
@JsonProperty("organization_id")
11+
private String organizationId;
12+
@JsonProperty("assign_membership_on_login")
13+
private boolean assignMembershipOnLogin;
14+
@JsonProperty("show_as_button")
15+
private boolean showAsButton;
16+
17+
/**
18+
* Getter for the organization id.
19+
* @return the organization id.
20+
*/
21+
public String getOrganizationId() {
22+
return organizationId;
23+
}
24+
25+
/**
26+
* Setter for the organization id.
27+
* @param organizationId the organization id to set.
28+
*/
29+
public void setOrganizationId(String organizationId) {
30+
this.organizationId = organizationId;
31+
}
32+
33+
/**
34+
* Getter for the assign membership on login.
35+
* @return the assign membership on login.
36+
*/
37+
public boolean isAssignMembershipOnLogin() {
38+
return assignMembershipOnLogin;
39+
}
40+
41+
/**
42+
* Setter for the assign membership on login.
43+
* @param assignMembershipOnLogin the assign membership on login to set.
44+
*/
45+
public void setAssignMembershipOnLogin(boolean assignMembershipOnLogin) {
46+
this.assignMembershipOnLogin = assignMembershipOnLogin;
47+
}
48+
49+
/**
50+
* Getter for the show as button.
51+
* @return the show as button.
52+
*/
53+
public boolean isShowAsButton() {
54+
return showAsButton;
55+
}
56+
57+
/**
58+
* Setter for the show as button.
59+
* @param showAsButton the show as button to set.
60+
*/
61+
public void setShowAsButton(boolean showAsButton) {
62+
this.showAsButton = showAsButton;
63+
}
64+
}
Lines changed: 82 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,82 @@
1+
package com.auth0.json.mgmt.selfserviceprofiles;
2+
3+
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
4+
import com.fasterxml.jackson.annotation.JsonInclude;
5+
import com.fasterxml.jackson.annotation.JsonProperty;
6+
7+
@JsonInclude(JsonInclude.Include.NON_NULL)
8+
@JsonIgnoreProperties(ignoreUnknown = true)
9+
public class Idpinitiated {
10+
@JsonProperty("enabled")
11+
private boolean enabled;
12+
@JsonProperty("client_id")
13+
private String clientId;
14+
@JsonProperty("client_protocol")
15+
private String clientProtocol;
16+
@JsonProperty("client_authorizequery")
17+
private String clientAuthorizequery;
18+
19+
/**
20+
* Creates a new instance.
21+
* @return a new instance.
22+
*/
23+
public boolean isEnabled() {
24+
return enabled;
25+
}
26+
27+
/**
28+
* Setter for the enabled.
29+
* @param enabled the enabled to set.
30+
*/
31+
public void setEnabled(boolean enabled) {
32+
this.enabled = enabled;
33+
}
34+
35+
/**
36+
* Getter for the client id.
37+
* @return the client id.
38+
*/
39+
public String getClientId() {
40+
return clientId;
41+
}
42+
43+
/**
44+
* Setter for the client id.
45+
* @param clientId the client id to set.
46+
*/
47+
public void setClientId(String clientId) {
48+
this.clientId = clientId;
49+
}
50+
51+
/**
52+
* Getter for the client protocol.
53+
* @return the client protocol.
54+
*/
55+
public String getClientProtocol() {
56+
return clientProtocol;
57+
}
58+
59+
/**
60+
* Setter for the client protocol.
61+
* @param clientProtocol the client protocol to set.
62+
*/
63+
public void setClientProtocol(String clientProtocol) {
64+
this.clientProtocol = clientProtocol;
65+
}
66+
67+
/**
68+
* Getter for the client authorizequery.
69+
* @return the client authorizequery.
70+
*/
71+
public String getClientAuthorizequery() {
72+
return clientAuthorizequery;
73+
}
74+
75+
/**
76+
* Setter for the client authorizequery.
77+
* @param clientAuthorizequery the client authorizequery to set.
78+
*/
79+
public void setClientAuthorizequery(String clientAuthorizequery) {
80+
this.clientAuthorizequery = clientAuthorizequery;
81+
}
82+
}
Lines changed: 66 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,66 @@
1+
package com.auth0.json.mgmt.selfserviceprofiles;
2+
3+
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
4+
import com.fasterxml.jackson.annotation.JsonInclude;
5+
import com.fasterxml.jackson.annotation.JsonProperty;
6+
7+
import java.util.List;
8+
9+
@JsonInclude(JsonInclude.Include.NON_NULL)
10+
@JsonIgnoreProperties(ignoreUnknown = true)
11+
public class Options {
12+
@JsonProperty("icon_url")
13+
private String iconUrl;
14+
@JsonProperty("domain_aliases")
15+
private List<String> domainAliases;
16+
@JsonProperty("idpinitiated")
17+
private Idpinitiated idpinitiated;
18+
19+
/**
20+
* Getter for the icon URL.
21+
* @return the icon URL.
22+
*/
23+
public String getIconUrl() {
24+
return iconUrl;
25+
}
26+
27+
/**
28+
* Setter for the icon URL.
29+
* @param iconUrl the icon URL to set.
30+
*/
31+
public void setIconUrl(String iconUrl) {
32+
this.iconUrl = iconUrl;
33+
}
34+
35+
/**
36+
* Getter for the domain aliases.
37+
* @return the domain aliases.
38+
*/
39+
public List<String> getDomainAliases() {
40+
return domainAliases;
41+
}
42+
43+
/**
44+
* Setter for the domain aliases.
45+
* @param domainAliases the domain aliases to set.
46+
*/
47+
public void setDomainAliases(List<String> domainAliases) {
48+
this.domainAliases = domainAliases;
49+
}
50+
51+
/**
52+
* Getter for the Idpinitiated.
53+
* @return the Idpinitiated.
54+
*/
55+
public Idpinitiated getIdpinitiated() {
56+
return idpinitiated;
57+
}
58+
59+
/**
60+
* Setter for the Idpinitiated.
61+
* @param idpinitiated the Idpinitiated to set.
62+
*/
63+
public void setIdpinitiated(Idpinitiated idpinitiated) {
64+
this.idpinitiated = idpinitiated;
65+
}
66+
}

0 commit comments

Comments
 (0)