Various code samples from the http://presos.dsyer.com/decks/microservice-security.html presentation by Dave Syer