Token Controlled Permissions

You could push the token count to each user’s Title. Not sure why that should only be updated while the user is logged into discourse though?

As for user interactions, (ie associating accounts), why not do this externally?

I admit I have absolutely zero knowledge of the system you’re trying to integrate here, it just seems to me that you’re not actually doing anything to discourse that involves data or systems in discourse.