I need to add feature layer to a map.
Ok, I added type for 'token' on my own, but then we have problem 2...
Problem 2: The 'token' will not be sendt to the server. So I get a login dialog to be authenticated.
My question is how to add a featureLayer to the map by using token?