共用方式為


IAuthenticationProvider.AuthenticateRequestAsync(HttpRequestMessage) Method

Definition

Authenticates the specified request message.

public System.Threading.Tasks.Task AuthenticateRequestAsync (System.Net.Http.HttpRequestMessage request);
abstract member AuthenticateRequestAsync : System.Net.Http.HttpRequestMessage -> System.Threading.Tasks.Task
Public Function AuthenticateRequestAsync (request As HttpRequestMessage) As Task

Parameters

request
HttpRequestMessage

The HttpRequestMessage to authenticate.

Returns

The task to await.

Applies to