3 ms·
Nancy uses extension methods in placement of Attributes. Forms auth is done by calling this.RequiresAuthentication(); you can implement an extension method to
by philliphaydon 13y ago
Nancy uses extension methods in placement of Attributes.
Forms auth is done by calling this.RequiresAuthentication(); you can implement an extension method to do an ApiKey check in about 5 lines of code :)
- ktavera 13y agoThanks for that! I'll have to play around with it again.