NewUAAAuthentication returns a pointer to a UAAAuthentication wrapper with the client and a token cache.
(client UAAClient, cache TokenCache)
| 40 | // NewUAAAuthentication returns a pointer to a UAAAuthentication wrapper with |
| 41 | // the client and a token cache. |
| 42 | func 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 |
no outgoing calls
no test coverage detected