Skip to content
This repository was archived by the owner on Nov 20, 2018. It is now read-only.

Commit 551da3e

Browse files
committed
Caption => DisplayName
1 parent 3a8ecc7 commit 551da3e

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

src/Microsoft.AspNet.Http.Abstractions/Authentication/AuthenticationDescription.cs

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44
using System;
55
using System.Collections.Generic;
66
using System.Globalization;
7-
using Microsoft.Framework.Internal;
87

98
namespace Microsoft.AspNet.Http.Authentication
109
{
@@ -13,7 +12,7 @@ namespace Microsoft.AspNet.Http.Authentication
1312
/// </summary>
1413
public class AuthenticationDescription
1514
{
16-
private const string CaptionPropertyKey = "Caption";
15+
private const string DisplayNamePropertyKey = "DisplayName";
1716
private const string AuthenticationSchemePropertyKey = "AuthenticationScheme";
1817

1918
/// <summary>
@@ -50,10 +49,10 @@ public string AuthenticationScheme
5049
/// <summary>
5150
/// Gets or sets the display name for the authentication provider.
5251
/// </summary>
53-
public string Caption
52+
public string DisplayName
5453
{
55-
get { return GetString(CaptionPropertyKey); }
56-
set { Items[CaptionPropertyKey] = value; }
54+
get { return GetString(DisplayNamePropertyKey); }
55+
set { Items[DisplayNamePropertyKey] = value; }
5756
}
5857

5958
private string GetString(string name)

0 commit comments

Comments
 (0)