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

com.descope.proxy.impl.ApiProxyBuilder Maven / Gradle / Ivy

The newest version!
package com.descope.proxy.impl;

import com.descope.model.client.SdkInfo;
import com.descope.proxy.ApiProxy;
import java.util.function.Supplier;
import lombok.experimental.UtilityClass;

@UtilityClass
public class ApiProxyBuilder {

  public static ApiProxy buildProxy(SdkInfo sdkInfo) {
    return new ApiProxyImpl(sdkInfo);
  }

  public static ApiProxy buildProxy(Supplier authHeaderSupplier, SdkInfo sdkInfo) {
    return new ApiProxyImpl(authHeaderSupplier, sdkInfo);
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy