digitalbazaar/bedrock-credentials-mongodb

Name: bedrock-credentials-mongodb

Owner: Digital Bazaar, Inc.

Description: Credential storage in mongodb

Created: 2015-05-08 14:22:31.0

Updated: 2016-01-31 19:02:38.0

Pushed: 2017-03-20 15:28:30.0

Homepage: null

Size: 55

Language: JavaScript

GitHub Committers

UserMost Recent Commit# Commits

Other Committers

UserEmailMost Recent Commit# Commits

README

bedrock-credentials-mongodb

Build Status

A bedrock module that stores credentials in a MongoDB database.

Requirements
Quick Examples
install bedrock-credentials-mongodb
s
bedrock = require('bedrock');
store = require('bedrock-credentials-mongodb');

nsert a credential into storage
e.insert(actor, credential, callback);

et a credential from storage
e.get(actor, query, callback);

ount credentials matching a query
OTE: for optimal performance, special attention should be given to query
arameters and indexing.  Refer to MongoDB documentation for special
onsiderations if a sharded cluster is involved.
e.count(actor, query, callback);

This work is supported by the National Institutes of Health's National Center for Advancing Translational Sciences, Grant Number U24TR002306. This work is solely the responsibility of the creators and does not necessarily represent the official views of the National Institutes of Health.