3 references to GenericPrincipal
System.Net.HttpListener (2)
System\Net\Managed\HttpListenerContext.Managed.cs (1)
50
new
GenericPrincipal
(new HttpListenerBasicIdentity(username, password), Array.Empty<string>()) :
System\Net\WebSockets\HttpListenerWebSocketContext.cs (1)
99
return new
GenericPrincipal
(new HttpListenerBasicIdentity(basicIdentity.Name, basicIdentity.Password), null);
System.Security.Claims (1)
System\Security\Claims\GenericPrincipal.cs (1)
86
private static GenericPrincipal GetDefaultInstance() => new
GenericPrincipal
(new GenericIdentity(string.Empty), new string[] { string.Empty });