MTLSAuthCAStoreFetcher returns a fetch.Interface based on the mTLS auth CAStore configuration. If no configuration source is set, this method returns nil, nil.
( ctx context.Context, httpClientProvider httpclient.Provider, )
| 618 | // MTLSAuthCAStoreFetcher returns a fetch.Interface based on the mTLS auth CAStore configuration. |
| 619 | // If no configuration source is set, this method returns nil, nil. |
| 620 | func (c ServiceBase) MTLSAuthCAStoreFetcher( |
| 621 | ctx context.Context, |
| 622 | httpClientProvider httpclient.Provider, |
| 623 | ) (fetch.Interface, error) { |
| 624 | return c.MTLSAuth.Fetcher(ctx, c.Blob, httpClientProvider) |
| 625 | } |
| 626 | |
| 627 | // Fetcher returns a fetch.Interface based on the configuration. |
| 628 | // If no configuration source is set, this method returns nil, nil. |