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

Function NewUAAAuthentication

api/cloudcontroller/wrapper/uaa_authentication.go:42–47  ·  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

40// NewUAAAuthentication returns a pointer to a UAAAuthentication wrapper with
41// the client and a token cache.
42func NewUAAAuthentication(client UAAClient, cache TokenCache) *UAAAuthentication {
43 return &UAAAuthentication{
44 client: client,
45 cache: cache,
46 }
47}
48
49// Make adds authentication headers to the passed in request and then calls the
50// wrapped connection's Make. If the client is not set on the wrapper, it will

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected