WCF Ticket Authentication

I am writing a WCF service that uses wsHttpBinding, which is not hosted in IIS, but in Windows Service. I want to have a Login (user, pass) method in a service that will give a ticket to the client if it is valid.

Can someone help me understand how to implement ticket authentication in WCF? Is there any standard mechanism, or should I implement my own? I also want to store other data for each user in the service.

+2
source share
1 answer

I found a solution, I don’t know if there are any standard mechanisms or not, but the message here helps me solve the problem ...
http://blogs.microsoft.co.il/blogs/bursteg/archive/2006/04/23/141.aspx
I simply return the ticket from the login method, if the user is evaluated, and sends this token with a message header in each call, which can be checked with another call to the service

+2
source

Source: https://habr.com/ru/post/1414923/


All Articles