Skip to content
This repository was archived by the owner on Mar 19, 2019. It is now read-only.

Commit d103bdb

Browse files
committed
#287 Do not include an auth display name
1 parent 8d61026 commit d103bdb

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

src/Microsoft.AspNetCore.Server.HttpSys/AuthenticationHandler.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,6 @@ private IDictionary<string, object> GetDescription(string authenticationScheme)
117117
return new Dictionary<string, object>()
118118
{
119119
{ "AuthenticationScheme", authenticationScheme },
120-
{ "DisplayName", "Windows:" + authenticationScheme },
121120
};
122121
}
123122

test/Microsoft.AspNetCore.Server.HttpSys.FunctionalTests/AuthenticationTests.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -192,7 +192,7 @@ public async Task AuthTypes_GetSingleDescriptions(AuthenticationSchemes authType
192192
Assert.Equal(1, resultList.Count());
193193
var result = resultList.First();
194194
Assert.Equal(authType.ToString(), result.AuthenticationScheme);
195-
Assert.Equal("Windows:" + authType.ToString(), result.DisplayName);
195+
Assert.Null(result.DisplayName);
196196
}
197197

198198
return Task.FromResult(0);

0 commit comments

Comments
 (0)