80 lines
1.6 KiB
Java
80 lines
1.6 KiB
Java
package eu.eudat.commons.types.tenant;
|
|
|
|
import jakarta.xml.bind.annotation.XmlAccessType;
|
|
import jakarta.xml.bind.annotation.XmlAccessorType;
|
|
import jakarta.xml.bind.annotation.XmlElement;
|
|
import jakarta.xml.bind.annotation.XmlElementWrapper;
|
|
|
|
import java.util.List;
|
|
|
|
@XmlAccessorType(XmlAccessType.FIELD)
|
|
public class TenantSourceEntity {
|
|
|
|
@XmlElement(name = "url")
|
|
private String url;
|
|
|
|
@XmlElementWrapper(name = "codes")
|
|
@XmlElement(name = "code")
|
|
private List<String> codes;
|
|
|
|
@XmlElement(name = "issuer-url")
|
|
private String issuerUrl;
|
|
|
|
@XmlElement(name = "client-id")
|
|
private String clientId;
|
|
|
|
@XmlElement(name = "client-secret")
|
|
private String clientSecret;
|
|
|
|
@XmlElement(name = "scope")
|
|
private String scope;
|
|
|
|
public String getUrl() {
|
|
return url;
|
|
}
|
|
|
|
public void setUrl(String url) {
|
|
this.url = url;
|
|
}
|
|
|
|
public List<String> getCodes() {
|
|
return codes;
|
|
}
|
|
|
|
public void setCodes(List<String> codes) {
|
|
this.codes = codes;
|
|
}
|
|
|
|
public String getIssuerUrl() {
|
|
return issuerUrl;
|
|
}
|
|
|
|
public void setIssuerUrl(String issuerUrl) {
|
|
this.issuerUrl = issuerUrl;
|
|
}
|
|
|
|
public String getClientId() {
|
|
return clientId;
|
|
}
|
|
|
|
public void setClientId(String clientId) {
|
|
this.clientId = clientId;
|
|
}
|
|
|
|
public String getClientSecret() {
|
|
return clientSecret;
|
|
}
|
|
|
|
public void setClientSecret(String clientSecret) {
|
|
this.clientSecret = clientSecret;
|
|
}
|
|
|
|
public String getScope() {
|
|
return scope;
|
|
}
|
|
|
|
public void setScope(String scope) {
|
|
this.scope = scope;
|
|
}
|
|
}
|