|Current information about Live Connect is now available in the Windows Live Developer Center. The information in the following sections is provided for legacy purposes only.|
The waitForSignIn method is used to define code that runs after sign-in is complete. You can use the waitForSignIn method when you don't know how sign-in will occur (for example, with the API or the SignIn control), or when the sign-in callback code is defined separately from the sign-in code (for example, in another library).
The following code example demonstrates how to use the waitForSignIn method.