summaryrefslogtreecommitdiffstats
path: root/samples/OAuth2ProtectedWebApi/Controllers
diff options
context:
space:
mode:
Diffstat (limited to 'samples/OAuth2ProtectedWebApi/Controllers')
-rw-r--r--samples/OAuth2ProtectedWebApi/Controllers/ValuesController.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/samples/OAuth2ProtectedWebApi/Controllers/ValuesController.cs b/samples/OAuth2ProtectedWebApi/Controllers/ValuesController.cs
index dd07835..1c84c99 100644
--- a/samples/OAuth2ProtectedWebApi/Controllers/ValuesController.cs
+++ b/samples/OAuth2ProtectedWebApi/Controllers/ValuesController.cs
@@ -6,7 +6,7 @@
using System.Net.Http;
using System.Web.Http;
- [Authorize]
+ [Authorize(Roles = "Values")]
public class ValuesController : ApiController {
// GET api/values
public IEnumerable<string> Get() {