Home

Awesome

meshblu-core-manager-token

Meshblu Token Manager

Build Status Test Coverage Dependency status devDependency Status Slack Status

NPM

Tokens Datastore Format

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