Checking A User's Status

After a user has authenticated, use the isAuthorized function to check their status to determine if they've remotely logged out. This function returns a boolean response that indicates whether the user is still authorized for the session.

Definition

isAuthorized:authRequest

Parameters

authRequest:string Unique identifier returned from initial request

Example

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

Returns

authorized:Boolean indicating whether the user is still authorized for the session or whether the session has ended

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. ×