Skip to content

Commit 50af59d

Browse files
authored
Renamed the delegate to match others (#2869)
1 parent 8341a8b commit 50af59d

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/Microsoft.IdentityModel.Tokens/Delegates.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -193,7 +193,7 @@ namespace Microsoft.IdentityModel.Tokens
193193
/// <param name="validationParameters">The <see cref="ValidationParameters"/> to be used for validating the token.</param>
194194
/// <param name="callContext">The <see cref="CallContext"/> to be used for logging.</param>
195195
/// <returns>The <see cref="SecurityKey"/> used to decrypt the token.</returns>
196-
internal delegate IList<SecurityKey> ResolveTokenDecryptionKeyDelegate(string token, SecurityToken securityToken, string kid, ValidationParameters validationParameters, CallContext? callContext);
196+
internal delegate IList<SecurityKey> DecryptionKeyResolverDelegate(string token, SecurityToken securityToken, string kid, ValidationParameters validationParameters, CallContext? callContext);
197197

198198
/// <summary>
199199
/// Validates the signature of the security token.

src/Microsoft.IdentityModel.Tokens/Validation/ValidationParameters.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -452,7 +452,7 @@ public SignatureValidationDelegate SignatureValidator
452452
/// <remarks>
453453
/// This <see cref="SecurityKey"/> will be used to decrypt the token. This can be helpful when the <see cref="SecurityToken"/> does not contain a key identifier.
454454
/// </remarks>
455-
public ResolveTokenDecryptionKeyDelegate TokenDecryptionKeyResolver { get; set; }
455+
public DecryptionKeyResolverDelegate TokenDecryptionKeyResolver { get; set; }
456456

457457
/// <summary>
458458
/// Gets the <see cref="IList{T}"/> that is to be used for decrypting inbound tokens.

0 commit comments

Comments
 (0)