I need to generate authentication Token for guest user. I have checked in documentation, we can only generate Auth Token for customer and admin. Other resource can be accessed using anonymous role.
But as per application logic we are developing, It is require to save some user specific values to provide data.
Best Answer
Refer this link for more details - http://devdocs.magento.com/guides/v2.0/rest/anonymous-api-security.html
Note : On a conclusion we can not generate authentication token for guest user as it have anonymous role. if you still want to save user specific information then override customer restApi model file and create your custom function for that.