in sdk-java/src/main/java/com/spotify/confidence/GrpcFlagResolver.java [19:31]
public GrpcFlagResolver(
String clientSecret,
ManagedChannel managedChannel,
TelemetryClientInterceptor telemetryInterceptor) {
if (Strings.isNullOrEmpty(clientSecret)) {
throw new IllegalArgumentException("clientSecret must be a non-empty string.");
}
this.clientSecret = clientSecret;
this.managedChannel = managedChannel;
this.stub =
FlagResolverServiceGrpc.newFutureStub(managedChannel)
.withInterceptors(telemetryInterceptor);
}