io.openlineage.client.transports.ApiKeyTokenProvider Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of openlineage-java Show documentation
Show all versions of openlineage-java Show documentation
Java library for OpenLineage
/*
/* Copyright 2018-2024 contributors to the OpenLineage project
/* SPDX-License-Identifier: Apache-2.0
*/
package io.openlineage.client.transports;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;
import lombok.ToString;
@NoArgsConstructor
@ToString
public class ApiKeyTokenProvider implements TokenProvider {
@Getter @Setter private String apiKey;
@Override
public String getToken() {
return String.format("Bearer %s", apiKey);
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy