diff --git a/.generator/templates/configuration.mustache b/.generator/templates/configuration.mustache index 13ec3b729..5b9c656e1 100644 --- a/.generator/templates/configuration.mustache +++ b/.generator/templates/configuration.mustache @@ -467,6 +467,12 @@ func WithCacheTti(i int32) ConfigSetter { } } +func WithHttpClientPtr(httpClient *http.Client) ConfigSetter { + return func(c *Configuration) { + c.HTTPClient = httpClient + } +} + func WithConnectionTimeout(i int64) ConfigSetter { return func(c *Configuration) { c.Okta.Client.ConnectionTimeout = i