nl.vpro.nep.service.impl.NEPItemizerV1Authenticator Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of media-nep Show documentation
Show all versions of media-nep Show documentation
Support for the several APIs of NEP that POMS is integrating with
package nl.vpro.nep.service.impl;
import lombok.extern.slf4j.Slf4j;
import java.util.function.Supplier;
import org.springframework.beans.factory.annotation.Value;
/**
* @author Michiel Meeuwissen
* @since 5.11
*/
@Slf4j
public class NEPItemizerV1Authenticator implements Supplier {
private final String bearerToken;
public NEPItemizerV1Authenticator(
@Value("${nep.itemizer-api.key}") String key
) {
this.bearerToken = key;
}
@Override
public String get() {
return bearerToken;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy