owin tutorial: minor fix with claim types

This commit is contained in:
siacomuzzi 2014-06-16 11:15:50 -03:00
Родитель 4485fc7235
Коммит b5843d9838
1 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

@ -66,7 +66,7 @@ Once the user is successfully authenticated with the application, a `ClaimsPrinc
public ActionResult Index()
{
string email = ClaimsPrincipal.Current.FindFirst("email").Value;
string email = ClaimsPrincipal.Current.FindFirst(ClaimTypes.Email).Value;
}
The user profile is normalized regardless of where the user came from. We will always include these: `user_id`, `name`, `email`, `nickname`, and `picture`. For more information about the user profile, see [this article](user-profile).