You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
cn.yimian.xyz 1d19d8d30e addDev 3 years ago
LICENSE Initial commit 5 years ago
README.md Update README.md 5 years ago
checkin.php fy 4 years ago
checkout.php replace from href 4 years ago
functions.php addDev 3 years ago
getEmailHash.php email hash 4 years ago
getOnlineDevices.php addDev 3 years ago
index.php replace from href 4 years ago
logoutDevices.php addDev 3 years ago
setFip.php 3_hours 4 years ago
who.php works 4 years ago

README.md

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