From 92305f6cac358d706d93104557dffd993734f3f9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=91=93=E5=96=B5=E9=85=B1?= Date: Mon, 16 Sep 2019 22:01:47 +0100 Subject: [PATCH] Update README.md --- README.md | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/README.md b/README.md index b5a6a6f..530d2cd 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,18 @@ # auth auth system for ushio system + + +## Key Logic + - three kinds of account: admin, user, visitor + - usr can be authed by email, phone, passwd + - after logined, the client id and secret can be generated and assigned + - every domain is an single app, it needs a new client id and secret. + - the app use the id and secret to get a time-expired token + - the client id and secret can be managed + + + +## Process Flow +``` + +```