How do I implement a token based authentication system in a mesh network?

In this i would like to build a token based system where the MAP(mesh access point) generates a token for verified client and that token can be used for seamless handoff when the client travels from one MAP to another. I am not sure where to start..Can u point me to a right direction. Thank you!