This repository was archived by the owner on Apr 1, 2025. It is now read-only.

Description
Origin issue from #2
Draft API
// Apply default authentication scheme if there is no scheme parameter. SUT.AllowAuthentication("Scheme", new ClaimsPrincipal(/* ... */) .AllowAuthentication(new ClaimsPrincipal()) .DenyAuthentication("Scheme") .DenyAutheitncation() .NoUserAuthentication() .NoUserAuthentication("Scheme") .ReplaceAuthenticationHandler<CustomFakeHandler>("Bearer", ServiceLifetime.Singleton) .FakeAuthentication(AuthenticationReulst.NoUser()) .AllowAuthorization<CustomeRequirement>() .DenyAuthorization<CustomeRequirement>() ;
Research note
Authentication
Authorization
Similar libarary