Marked username as obsolete.

This commit is contained in:
Eric Green
2016-02-15 10:31:02 -06:00
parent 939ec99564
commit 57dcb5863c

View File

@@ -70,6 +70,12 @@ namespace Owin.Security.Providers.LinkedIn
/// </summary>
public string Name { get; private set; }
/// <summary>
/// Gets the LinkedIn username
/// </summary>
[Obsolete("LinkedIn doesn't return a username claim. Use Name instead.")]
public string UserName { get; private set; }
/// <summary>
/// Get the user's first name
/// </summary>