LiveConnectClient logoutWithDelegate:userState method

Performs an asynchronous logout of the user from the app with an optional LiveAuthDelegate and user state.

Signature

- (void) logoutWithDelegate:(id<LiveAuthDelegate>)delegate
                  userState:(id)userState;

Parameters

Name

Datatype

Description

delegate

id<LiveAuthDelegate>

Optional. An app class instance that implements the LiveAuthDelegate protocol.

userState

id

Optional. An object that is used to track the asynchronous state. The userState object is passed as a userState parameter when any LiveAuthDelegate protocol method is invoked.

Optional. An app class instance that implements the LiveAuthDelegate protocol.

Returns

Nothing.

Defined in

LiveConnectClient.h

See also

LiveConnectClient class