FraserKillip / SC2_API

2 stars 1 forks source link

Allow queries to schema without authorisation #11

Closed ShadowDog007 closed 7 years ago

ShadowDog007 commented 7 years ago

Split Authentication & Authorization middleware.

We now Authorize with ValidationRules in GraphQL, allowing querying of private fields (double underscore) so we can query schema without being authenticated.

AuthorizationMiddleware is now only used for MVC requests.

FraserKillip commented 7 years ago

LGTM