Versions in this module Expand all Collapse all v8 v8.17.1 Feb 12, 2026 v8.17.0 Nov 18, 2025 Changes in this version + type RequestLogger struct + func NewRequestLogger(output RequestLoggerOutput) *RequestLogger + func (logger *RequestLogger) Make(request *http.Request, passedResponse *uaa.Response) error + func (logger *RequestLogger) Wrap(innerconnection uaa.Connection) uaa.Connection + type RequestLoggerOutput interface + DisplayBody func(body []byte) error + DisplayHeader func(name string, value string) error + DisplayHost func(name string) error + DisplayJSONBody func(body []byte) error + DisplayRequestHeader func(method string, uri string, httpProtocol string) error + DisplayResponseHeader func(httpProtocol string, status string) error + DisplayType func(name string, requestDate time.Time) error + HandleInternalError func(err error) + Start func() error + Stop func() error + type RetryRequest struct + func NewRetryRequest(maxRetries int) *RetryRequest + func (retry *RetryRequest) Make(request *http.Request, passedResponse *uaa.Response) error + func (retry *RetryRequest) Wrap(innerconnection uaa.Connection) uaa.Connection + type TokenCache interface + AccessToken func() string + RefreshToken func() string + SetAccessToken func(token string) + SetRefreshToken func(token string) + type UAAAuthentication struct + func NewUAAAuthentication(client UAAClient, cache TokenCache) *UAAAuthentication + func (t *UAAAuthentication) Make(request *http.Request, passedResponse *uaa.Response) error + func (t *UAAAuthentication) SetClient(client UAAClient) + func (t *UAAAuthentication) Wrap(innerconnection uaa.Connection) uaa.Connection + type UAAClient interface + RefreshAccessToken func(refreshToken string) (uaa.RefreshedTokens, error) + type UAATraceHeaderRequest struct + func NewUAATraceHeaderRequest(trace string) *UAATraceHeaderRequest + func (t *UAATraceHeaderRequest) Make(request *http.Request, passedResponse *uaa.Response) error + func (t *UAATraceHeaderRequest) Wrap(innerconnection uaa.Connection) uaa.Connection Other modules containing this package code.cloudfoundry.org/cli