ioBroker.js-controller
ioBroker.js-controller copied to clipboard
think about a standardized property for different auth mechanisms in user objects
- like LDAP #1142
- or https://github.com/Vertumnus/ioBroker.googleauth
- I could think of
common.authenticationwhich is an object, containing aname/idof theservice/type+ additional auth type specific information
I would propose more a common.externalAuthentication as name for the field to show that it is about "non iobroker" authentication mechanisms.
externalAuthentication: {
"google": {
"id": "...",
"...": "..."
},
"ldap": {
...
"
}
with id being always there and other keys could contain access/refresh tokens or whatever