Skip to content

Commit

Permalink
Merge pull request #38313 from dotnet/main
Browse files Browse the repository at this point in the history
  • Loading branch information
BillWagner authored Nov 18, 2023
2 parents f0d13f6 + b97ecfc commit 85bf05f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ However, if you were down-casting one of the affected `SecurityToken` properties
service.Configure<JwtBearerOptions>(JwtBearerDefaults.AuthenticationScheme, options => {
options.Events.TokenValidated = (context) => {
// Replace your cast to JwtSecurityToken.
JSonWebToken token = context.SecurityToken as JSonWebToken;
JsonWebToken token = context.SecurityToken as JsonWebToken;
// Do something ...
};
});
Expand Down

0 comments on commit 85bf05f

Please sign in to comment.