I have cretated a very basic MVC 4 site using the VS2012 "Internet Application" template and I'm trying to implement a custom MembershipProvider class.
On login, the template code calls WebSecurity.Login(...) which ends up calling my providers ValidateUser method.
On logout, the template code calls WebSecurity.Logout() but as far as I can tell, this does not call any methods on my membership provider.
I need to find a way to notify my authentication back-end that the user logged out.
- Exactly what does WebSecurity.Logout do?
- How should I notify the membership provider that the user has logged out?