private void ValidateAuthentication(IAuthenticatedRequest <IProtocolResponse> request) { var response = Execute(new ValidateAuthenticationRequest { AuthenticationToken = request.AuthenticationToken }); if (!response.IsSuccessful) { throw new AuthenticationException(); } AuthenticationContext ctx = new AuthenticationContext { Claims = response.Claims }; AuthenticationContext.Insert(request, ctx); // TODO Authorization }