UNPKG

happn-3

Version:

pub/sub api as a service using primus and mongo & redis or nedb, can work as cluster, single process or embedded using nedb

9 lines (8 loc) 339 B
module.exports = class SecurityAuthProviderFactory { create(securityFacade, happnConfig, options) { if (typeof this.createAuthProvider !== 'function') { throw new Error(`Auth provider factory must implement the createAuthProvider method`); } return this.createAuthProvider(securityFacade, happnConfig, options); } };