I have a webservice which passes raw messages using Message in WCF, I create the header MessageHeader.CreateHeader , now i want to implement a custom token management system , so that i will pass the user name and password first time and then read the header in my service after authentication will provide a token to the user which will expire in some time, my webservice can have access by anonymous users and they have limited access .
I am using custom binding ...Any idea how to accomplish this or any sample...