Log Out A User

To log out a user and end their session, call the logout function. When the session has been ended successfully, the withSuccess block will be called.

Definition

logout:authRequest

Parameters

authRequest:string Unique request identifier returned from authorize()

Example

[[AuthenticationManager sharedClient] logout:authRequest withSuccess:^{
    } withFailure:^(NSString *errorMessage, NSString *errorCode) {
}];

User Contributed

LaunchKey links to user contributed code as a resource to its community. LaunchKey does not in any way guarantee or warrant the quality and security of these code bases. User contributed code is supported by the creators. If you do find a link from the site to user contributed code that is malicious or inappropriate in any way, please report that link to LaunchKey immediately and we will investigate the claim. Submit any issue to LaunchKey support at https://launchkey.com./support. ×