Skip to content

Commit

Permalink
asyncify uthenticateAsync(HttpRequestMessage)
Browse files Browse the repository at this point in the history
  • Loading branch information
AnaCoda committed Jul 7, 2023
1 parent f8007f4 commit 6b2e458
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,12 @@ internal RequestAuthenticator( IAccessTokenValidator accessTokenValidator ) {
}

[GenerateSync]
Task<ID2LPrincipal> IRequestAuthenticator.AuthenticateAsync(
async Task<ID2LPrincipal> IRequestAuthenticator.AuthenticateAsync(
HttpRequestMessage request
) {
string bearerToken = request.GetBearerTokenValue();

return AuthenticateAsync( bearerToken );
return await AuthenticateAsync( bearerToken ).ConfigureAwait(false);
}

[GenerateSync]
Expand Down

0 comments on commit 6b2e458

Please sign in to comment.