Learn about our RFC process, Open RFC meetings & more.Join in the discussion! »

This package has been deprecated

Author message:

This package has been deprecated in favour of 'apollo-module-authentication'

apollo-module-authorisation

0.0.1 • Public • Published

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

Install

npm i apollo-module-authorisation

DownloadsWeekly Downloads

3

Version

0.0.1

License

MIT

Last publish

Collaborators

  • avatar