A .NET library for impersonating users during development using ASP.NET Identity claims.
Stuntman is a .NET library designed for impersonating users during development by leveraging ASP.NET Identity claims. It allows developers to create and switch between predefined user identities in web applications like ASP.NET MVC, Web Forms, and OWIN, enabling thorough testing of authentication and authorization scenarios without real user accounts.
.NET developers building web applications with ASP.NET Identity who need to test user-specific functionality, roles, and permissions during development.
Developers choose Stuntman for its simplicity in setting up test users, seamless integration with existing .NET authentication systems, and ability to share user scenarios across teams via source control, reducing setup time for testing.
Library for impersonating users during development leveraging ASP.NET Identity.
Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.
Allows quick addition of users with custom claims programmatically, as shown in the README's code snippets for adding users like 'John Doe' with specific claims.
Works with multiple .NET web frameworks including ASP.NET MVC, Web Forms, OWIN, and ASP.NET Core, demonstrated in separate startup examples for OWIN and Core.
Enables loading user definitions from JSON files or web URLs, facilitating team collaboration via source control, as highlighted in the remote users section.
Supports testing API endpoints with access tokens assigned to users, with examples in the README using curl commands to validate authentication.
Tied to debug environments with checks like IsDebuggingEnabled, making it unsafe for production use and limiting testing in staging scenarios.
Requires OWIN or ASP.NET Core middleware setup, which can be cumbersome for projects not already using these frameworks, adding initial configuration overhead.
Bearer token support is minimal with only format checking, lacking features like token validation, encryption, or integration with OAuth/OpenID Connect.