argentum_user_account_business

Crates.ioargentum_user_account_business
lib.rsargentum_user_account_business
version0.2.6
sourcesrc
created_at2024-07-30 21:55:11.052563
updated_at2024-08-30 15:53:30.351023
descriptionBusiness layer of user account component
homepagehttps://github.com/argentum-toolkit/argentum
repositoryhttps://github.com/argentum-toolkit/argentum
max_upload_size
id1320381
size66,120
Vital Leshchyk (itcreator)

documentation

https://github.com/argentum-toolkit/argentum

README

= Argentum ToolKit User. An Business layer.

== User workflow Overview

.Overview sequence diagram [plantuml, format="svg"]

@startuml actor User as user

user -> reg: registration reg --> user: mail ||| user -> reg: confirmation \n(not implemented yet) reg --> user: mail ||| user -> login: login login --> user: token ||| user -> action: do something action --> user: result

@enduml

== Authentication

.Authentication sequence diagram [plantuml, format="svg"]

@startuml actor user participant Middleware as m database "Token storage" as ts

user -> m m -> ts: token ts --> m: userId m -> SomeController: userId + request

@enduml

== Restore Password

.Restore password sequence diagram [plantuml, format="svg"]

@startuml autonumber 1.1

actor User as u

participant system as s participant Notificator as n

group Request Reset Token u -> s: Request reset\npassword token s -> s: Generate token\nInvalidate previous token s -> n: Send token n --> u: Send token end

autonumber 2.1

group Reset Password u -> s: Send new password s -> s: Change password\nInvalidate token s -> n: Password was changed n --> u: Password was changed end

@enduml

Commit count: 0

cargo fmt