WebSync integrates with basically any authentication scheme you need fairly easily. I've had discussions with some other people @ your company and will have a sample project to you shortly, but for future visitors, the client side just needs to be set up to use WIF per Microsoft's guidelines, and then in WebSync, everything will pass through as expected, and you simply add some standard authentication:
[WebSyncEvent(EventType.BeforeConnect)]
public static void RequireAuthenticationForConnect(object sender, WebSyncEventArgs e)
{
// authenticate new Client connections
if (!e.Context.User.Identity.IsAuthenticated)
{
e.Cancel("Must be authenticated to connect!");
}
}
[WebSyncEvent(EventType.BeforePublish)]
public static void RequireAuthenticationForPublish(object sender, WebSyncEventArgs e)
{
// authenticate Publisher instances separately since they don't connect first
if (e.Source == EventSource.Publisher)
{
if (!e.Context.User.Identity.IsAuthenticated)
{
e.Cancel("Must be authenticated to publish!");
}
}
}
Best,