From 9af02669b2993b84ce2ecf08e7da65e8a82cad33 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?K=C3=A9vin=20Chalet?= Date: Fri, 10 Sep 2021 16:14:07 +0200 Subject: [PATCH] Remove ApplyAuthorizationResponseContext/ApplyTokenResponseContext.Principal --- .../OpenIddictServerEvents.Authentication.cs | 5 ----- src/OpenIddict.Server/OpenIddictServerEvents.Exchange.cs | 5 ----- 2 files changed, 10 deletions(-) diff --git a/src/OpenIddict.Server/OpenIddictServerEvents.Authentication.cs b/src/OpenIddict.Server/OpenIddictServerEvents.Authentication.cs index 9350d710..cf85ba36 100644 --- a/src/OpenIddict.Server/OpenIddictServerEvents.Authentication.cs +++ b/src/OpenIddict.Server/OpenIddictServerEvents.Authentication.cs @@ -156,11 +156,6 @@ namespace OpenIddict.Server set => Transaction.Response = value; } - /// - /// Gets or sets the security principal. - /// - public ClaimsPrincipal? Principal { get; set; } - /// /// Gets the access code expected to /// be returned to the client application. diff --git a/src/OpenIddict.Server/OpenIddictServerEvents.Exchange.cs b/src/OpenIddict.Server/OpenIddictServerEvents.Exchange.cs index bd256815..4bace5f1 100644 --- a/src/OpenIddict.Server/OpenIddictServerEvents.Exchange.cs +++ b/src/OpenIddict.Server/OpenIddictServerEvents.Exchange.cs @@ -126,11 +126,6 @@ namespace OpenIddict.Server set => Transaction.Response = value; } - /// - /// Gets or sets the security principal used to forge the token response. - /// - public ClaimsPrincipal? Principal { get; set; } - /// /// Gets the error code returned to the client application. /// When the response indicates a successful response,