Skip to content
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

Make CancellationToken available in call credential inteceptors #2108

Closed
2 tasks done
JamesNK opened this issue Apr 28, 2023 · 0 comments · Fixed by dotnet/AspNetCore.Docs#29185
Closed
2 tasks done
Labels
enhancement New feature or request
Milestone

Comments

@JamesNK
Copy link
Member

JamesNK commented Apr 28, 2023

Call credential interceptors currently aren't given a CancellationToken. If a call is canceled while doing async work in the interceptor, there is no way to stop whatever work is happening.

  • Pass a token in with the context.
  • Update docs.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant