Please enable JavaScript.
Coggle requires JavaScript to display documents.
Confirmation - Coggle Diagram
Confirmation
Services
Password Loss Confirmation
Check if data exists
get it from class parameters if not exist check Redis too
ecnrypt the password
update the ecncrypted password
get user
copy user to redis
create a csurf token
log this activity
Login Confirmation
Check if data exists
get it from class parameters if not exist check Redis too
get User
Create csurf token
Log this activity
Force customer to create a password
Delete confirmation request
Add user to Redis
Register Confirmation
Check if data exist
get it from class parameters if not exist check Redis too
Create user id
Create one Autoconvert address
Create one Btc address
Create one Tron address
Create one Ethereum Address
Create one BNB address
Add user to Redis
Create default settings for this user
Create a csurf token
Encrypt users password
Delete confirmation request
init
initializes all the services
parameters to update
RegisteConfirmations
get it from Register Class or Redis
Password Loss Confirmations
get it from password loss class or redis
Login Confirmations
get it From login class or Redis
Controller
Login Confirmation
Check incoming data
Check if data coming from same Ip
Register Confirmation
Check incoming data
Check if data coming from same Ip
Password Loss Confirmation
Check incoming data
Check if data coming from same Ip
Dto
Register Confirmation
code
ip (added in middleware)
Password Loss
code
ip (added in middleware)
password
Login Confirmation
code
ip (added in middleware)
Validation Pipes
Password Loss
password
not null
mustString
code
not null
mustString
Login Confirmation
code
not null
mustString
Register Confirmation
code
not null
mustString
Middleware
Middlewares
req quantity checker
ip handler
Check if the request is coming from wanted ip