New Open AIM Sample

I added a new sample called accfed to the Open AIM Dev site. This is a sample written in C++ that demonstrates how to log into Open AIM using federated tokens and a session secret obtained from a Web AIM application. You need to pass in the federated screenname and do not need a password, but instead pass in your DevId of the Web AIM application that is authenticated using Open Auth and the token and the session secret obtained from the response.

The DevId parameter has to match the DevId of the web application from which you obtain the Token and SessionSecret.

Usage: accfed myUserName myDevId myToken mySessionSecret

Example usage…

accfed mytestsn@myfederatedaccount.com ch1t2PGGC_d42BW1 %2FwQAAAAAAADhcsw5R7qRa5Q094F%2FKh9zooQ
VkorkmECTTU9MSkvjRzg%2Bj%2FhO8D5pOnJGU45qo
KT%2BcF%2FVkzLAYEbAzxdchHc07DpCgrNCKqarreIFue
WpsXLupdnQ51KBLdKZc99YuGevgKJEeiUiFNJMNJM%3D NpW6vM371VSvtK7w

The above methodology is only relevant for AOL partners who are either pursuing or already have a federated partner arrangement so that their non AIM credentials can authenticate into AIM.

The Open Auth documentation for the ClientLogin API is here. This API is ONLY available for use with desktop applications are not web based applications.

There are more documents and samples on the main Open Auth site too.

Bookmark and Share

2 Comments

Matthew GoldsteinJuly 12th, 2009 at 2:00 am

Looks interesting. Is there a page with documentation on what federated accounts and tokens are all about?

adminJuly 12th, 2009 at 11:48 am

Thanks for the feedback! I just modified the post above to add some references to the Open Auth website for documentation and samples. But the Federated login APIs are not published on the dev site but are available to partners who choose to use Federated Login to authenticate their domain SNs for AIM services.

Leave a comment

Your comment