diff --git a/go.mod b/go.mod index e845b4d7..9145c539 100644 --- a/go.mod +++ b/go.mod @@ -4,7 +4,7 @@ go 1.21 require ( github.com/dave/jennifer v1.4.1 - github.com/palantir/conjure-go-runtime/v2 v2.70.0 + github.com/palantir/conjure-go-runtime/v2 v2.71.0 github.com/palantir/godel/v2 v2.105.0 github.com/palantir/pkg/cobracli v1.2.0 github.com/palantir/pkg/refreshable v1.5.0 diff --git a/go.sum b/go.sum index 0396b4ed..91ecc5cb 100644 --- a/go.sum +++ b/go.sum @@ -58,8 +58,8 @@ github.com/nwaples/rardecode v1.0.0 h1:r7vGuS5akxOnR4JQSkko62RJ1ReCMXxQRPtxsiFMB github.com/nwaples/rardecode v1.0.0/go.mod h1:5DzqNKiOdpKKBH87u8VlvAnPZMXcGRhxWkRpHbbfGS0= github.com/openzipkin/zipkin-go v0.2.2 h1:nY8Hti+WKaP0cRsSeQ026wU03QsM762XBeCXBb9NAWI= github.com/openzipkin/zipkin-go v0.2.2/go.mod h1:NaW6tEwdmWMaCDZzg8sh+IBNOxHMPnhQw8ySjnjRyN4= -github.com/palantir/conjure-go-runtime/v2 v2.70.0 h1:/rLpF36Yjdzc9Y8Hs4AQrZWnwvFWc7Rpdp62hikMN5A= -github.com/palantir/conjure-go-runtime/v2 v2.70.0/go.mod h1:mhUkj1aFsr4rYN8V4gYnilpG6Y9iCSOqETe6b2WJuyU= +github.com/palantir/conjure-go-runtime/v2 v2.71.0 h1:CBc0NjyyPdWsCqELi4Z4aI1IuJWLrYkFppC+yj0UDhc= +github.com/palantir/conjure-go-runtime/v2 v2.71.0/go.mod h1:WDx4+/28eYwRpfowAUGYJaQT7Zj5YEFpQDbcUkIPbdA= github.com/palantir/go-metrics v1.1.1 h1:YL/UmptBjrC6iSCTVr7vfuIcjL0M359Da3/gBGNny10= github.com/palantir/go-metrics v1.1.1/go.mod h1:fRkuipBnsI4nD8Vd9UNcrUJvD8Y0wOJMSbicygcBrGs= github.com/palantir/godel/v2 v2.105.0 h1:iIgXT49OrD3HMko1+9EKVCpKV3n/BSjoRAfcp1uDc18= diff --git a/vendor/github.com/palantir/conjure-go-runtime/v2/conjure-go-client/httpclient/client_params.go b/vendor/github.com/palantir/conjure-go-runtime/v2/conjure-go-client/httpclient/client_params.go index 9945c79e..930e0850 100644 --- a/vendor/github.com/palantir/conjure-go-runtime/v2/conjure-go-client/httpclient/client_params.go +++ b/vendor/github.com/palantir/conjure-go-runtime/v2/conjure-go-client/httpclient/client_params.go @@ -547,6 +547,10 @@ func WithBasicAuth(user, password string) ClientParam { }}) } +func WithBasicAuthProvider(provider BasicAuthProvider) ClientParam { + return WithMiddleware(&basicAuthMiddleware{provider: provider}) +} + // WithBalancedURIScoring adds middleware that prioritizes sending requests to URIs with the fewest in-flight requests // and least recent errors. // Deprecated: This param is a no-op as balanced URI scoring is the default behavior. diff --git a/vendor/modules.txt b/vendor/modules.txt index 54314071..cf9cd406 100644 --- a/vendor/modules.txt +++ b/vendor/modules.txt @@ -34,7 +34,7 @@ github.com/mattn/go-runewidth # github.com/nmiyake/pkg/errorstringer v1.1.0 ## explicit; go 1.16 github.com/nmiyake/pkg/errorstringer -# github.com/palantir/conjure-go-runtime/v2 v2.70.0 +# github.com/palantir/conjure-go-runtime/v2 v2.71.0 ## explicit; go 1.21 github.com/palantir/conjure-go-runtime/v2/conjure-go-client/httpclient github.com/palantir/conjure-go-runtime/v2/conjure-go-client/httpclient/internal