Interface IAuthenticationProvider
Interface for authenticating requests.
Namespace: Microsoft.Graph
Assembly: Microsoft.Graph.CoreSDK.dll
Syntax
public interface IAuthenticationProvider
Methods
View SourceAuthenticateRequestAsync(HttpRequestMessage)
Authenticates the specified request message. This method will be called any time there is an outbound request.
Declaration
Task AuthenticateRequestAsync(HttpRequestMessage request)
Parameters
Type | Name | Description |
---|---|---|
System.Net.Http.HttpRequestMessage | request | The System.Net.Http.HttpRequestMessage to authenticate. |
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task | The System.Threading.Tasks.Task to await. |