return this.tokenInfo;
}
@Override
public String findEndpoint(String type) throws RestClientException {
Token token = getTokenInfo();
if (token.serviceCatalog != null) {
for (Service service : token.serviceCatalog) {
if (!service.type.equals(type)) {
continue;
}