added to avoid multiple call on generating service token
This commit is contained in:
parent
e237f28a83
commit
0b818fd17b
|
@ -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;
|
||||
}
|
||||
|
||||
}
|
Loading…
Reference in New Issue