All Downloads are FREE. Search and download functionalities are using the official Maven repository.

nl.vpro.nep.service.impl.NEPItemizerV1Authenticator Maven / Gradle / Ivy

There is a newer version: 8.4.1
Show newest version
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