Share via


Module.AddAuthorizeRequestHandler Property

Definition

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

Applies to