Module.AddAuthorizeRequestHandler 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.
The delegate to call before each new request to add authorization.
public Action<System.Management.Automation.InvocationInfo,string,string,Action<Func<System.Net.Http.HttpRequestMessage,System.Threading.CancellationToken,Action,Func<string,System.Threading.CancellationToken,Func<EventArgs>,System.Threading.Tasks.Task>,Func<System.Net.Http.HttpRequestMessage,System.Threading.CancellationToken,Action,Func<string,System.Threading.CancellationToken,Func<EventArgs>,System.Threading.Tasks.Task>,System.Threading.Tasks.Task<System.Net.Http.HttpResponseMessage>>,System.Threading.Tasks.Task<System.Net.Http.HttpResponseMessage>>>,Action<Func<System.Net.Http.HttpRequestMessage,System.Threading.CancellationToken,Action,Func<string,System.Threading.CancellationToken,Func<EventArgs>,System.Threading.Tasks.Task>,Func<System.Net.Http.HttpRequestMessage,System.Threading.CancellationToken,Action,Func<string,System.Threading.CancellationToken,Func<EventArgs>,System.Threading.Tasks.Task>,System.Threading.Tasks.Task<System.Net.Http.HttpResponseMessage>>,System.Threading.Tasks.Task<System.Net.Http.HttpResponseMessage>>>,Func<string,string,string,string,Uri,string>,System.Collections.Generic.IDictionary<string,object>> AddAuthorizeRequestHandler { get; set; }
member this.AddAuthorizeRequestHandler : Action<System.Management.Automation.InvocationInfo, string, string, Action<Func<System.Net.Http.HttpRequestMessage, System.Threading.CancellationToken, Action, Func<string, System.Threading.CancellationToken, Func<EventArgs>, System.Threading.Tasks.Task>, Func<System.Net.Http.HttpRequestMessage, System.Threading.CancellationToken, Action, Func<string, System.Threading.CancellationToken, Func<EventArgs>, System.Threading.Tasks.Task>, System.Threading.Tasks.Task<System.Net.Http.HttpResponseMessage>>, System.Threading.Tasks.Task<System.Net.Http.HttpResponseMessage>>>, Action<Func<System.Net.Http.HttpRequestMessage, System.Threading.CancellationToken, Action, Func<string, System.Threading.CancellationToken, Func<EventArgs>, System.Threading.Tasks.Task>, Func<System.Net.Http.HttpRequestMessage, System.Threading.CancellationToken, Action, Func<string, System.Threading.CancellationToken, Func<EventArgs>, System.Threading.Tasks.Task>, System.Threading.Tasks.Task<System.Net.Http.HttpResponseMessage>>, System.Threading.Tasks.Task<System.Net.Http.HttpResponseMessage>>>, Func<string, string, string, string, Uri, string>, System.Collections.Generic.IDictionary<string, obj>> with get, set
Public Property AddAuthorizeRequestHandler As Action(Of InvocationInfo, String, String, Action(Of Func(Of HttpRequestMessage, CancellationToken, Action, Func(Of String, CancellationToken, Func(Of EventArgs), Task), Func(Of HttpRequestMessage, CancellationToken, Action, Func(Of String, CancellationToken, Func(Of EventArgs), Task), Task(Of HttpResponseMessage)), Task(Of HttpResponseMessage))), Action(Of Func(Of HttpRequestMessage, CancellationToken, Action, Func(Of String, CancellationToken, Func(Of EventArgs), Task), Func(Of HttpRequestMessage, CancellationToken, Action, Func(Of String, CancellationToken, Func(Of EventArgs), Task), Task(Of HttpResponseMessage)), Task(Of HttpResponseMessage))), Func(Of String, String, String, String, Uri, String), IDictionary(Of String, Object))
Property Value
Action<InvocationInfo,String,String,Action<Func<HttpRequestMessage,CancellationToken,Action,Func<String,CancellationToken,Func<EventArgs>,Task>,Func<HttpRequestMessage,CancellationToken,Action,Func<String,CancellationToken,Func<EventArgs>,Task>,Task<HttpResponseMessage>>,Task<HttpResponseMessage>>>,Action<Func<HttpRequestMessage,CancellationToken,Action,Func<String,CancellationToken,Func<EventArgs>,Task>,Func<HttpRequestMessage,CancellationToken,Action,Func<String,CancellationToken,Func<EventArgs>,Task>,Task<HttpResponseMessage>>,Task<HttpResponseMessage>>>,Func<String,String,String,String,Uri,String>,IDictionary<String,Object>>