NewUAAAuthentication returns a pointer to a UAAAuthentication wrapper with the client and a token cache.
(client UAAClient, cache TokenCache)
| 34 | // NewUAAAuthentication returns a pointer to a UAAAuthentication wrapper with |
| 35 | // the client and a token cache. |
| 36 | func 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 |
| 44 | func (t *UAAAuthentication) Wrap(innerconnection cfnetworking.Connection) cfnetworking.Connection { |
no outgoing calls
no test coverage detected