internal static IIdentity GetIdentity(NTAuthentication context)
{
Debug.Assert(!context.IsServer, "GetIdentity: Server is not supported");
string name = context.Spn;
string protocol = context.ProtocolName;
return new GenericIdentity(name, protocol);
}