You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Looks like the docs are out of date with respect to those types -- the functionality is there but you set the authentication delegate on RefitSettings, either AuthorizationHeaderValueWithParamGetter or AuthorizationHeaderValueGetter depending on your needs. The handlers are added in the pipeline when those are set.
Could be helpful to draw attention the need for the Authorization header to already be present on the HttpRequestMessage (I think?). Appears that without, any configured settings delegates are not invoked (AuthenticatedHttpClientHandler.cs:23)
Will draft something else up if I get a spare moment - just wanted to drop this in for consideration because that won't be today!
Describe the bug
When trying to use authentication handler,
AuthenticatedHttpClientHandler
like in the readme (ln 570), I get errorSteps To Reproduce (from readme.md)
Expected behavior
AuthenticatedHttpClientHandler
class is publicVersion
5.2.1
The text was updated successfully, but these errors were encountered: