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).
ClientManageris 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 theGetmethod take a*token.Token, changecacheKeyto be based on*token.Tokeninstead oftls.Certificate, makeFactorytake a*token.Tokeninstead of atls.Certificate).