GraphClientFactory.CreateDefaultHandlers(IAuthenticationProvider) Method
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.
Create a default set of middleware for calling Microsoft Graph
public static System.Collections.Generic.IList<System.Net.Http.DelegatingHandler> CreateDefaultHandlers (Microsoft.Graph.IAuthenticationProvider authenticationProvider);
static member CreateDefaultHandlers : Microsoft.Graph.IAuthenticationProvider -> System.Collections.Generic.IList<System.Net.Http.DelegatingHandler>
Public Shared Function CreateDefaultHandlers (authenticationProvider As IAuthenticationProvider) As IList(Of DelegatingHandler)
Parameters
- authenticationProvider
- IAuthenticationProvider
The IAuthenticationProvider to authenticate requests.