Protecting endpoints

So now that we're generating a token, and we're sending it to the consumer when they log in, we can protect an endpoins so that only an authorized user can access it by providing their token.


This is a companion discussion topic for the original entry at https://vuejsdevelopers.com/lessons/protecting-endpoints/2/