Book Image

ServiceStack 4 Cookbook

Book Image

ServiceStack 4 Cookbook

Overview of this book

Table of Contents (18 chapters)
ServiceStack 4 Cookbook
Credits
About the Authors
About the Reviewers
www.PacktPub.com
Preface
Index

Writing your own OpenID authentication provider


A lot of different services on the Internet offer ways for their users to authenticate with third-party applications. In this recipe, we will look at implementing a custom OpenID authentication provider by using Steam as an example.

Steam is a platform for game distribution and social gaming. Like a lot of social, Internet-based applications, you can add friends, see their status, and message each other. Steam also keeps track of game statistics for certain games. If you were creating a web application centered around computer games or with a large cross-over audience, adding functionality that would allow your users to sign in with their Steam account might be a welcome feature.

Getting ready

First, we are going to need an application to integrate, we will start with a template from the ServiceStackVS Visual Studio extension. If you are using Visual Studio Express, please see the Creating your ServiceStack solution with Visual Studio and NuGet...