meshblu-core-manager-token
Version:
Meshblu Token Manager
39 lines (29 loc) • 1.34 kB
Markdown
# meshblu-core-manager-token
Meshblu Token Manager
[](https://travis-ci.org/octoblu/meshblu-core-manager-token)
[](https://codecov.io/gh/octoblu/meshblu-core-manager-token)
[](https://david-dm.org/octoblu/meshblu-core-manager-token)
[](https://david-dm.org/octoblu/meshblu-core-manager-token#info=devDependencies)
[](http://community-slack.octoblu.com)
[](https://npmjs.org/package/meshblu-core-manager-token)
## Tokens Datastore Format
```coffee
tokens = [
# Normal session token record
{
uuid: 'some-uuid'
hashedToken: 'hashed-token'
metadata: {}
}
# Session token record with custom tags
{
uuid: 'some-uuid'
hashedToken: 'hashed-token'
metadata:
tag: 'some-custom-tag'
random: 'property'
}
]
```
## Tokens collection indexes
uuid, hashedToken, expiresOn