OAuth — Documentation
This might be the future for all those cases where you want to give web app A access to data from web app B, since it allows doing so without asking the user for her web app B credentials.