Description
ClientManager
is a great class, it would be nice to have a version of this class (TokenClientManager
?) which works for JWT/Auth token based clients. It looks like this could be done without too much effort (make the Get
method take a *token.Token
, change cacheKey
to be based on *token.Token
instead of tls.Certificate
, make Factory
take a *token.Token
instead of a tls.Certificate
).