jwt-dotnet / jwt

Jwt.Net, a JWT (JSON Web Token) implementation for .NET
Other
2.13k stars 462 forks source link

Made events async #501

Closed drusellers closed 4 months ago

drusellers commented 4 months ago

Description

I was integrating the beta build into my project and noticed that I failed to make the events async/await able. This is preventing me from digging into my database to verify attributes about the JWT token in my custom Event Type.

I was careful to avoid doing any actual awaits in the framework to try and minimize the amount of "task switching" that the internal framework is doing.

Checklist

abatishchev commented 4 months ago

Released to NuGet.org as 11.0.0-beta4