https://github.com/soenneker/soenneker.utils.test.authhandler
A custom test authentication handler that builds a ClaimsPrincipal from headers or a JWT to simulate authenticated users during integration tests.
https://github.com/soenneker/soenneker.utils.test.authhandler
authentication authhandler authorization csharp dotnet httpclient integration test testauthhandler tests unit util utils
Last synced: 16 days ago
JSON representation
A custom test authentication handler that builds a ClaimsPrincipal from headers or a JWT to simulate authenticated users during integration tests.
- Host: GitHub
- URL: https://github.com/soenneker/soenneker.utils.test.authhandler
- Owner: soenneker
- License: mit
- Created: 2025-03-29T20:56:05.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2026-04-22T01:56:49.000Z (2 months ago)
- Last Synced: 2026-04-22T03:37:53.672Z (2 months ago)
- Topics: authentication, authhandler, authorization, csharp, dotnet, httpclient, integration, test, testauthhandler, tests, unit, util, utils
- Language: C#
- Homepage: https://soenneker.com
- Size: 698 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Contributing: .github/CONTRIBUTING.md
- Funding: .github/FUNDING.yml
- License: LICENSE
- Code of conduct: .github/CODE_OF_CONDUCT.md
- Security: .github/SECURITY.md
Awesome Lists containing this project
README
[](https://www.nuget.org/packages/soenneker.utils.test.authhandler/)
[](https://github.com/soenneker/soenneker.utils.test.authhandler/actions/workflows/publish-package.yml)
[](https://www.nuget.org/packages/soenneker.utils.test.authhandler/)
[](https://github.com/soenneker/soenneker.utils.test.authhandler/actions/workflows/codeql.yml)
#  Soenneker.Utils.Test.AuthHandler
### A custom test authentication handler that builds a ClaimsPrincipal from headers or a JWT to simulate authenticated users during integration tests.
## Installation
```
dotnet add package Soenneker.Utils.Test.AuthHandler
```