I'm using a custom UserNamePasswordValidator, which instantiates and logs in to our internal API.
This API exposes an event that's fired when the user is "kicked" (by another administrative user), and I'd like to respond to this by killing the WCF session, so that further calls throw an exception.
How do I go about doing this?
My WCF service is hosted in a Windows service (not IIS). Instantiating and logging in to the internal API takes quite a long time, so I can't do it on every service call.