a new comment :-)

main
Paul Schneider 10 years ago
parent d812c934c6
commit f66ae37ac9
1 changed files with 1 additions and 1 deletions

@ -34,7 +34,7 @@ namespace testOauthClient.Controllers
get { get {
var claim = HttpContext.User?.FindFirst("access_token"); var claim = HttpContext.User?.FindFirst("access_token");
if (claim == null) { if (claim == null) {
throw new InvalidOperationException(); throw new InvalidOperationException("no access_token");
} }
return claim.Value; return claim.Value;

Loading…