WithHTTPClient provides a function to set the httpClient option.
(val *http.Client)
| 76 | |
| 77 | // WithHTTPClient provides a function to set the httpClient option. |
| 78 | func WithHTTPClient(val *http.Client) Option { |
| 79 | return func(o *Options) { |
| 80 | o.HTTPClient = val |
| 81 | } |
| 82 | } |
| 83 | |
| 84 | // WithJWKSOptions provides a function to set the jwksOptions option. |
| 85 | func WithJWKSOptions(val config.JWKS) Option { |
no outgoing calls
no test coverage detected