a new comment :-)

This commit is contained in:
2016-06-25 21:03:17 +02:00
parent d812c934c6
commit f66ae37ac9

View File

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