From 551da3e5587d31f4de13bcda0bdf9a36662a2df6 Mon Sep 17 00:00:00 2001 From: Hao Kung Date: Wed, 23 Sep 2015 14:28:36 -0700 Subject: [PATCH] Caption => DisplayName --- .../Authentication/AuthenticationDescription.cs | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/src/Microsoft.AspNet.Http.Abstractions/Authentication/AuthenticationDescription.cs b/src/Microsoft.AspNet.Http.Abstractions/Authentication/AuthenticationDescription.cs index d6f9bf08a7..d1f39811ea 100644 --- a/src/Microsoft.AspNet.Http.Abstractions/Authentication/AuthenticationDescription.cs +++ b/src/Microsoft.AspNet.Http.Abstractions/Authentication/AuthenticationDescription.cs @@ -4,7 +4,6 @@ using System; using System.Collections.Generic; using System.Globalization; -using Microsoft.Framework.Internal; namespace Microsoft.AspNet.Http.Authentication { @@ -13,7 +12,7 @@ namespace Microsoft.AspNet.Http.Authentication /// public class AuthenticationDescription { - private const string CaptionPropertyKey = "Caption"; + private const string DisplayNamePropertyKey = "DisplayName"; private const string AuthenticationSchemePropertyKey = "AuthenticationScheme"; /// @@ -50,10 +49,10 @@ namespace Microsoft.AspNet.Http.Authentication /// /// Gets or sets the display name for the authentication provider. /// - public string Caption + public string DisplayName { - get { return GetString(CaptionPropertyKey); } - set { Items[CaptionPropertyKey] = value; } + get { return GetString(DisplayNamePropertyKey); } + set { Items[DisplayNamePropertyKey] = value; } } private string GetString(string name)