GetOIDCClientContext returns a new Context that carries the provided HTTP client with TLS certificate verification disabled when insecureSkipVerify is true and enabled otherwise.
(insecureSkipVerify bool)
| 793 | // with TLS certificate verification disabled when insecureSkipVerify is true and |
| 794 | // enabled otherwise. |
| 795 | func GetOIDCClientContext(insecureSkipVerify bool) context.Context { |
| 796 | client := base.GetHttpClient(insecureSkipVerify) |
| 797 | return oidc.ClientContext(context.Background(), client) |
| 798 | } |
no test coverage detected