My favorites | Sign in
Project Home Downloads Wiki Issues Source
READ-ONLY: This project has been archived. For more information see this post.
Search
for
UsingTheServerLibrary  
What is the server library and how do I use it?
Updated Jun 27, 2010 by tim.ridg...@gmail.com

Introduction

The server library is an abstract PHP class that you can subclass to implement an OAuth 2.0 authorization or resource server.

Why is it abstract?

An OAuth 2.0 server needs to persistently store and retrieve various pieces of data, like access tokens and authorization codes.

Our goal is to create a library that handles the details of the OAuth protocol, and lets a user plug in the persistent storage details.

Can I see an example?

We created a very simple OAuth server that uses Mongo DB as a persistent store. Check out the /server directory in the source.

Comment by sonawane...@gmail.com, Jan 4, 2011

Hi,

I am in a process to implement this library for my site. But i have following doubts,

If i implement above library, then can any client library using oauth2.0 can access my API or communicate with my Server?

By "any" i meant whether it could be mobile library for andriod or java library

Also, Is there any need to distribute client library(developed by me) to developer who want to use my APIs?

please help me i'm in great confusion...

Thanking you with anticipation.

Regards, sAg

Powered by Google Project Hosting