Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

Lorna Mitchell' Blog:
PHP OAuth Provider: Access Tokens
Aug 30, 2011 @ 13:28:04

Lorna Mitchell has posted the latest in her look at OAuth in PHP to her blog today, an introduction to access tokens - generating and handling them in your application.

I've been working with OAuth, as a provider and consumer, and there isn't a lot of documentation around it for PHP at the moment so I thought I'd share my experience in this series of articles. [...] This entry follows on from the ones about the initial requirements, how to how to handle request tokens, and authenticating users.

In this latest post, she talks about the three different types of tokens - consumer, request and verififier - and how to use them to locate a user in your app's users. Her code validates the request token and verifier against the database and, if successful, inserts the rest of the token information for the user.

tagged: oauth provider tutorial access token consumer secret verifier

Link:


Trending Topics: