Skip to content

Commit

Permalink
Merge branch 'master' into dev
Browse files Browse the repository at this point in the history
  • Loading branch information
brockallen committed Jul 18, 2016
2 parents e14aa71 + f922967 commit 6281db4
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ public ActionResult Claims()
return View();
}

[Authorize]
public async Task<ActionResult> CallApi()
{
var token = (User as ClaimsPrincipal).FindFirst("access_token").Value;
Expand Down Expand Up @@ -64,4 +65,4 @@ public void OidcSignOut(string sid)
}
}
}
}
}
5 changes: 3 additions & 2 deletions source/Clients/MVC OWIN Client/Controllers/HomeController.cs
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,8 @@ public ActionResult Claims()

return View();
}


[Authorize]
public async Task<ActionResult> CallApi()
{
var token = (User as ClaimsPrincipal).FindFirst("access_token").Value;
Expand Down Expand Up @@ -61,4 +62,4 @@ public void SignoutCleanup(string sid)
}
}
}
}
}

0 comments on commit 6281db4

Please sign in to comment.