GetAuthenticator returns an exec-based plugin for providing client credentials.
(config *api.ExecConfig)
| 107 | |
| 108 | // GetAuthenticator returns an exec-based plugin for providing client credentials. |
| 109 | func GetAuthenticator(config *api.ExecConfig) (*Authenticator, error) { |
| 110 | return newAuthenticator(globalCache, config) |
| 111 | } |
| 112 | |
| 113 | func newAuthenticator(c *cache, config *api.ExecConfig) (*Authenticator, error) { |
| 114 | key := cacheKey(config) |
no test coverage detected