I’ve just released a new version of Spock: 0.9.0.0. Along with some small improvements a big feature has dropped: Contexts. Let’s take a look at them and how they can help out in an authentication scenario. What are ‘Contexts’? A context is a value that lives during a request. When a request arrives at your application, the context will be initialized with (). Hence the type of the basic route wir