Allow auth handlers to be overridden in case custom handlers need to be used
Motivation and Context
The video team needs an alternate way to get a JWT token, so this allows them to supply a custom auth handler. Expanded this to also work with the other non-JWT handlers as well to be consistent.
Messages also gets touched because it was the one case we overrode how to add auth to a request.
Testing Details
Unit tests
Example Output or Screenshots (if appropriate)
Types of changes
[ ] Bug fix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)
Checklist
[x] My code follows the code style of this project.
[ ] My change requires a change to the documentation.
Description
Allow auth handlers to be overridden in case custom handlers need to be used
Motivation and Context
The video team needs an alternate way to get a JWT token, so this allows them to supply a custom auth handler. Expanded this to also work with the other non-JWT handlers as well to be consistent.
Messages also gets touched because it was the one case we overrode how to add auth to a request.
Testing Details
Unit tests
Example Output or Screenshots (if appropriate)
Types of changes
Checklist