Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
ASP.Net Core 2.0 - Require Authentication
public class ApiController : Controller
public IActionResult Test()
return Ok("Content secured with Approov Token");
// rest of controller goes here
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment