Forums
New posts
Search forums
What's new
New posts
New profile posts
Latest activity
Members
Current visitors
New profile posts
Search profile posts
C# Community
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Menu
Log in
Register
Install the app
Install
Visual Studio .NET
Windows Communication Foundation (WCF)
Implementing a token system
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
[QUOTE="Administrator, post: 113882, member: 2"] Hello, I'm creating a smart client application using .NET 3.5. A winforms client connecting through WCF services to retrieve data from SQL 2008. I need to pass a username/password (encrypted and over HTTPS) and return information such as: -Is this user (e-mail address) under a current subscription -What server should we go to next for all subsequent calls (poor man's load balancing) -What server/database should be used in the connection string (credentials not required), as people could be using different databases depending on their subscription, etc. So my first call when signing on sends the credentials which a lookup is performed. A serializable class will be used to create a token object (I assume this is the way to handle this) which will return the expiration, server info, database info. The question is on all subsequent calls do I pass this token as a parameter to every service contract (web method) or can I leave all my current contracts as is and pass the token in a header or some other more universal method? How do you suggest implementing a token system such as I describe? Thank you [/QUOTE]
Insert quotes…
Verification
Post reply
Visual Studio .NET
Windows Communication Foundation (WCF)
Implementing a token system
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.
Accept
Learn more…
Top
Bottom