argos/dmp-backend/core/src/main/java/eu/eudat/model/persist/referencetypedefinition/AuthenticationConfiguration...

59 lines
1.3 KiB
Java

package eu.eudat.model.persist.referencetypedefinition;
import jakarta.validation.constraints.NotNull;
public class AuthenticationConfigurationPersist {
@NotNull(message = "{validation.empty}")
private String authUrl;
private String authMethod = "GET";
@NotNull(message = "{validation.empty}")
private String authTokenPath;
@NotNull(message = "{validation.empty}")
private String authRequestBody;
@NotNull(message = "{validation.empty}")
private String type;
public String getAuthUrl() {
return authUrl;
}
public void setAuthUrl(String authUrl) {
this.authUrl = authUrl;
}
public String getAuthMethod() {
return authMethod;
}
public void setAuthMethod(String authMethod) {
this.authMethod = authMethod;
}
public String getAuthTokenPath() {
return authTokenPath;
}
public void setAuthTokenPath(String authTokenPath) {
this.authTokenPath = authTokenPath;
}
public String getAuthRequestBody() {
return authRequestBody;
}
public void setAuthRequestBody(String authRequestBody) {
this.authRequestBody = authRequestBody;
}
public String getType() {
return type;
}
public void setType(String type) {
this.type = type;
}
}