added to avoid multiple call on generating service token

This commit is contained in:
lucio 2019-12-10 17:04:19 +01:00
parent e237f28a83
commit 0b818fd17b
1 changed files with 28 additions and 0 deletions

View File

@ -0,0 +1,28 @@
package org.gcube.common.authorization.library.utils;
import java.util.List;
import javax.xml.bind.annotation.XmlRootElement;
import org.gcube.common.authorization.library.provider.ServiceInfo;
@XmlRootElement
public class MultiServiceTokenRequest {
private List<String> containerTokens;
private ServiceInfo info;
public MultiServiceTokenRequest(List<String> containerTokens, ServiceInfo info) {
this.containerTokens = containerTokens;
this.info = info;
}
public List<String> getContainerTokens() {
return containerTokens;
}
public ServiceInfo getInfo() {
return info;
}
}