Allowing formatters to pass a closure that takes the application container as first parameter.

Signed-off-by: Jason Lewis <jason.lewis1991@gmail.com>
Implemented Fractal transformations.

Signed-off-by: Jason Lewis <jason.lewis1991@gmail.com>
Refactoring middleware and tests.

Signed-off-by: Jason Lewis <jason.lewis1991@gmail.com>
A bit of cleaning up.

Signed-off-by: Jason Lewis <jason.lewis1991@gmail.com>
Fixing possible issue where authentication is attempted on each request.

Signed-off-by: Jason Lewis <jason.lewis1991@gmail.com>
Normalizing code and docblocks.

Signed-off-by: Jason Lewis <jason.lewis1991@gmail.com>
Using auth instead of shield for property name.

Signed-off-by: Jason Lewis <jason.lewis1991@gmail.com>
Refactoring authentication once more. For the last time.

Signed-off-by: Jason Lewis <jason.lewis1991@gmail.com>
Removing some aspects of the OAuth integration to simplify things.

Signed-off-by: Jason Lewis <jason.lewis1991@gmail.com>
Parse the accept header for authentication to get the version and format of the request.

Signed-off-by: Jason Lewis <jason.lewis1991@gmail.com>
Allow scopes to be given to transformers for nested or embedded relationships.

Signed-off-by: Jason Lewis <jason.lewis1991@gmail.com>
Renamed from scopes to embeds.

Signed-off-by: Jason Lewis <jason.lewis1991@gmail.com>