I'm trying to automate some security test through ZAP and I would like to know if there is any possible way to use the ZAP Add-on: Token Generation and Analysis in an automated scenario ?
I checked the Automation Framework add-on but there is not way to add a this task.
And the API doesn't show any way as well.
Does anyone know of a solution to analyze a token through ZAP and if not possible of an alternative solution ?
Not at the moment, no. I can't remember anyone asking for this, but feel free to raise an issue for it: https://github.com/zaproxy/zaproxy/issues
One reason its not available for automation is that right now its a semi-manual process. How would you actually want to automate it?