I want to implement a scheme where the end user gets an allocation of tokens and when they are all consumed the application is prevented from running until more tokens are purchased. I want this to work with floating licenses so that any number of users (ie activations) can consume from the same pool of tokens.
It appears that I should use a meter attribute for the token. Since the application can’t check Gross Uses (at least via LexActivator), Allowed Uses will be the size of the token pool and each activation must stay activated in order for the Total Uses count to properly count up to the max allocation (Allowed Uses).
If this seems correct, the question then is how can we handle deactivations? Deactivating subtracts that activation’s count from the license’s Total Uses. But a user may get a new computer, or may leave the company or department, so deactivation will be necessary. Are we forced to either disallow deactivation or accept the consequences?