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 committed by David Mehren
parent cce1626c48
commit c9751404f7
No known key found for this signature in database
GPG key ID: 185982BA4C42B7C3
9 changed files with 113 additions and 35 deletions

View file

@ -15,3 +15,7 @@ export class ClientError extends Error {
export class PermissionError extends Error {
name = 'PermissionError';
}
export class TokenNotValid extends Error {
name = 'TokenNotValid';
}