mb1986 / actix-auth

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

actix-auth

Possible flows

POST /auth `wrong credentials`
401 Unauthorized `bad login / password`
POST /auth `totp code`
401 Unauthorized `user login required first`
POST /auth `correct credentials`
/ 401 Unauthorized `totp required next`
\ 204 No Content `when totp disabled`
POST /auth `correct credentials`
401 Unauthorized `totp required next`

POST /auth `totp code`
204 No Content `user signed-in`

About


Languages

Language:Rust 100.0%