MCPcopy Index your code
hub / github.com/cloudfoundry/cli / NewUAAAuthentication

Function NewUAAAuthentication

api/cfnetworking/wrapper/uaa_authentication.go:36–41  ·  view source on GitHub ↗

NewUAAAuthentication returns a pointer to a UAAAuthentication wrapper with the client and a token cache.

(client UAAClient, cache TokenCache)

Source from the content-addressed store, hash-verified

34// NewUAAAuthentication returns a pointer to a UAAAuthentication wrapper with
35// the client and a token cache.
36func NewUAAAuthentication(client UAAClient, cache TokenCache) *UAAAuthentication {
37 return &UAAAuthentication{
38 client: client,
39 cache: cache,
40 }
41}
42
43// Wrap sets the connection on the UAAAuthentication and returns itself
44func (t *UAAAuthentication) Wrap(innerconnection cfnetworking.Connection) cfnetworking.Connection {

Callers 2

NewNetworkingClientFunction · 0.92

Calls

no outgoing calls

Tested by

no test coverage detected