Skip to content

Commit

Permalink
Moved signature error back to internal after merging from the new val…
Browse files Browse the repository at this point in the history
…idation model feature branch.
  • Loading branch information
iNinja committed Jan 13, 2025
1 parent 5ac80f6 commit fa12679
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ namespace Microsoft.IdentityModel.Tokens
/// <summary>
/// Represents a signature validation error.
/// </summary>
public class SignatureValidationError : ValidationError
internal class SignatureValidationError : ValidationError
{
/// <summary>
/// Initializes a new instance of the <see cref="SignatureValidationError"/> class.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,6 @@ internal Exception GetException(Type exceptionType, Exception? innerException)
/// Logs the validation error.
/// </summary>
/// <param name="logger">The <see cref="ILogger"/> to be used for logging.</param>
[CLSCompliant(false)]
public void Log(ILogger logger)
{
Logger.TokenValidationFailed(logger, FailureType.Name, MessageDetail.Message);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@ internal class ValidatedToken(
/// <summary>
/// Logs the validation result.
/// </summary>
[CLSCompliant(false)]
public void Log(ILogger logger) => Logger.TokenValidationSucceeded(
logger,
ValidatedAudience ?? "none",
Expand Down

0 comments on commit fa12679

Please sign in to comment.