private PFAuthTokenResponse parseAccessTokenResponse(String token) {
   PFAuthTokenResponse authTokenResponse = PFAuthTokenResponse.parseAuthTokenResponse(token);
   AuthToken tk = AuthToken.parse(token);
   assert tk != null;
   if (authTokenResponse.authToken == null
       && tk.getEmail()
           != null) { // Then we've received an authtoken (instead of an authtokenresponse), so
     // create the response
     authTokenResponse = new PFAuthTokenResponse();
     authTokenResponse.success = true;
     authTokenResponse.errorCode = 200;
     authTokenResponse.authToken = tk;
   }
   return authTokenResponse;
 }