tokens: Add token creation

Fix token deletion
Update plantuml docs
Add token validUntil and lastUsed fields

Signed-off-by: Philip Molares <philip.molares@udo.edu>
This commit is contained in:
Philip Molares 2021-01-21 19:37:43 +01:00
parent fd70b2d121
commit 599fe57ec6
9 changed files with 113 additions and 35 deletions

View file

@ -28,9 +28,12 @@ entity "auth_token"{
*id : number <<generated>>
--
*userId : uuid
*keyId: text
*accessToken : text
*identifier: text
*createdAt: date
lastUsed: number
validUntil: number
}
entity "identity" {