apollo-module-authorisationdeprecated

Apollo module for authorisation using JWT tokens.

Usage no npm install needed!

<script type="module">
  import apolloModuleAuthorisation from 'https://cdn.skypack.dev/apollo-module-authorisation';
</script>

README

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()
};