I'm a beginner using WCF Service, and I'm trying to understand how the ClientCredential
methods work. I am able to successfully use authentication using wsHttpBinding
and SQLMembershipProvider
.
However, I would like to know how ClientCredential does the authentication. I would like to override the login method to write some additional code around the SQLMembership one.
Moreover, I would like to know if it is possible to logoff the user from the server side.
I would also like to know how I can retrieve the MembershipUser/MembershipProvider from the server side?