Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What is the difference among BasicAuth,OAuth and XAuth?

Recently i heard that Twitter will be shutting off the basic authentication on the Twitter API and they move towards OAuth.

So i want to know What is the difference among BasicAuth,OAuth and XAuth?

what is the advantage and disadvantage of each Auth?

like image 202
raaz Avatar asked Jul 24 '10 07:07

raaz


1 Answers

xAuth is a simplified version of OAuth. It removes several steps, so your app sends an OAuth-signed POST request with the username and password to Twitter's servers (using https://api.twitter.com/oauth/access_token), which directly returns a consumer token and secret for use other requests.

You have to email the Twitter API team to enable xAuth for your app, after your app has OAuth access. See http://dev.twitter.com/pages/xauth .

like image 154
lucius Avatar answered Sep 29 '22 02:09

lucius