Please enable JavaScript.
Coggle requires JavaScript to display documents.
User Service - Coggle Diagram
User Service
controllers
Get User
Get User Settings
Set User (intenal call only)
set Network fees (internal call only from acp)
services
getUser
prepare the Object
dataTo be sent
user balances
user Addresses(without private keys!)
user NCID
user Settings
user email
You will get the user from JWT startegy so no need to call db again
getUser Settings
prepare the Object
permissions (get from user Object that comes from JWT)
commissions (get from user Object that comes from JWT)
network fees
initialization
parameters
init (boolean)
if it is false class needs to read data from redis
onlineUsers
updated by Auth module or Redis
network fees
updated by Redis Or ACP application