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

Dependencies (0)

    Dev Dependencies (0)

      Package Sidebar

      Install

      npm i apollo-module-authorisation

      Weekly Downloads

      1

      Version

      0.0.1

      License

      MIT

      Last publish

      Collaborators

      • tomitrescak