Méthode | Description | |
---|---|---|
SendRequestWithBearerTokenAsync ( this httpClient, HttpMethod method, string path, object requestBody, string accessToken, |
This extension method for HttpClient provides a convenient overload that accepts a string accessToken to be used as Bearer authentication.
|
public static SendRequestWithBearerTokenAsync ( this httpClient, HttpMethod method, string path, object requestBody, string accessToken, |
||
httpClient | this | The |
method | HttpMethod | The |
path | string | The path to the requested target |
requestBody | object | The body of the request |
accessToken | string | The access token to be used as Bearer authentication |
ct | A |
|
Résultat | Task |