Skip to content

Update exception types #784

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Conversation

martincostello
Copy link
Member

  • Use AuthenticationFailureException where relevant.
  • Use ArgumentException.ThrowIfNullOrWhiteSpace() where relevant.
  • Specify value with ArgumentOutOfRangeException where relevant.

- Use `AuthenticationFailureException` where relevant.
- Use `ArgumentException.ThrowIfNullOrWhiteSpace()` where relevant.
- Specify value with `ArgumentOutOfRangeException` where relevant.
@martincostello martincostello added this to the 8.0.0 milestone Jun 15, 2023
Revert back to `SecurityTokenValidationException` in one place.
@martincostello martincostello marked this pull request as ready for review June 15, 2023 10:56
@martincostello martincostello merged commit e389e7d into aspnet-contrib:dev-v8 Jun 15, 2023
@martincostello martincostello deleted the Use-AuthenticationFailureException branch June 15, 2023 10:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

Successfully merging this pull request may close these issues.

1 participant