From 7cc413b8854e43ec222a5d3b5d9eff77f6cc9cdb Mon Sep 17 00:00:00 2001 From: Joe DeCock Date: Wed, 23 Oct 2024 09:02:04 -0500 Subject: [PATCH] Remove unnecessary todo --- .../DPoP/ConfigureJwtBearerOptions.cs | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/AspNetCore.Authentication.JwtBearer/DPoP/ConfigureJwtBearerOptions.cs b/src/AspNetCore.Authentication.JwtBearer/DPoP/ConfigureJwtBearerOptions.cs index fb86d30..1257017 100644 --- a/src/AspNetCore.Authentication.JwtBearer/DPoP/ConfigureJwtBearerOptions.cs +++ b/src/AspNetCore.Authentication.JwtBearer/DPoP/ConfigureJwtBearerOptions.cs @@ -27,9 +27,7 @@ public void PostConfigure(string? name, JwtBearerOptions options) { throw new Exception("Events on JwtBearerOptions must derive from DPoPJwtBearerEvents to work with the DPoP support."); } - - // TODO - Allow for derived versions of the events type to be used here so that - // customization of other events is possible + if (options.Events == null && options.EventsType == null) { options.EventsType = typeof(DPoPJwtBearerEvents);