Skip to content

Commit

Permalink
Renamed delegate to match agreed pattern
Browse files Browse the repository at this point in the history
  • Loading branch information
iNinja committed Jul 23, 2024
1 parent da9e2cd commit 28130c8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ public ValidationParameters()
/// If no delegate is set, the default implementation will be used. The default checks the algorithm
/// against the <see cref="ValidAlgorithms"/> property, if present. If not, it will succeed.
/// </remarks>
public AlgorithmValidationDelegate AlgorithmValidator { get; set; } = Validators.ValidateAlgorithm;
public AlgorithmValidatorDelegate AlgorithmValidator { get; set; } = Validators.ValidateAlgorithm;

/// <summary>
/// Gets or sets a delegate that will be used to validate the audience.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ namespace Microsoft.IdentityModel.Tokens
/// <param name="callContext"></param>
/// <returns>A <see cref="AlgorithmValidationResult"/>that contains the results of validating the algorithm.</returns>
/// <remarks>This delegate is not expected to throw.</remarks>
internal delegate AlgorithmValidationResult AlgorithmValidationDelegate(
internal delegate AlgorithmValidationResult AlgorithmValidatorDelegate(
string algorithm,
SecurityKey securityKey,
SecurityToken securityToken,
Expand Down

0 comments on commit 28130c8

Please sign in to comment.