We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8a4b7af commit 679a4e4Copy full SHA for 679a4e4
access-token-management/src/AccessTokenManagement/AccessTokenHandler.cs
@@ -40,6 +40,13 @@ public AccessTokenHandler(
40
/// <returns></returns>
41
protected abstract Task<ClientCredentialsToken> GetAccessTokenAsync(bool forceRenewal, CancellationToken cancellationToken);
42
43
+ /// <inheritdoc/>
44
+ protected override HttpResponseMessage Send(HttpRequestMessage request, CancellationToken cancellationToken)
45
+ {
46
+ throw new NotSupportedException(
47
+ "The (synchronous) Send() method is not supported. Please use the async SendAsync variant. ");
48
+ }
49
+
50
/// <inheritdoc/>
51
protected override async Task<HttpResponseMessage> SendAsync(HttpRequestMessage request, CancellationToken cancellationToken)
52
{
0 commit comments