2023-11-07 12:15:25 +01:00
|
|
|
package eu.eudat.model.referencetypedefinition;
|
|
|
|
|
2023-11-15 15:09:24 +01:00
|
|
|
import eu.eudat.commons.enums.ReferenceTypeExternalApiHTTPMethodType;
|
2023-11-07 12:15:25 +01:00
|
|
|
|
|
|
|
public class AuthenticationConfiguration {
|
|
|
|
|
|
|
|
public final static String _authUrl = "authUrl";
|
|
|
|
private String authUrl;
|
|
|
|
|
|
|
|
public final static String _authMethod = "authMethod";
|
2023-11-15 15:09:24 +01:00
|
|
|
private ReferenceTypeExternalApiHTTPMethodType authMethod;
|
2023-11-07 12:15:25 +01:00
|
|
|
|
|
|
|
public final static String _authTokenPath = "authTokenPath";
|
|
|
|
private String authTokenPath;
|
|
|
|
|
|
|
|
public final static String _authRequestBody = "authRequestBody";
|
|
|
|
private String authRequestBody;
|
|
|
|
|
|
|
|
public final static String _type = "type";
|
|
|
|
private String type;
|
|
|
|
|
|
|
|
public String getAuthUrl() {
|
|
|
|
return authUrl;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
public void setAuthUrl(String authUrl) {
|
|
|
|
this.authUrl = authUrl;
|
|
|
|
}
|
|
|
|
|
2023-11-15 15:09:24 +01:00
|
|
|
public ReferenceTypeExternalApiHTTPMethodType getAuthMethod() {
|
2023-11-07 12:15:25 +01:00
|
|
|
return authMethod;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
2023-11-15 15:09:24 +01:00
|
|
|
public void setAuthMethod(ReferenceTypeExternalApiHTTPMethodType authMethod) {
|
2023-11-07 12:15:25 +01:00
|
|
|
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;
|
|
|
|
}
|
|
|
|
}
|