0.0.1 • Published 9 years ago

apollo-module-authorisation v0.0.1

Weekly downloads
-
License
MIT
Repository
-
Last release
9 years ago

Introduction

Apollo module for authorisation using JWT tokens.

import { authorisationModule } from 'apollo-module-authorisation';
import { processSchema, schemas, resolvers } from 'apollo-mantra/server';

processSchema([
  authorisationModule,
  ... // your other schemas
]);

module.exports = {
  schema: schemas(),
  resolvers: resolvers()
};
0.0.1

9 years ago