NancyFx / Nancy.MSOwinSecurity

Nancy Owin Security integration
MIT License
30 stars 14 forks source link

Return Forbidden when missing required claims. #10

Closed bronumski closed 8 years ago

bronumski commented 8 years ago

9 - Changed the Module RequiresSecurityClaims extension so that a Forbidden is returned instead of an Unauthorized.

The two tests "With_authentication_manager_and_a_user_then_should_get_null" where failing prior to my change.

damianh commented 8 years ago

Looks good. Thanks for this!