Trivore Identity Service (TIS) can be used to store small amounts of application specific data. There are a number of different types of data persistence points for different kinds of data. This chapter covers the basics of those points and gives recommendations on which point to use in which situation.
User related data persistence
The data persistence points in this section are related to user accounts in some way.
User custom fields
Custom fields are a set of freely specified field names and values. The values can be strings, booleans, numbers or objects. They can be used in user search by using filter keys like 'customFields.{fieldName}'.
User Custom fields can be used to add and manage application specific user related data for each user.
User custom fields are visible to all Management API Clients with ACCOUNTS_VIEW permission and access to the user's namespace. Custom fields are also always visible to users themselves. Also, the custom fields can be modified by any management api client with ACCOUNTS_MODIFY permission and access to user's namespace.
User tokens
User tokens are access controlled key-value pairs attached to user accounts. User tokens have a list of entities, which are allowed to read the token and another list with entities, which are allowed to modify the token.
User tokens can be queried by key.
User Tags
User tags are pieces of strings, which are attached to the user account. The user tags are indexed and users can be queried by tags.
Namespace default tags can be set for each namespace. The default tags are suggested in user tag editor field in the Web UI's user editor. Users can edit their own tags
Others
Data storages
Application private tokens
As the name suggest, the application private tokens are application specific and visible and accessible only to the Management API Client, that created them. The application private tokens can be used to store relative data. Each entry has a relatedId, key and a value.
Application private tokens are documented in much greater detail in Private Token Store .