pl.edu.icm.unity.saml.metadata.srv.MetadataConsumer Maven / Gradle / Ivy
/*
* Copyright (c) 2017 Bixbit - Krzysztof Benedyczak All rights reserved.
* See LICENCE.txt file for licensing information.
*/
package pl.edu.icm.unity.saml.metadata.srv;
import java.time.Duration;
import java.util.function.BiConsumer;
import xmlbeans.org.oasis.saml2.metadata.EntitiesDescriptorDocument;
/**
* Information about remote metadata consumer
*
* @author K. Benedyczak
*/
class MetadataConsumer
{
final Duration refreshInterval;
final BiConsumer consumer;
final String id;
final boolean logoDownload;
public MetadataConsumer(Duration refreshInterval,
BiConsumer consumer, String id, boolean logoDownload)
{
this.refreshInterval = refreshInterval;
this.consumer = consumer;
this.id = id;
this.logoDownload = logoDownload;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy