Book Image

Mastering play framework for scala

By : Shiti Saxena
Book Image

Mastering play framework for scala

By: Shiti Saxena

Overview of this book

Table of Contents (21 chapters)
Mastering Play Framework for Scala
Credits
About the Author
Acknowledgments
About the Reviewers
www.PacktPub.com
Preface
Free Chapter
1
Getting Started with Play
Index

OpenID


OpenID is an authentication protocol, wherein OpenID Providers validate the identity of a user for third-party applications. An OpenID Provider is any service/application that provides an OpenID to users. Yahoo, AOL, and others are a few examples of these. Applications that require a user's OpenID to complete transactions are known as OpenID Consumers.

The flow of control in an OpenID Consumer is as follows:

  1. The user is directed to the login page of the supported/selected OpenID Provider.

  2. Once the user completes logging in, the OpenID Provider informs the user about user-related data requested by the OpenID Consumer.

  3. If the user agrees to share the information, he or she is redirected to the page requested by him or her on the consumer application. The information is added to the request URL. The information is termed as attribute properties and this is documented at http://openid.net/specs/openid-attribute-properties-list-1_0-01.html.

Play provides an API to simplify OpenID transactions...