RazorPage.User should be ClaimsPrincipal

This commit is contained in:
ianhong 2015-03-16 14:16:01 -07:00
parent 2a28e6f4ce
commit ee49ab727f
1 changed files with 2 additions and 2 deletions

View File

@ -5,7 +5,7 @@ using System;
using System.Collections.Generic; using System.Collections.Generic;
using System.IO; using System.IO;
using System.Linq; using System.Linq;
using System.Security.Principal; using System.Security.Claims;
using System.Text; using System.Text;
using System.Threading.Tasks; using System.Threading.Tasks;
using Microsoft.AspNet.Http; using Microsoft.AspNet.Http;
@ -88,7 +88,7 @@ namespace Microsoft.AspNet.Mvc.Razor
} }
} }
public virtual IPrincipal User public virtual ClaimsPrincipal User
{ {
get get
{ {