AuthorizationHeaderProviderOptions.CustomizeHttpRequestMessage Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Provides an opportunity for the caller app to customize the HttpRequestMessage. For example, to customize the headers. This is called after the message was formed, including the Authorization header, and just before the message is sent.
public Action<System.Net.Http.HttpRequestMessage>? CustomizeHttpRequestMessage { get; set; }
member this.CustomizeHttpRequestMessage : Action<System.Net.Http.HttpRequestMessage> with get, set
Public Property CustomizeHttpRequestMessage As Action(Of HttpRequestMessage)