Jeśli jesteś właścicielem tej strony, możesz wyłączyć reklamę poniżej zmieniając pakiet na PRO lub VIP w panelu naszego hostingu już od 4zł!

Lorna Mitchell’ Blog: PHP OAuth Provider: Access Tokens

Lorna Mitchell’ Blog: PHP OAuth Provider: Access Tokens

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.

Source: http://www.phpdeveloper.org/news/16788

<!–
var d = new Date();
r = escape(d.getTime()*Math.random());
document.writeln('’);
//–>

Posted Sierpień 31st, 2011 in WEB and PHP Development.

Leave a response: