visa-passport-extend
Abstract and error classes for implementing visa-passport's backend API.
Install
Install the module with: npm install visa-passport-extend
Usage
This module exports an abstract Backend
class and error classes (NotOverrideError
, InvalidArgumentsError
, RuleExistsError
).
The Backend
class is intended to be subclassed when implementing concrete backend class. Once implemented, such classes can be used by applications that utilize visa-passport middleware for authorization.
Subclass Backend
var util = Backend = ; { Backend;} util;
License
Copyright (c) 2014 BJR Matos <https://github.com/borismcr9/> Licensed under the MIT license.