Token verification by classes