Checking A User's Status

After a user has authenticated, you'll also want to check their status to determine if they've remotely cleared their Session. To check this status, use the isAuthorized function which will return a boolean response indicating if the user is still authorized for the session or whether it has ended.




authRequest:string Unique request identifier


AuthenticationManager.getInstance().isAuthorized(mAuthRequest, new AuthenticationManager.PollCallback() {
    public void wasSuccess(boolean authorized) {
        // success
    public void wasFailure(String errorMessage, String errorCode) {
        // failure


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 ×