What is the difference among BasicAuth,OAuth and XAuth?

raaz picture raaz · Jul 24, 2010 · Viewed 15.6k times · Source

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?

Answer

lucius picture lucius · Jul 30, 2010

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 .