private: adds tokens controller

adds private api
adds AuthTokenDto and AuthTokenWithSecretDto
adds necessary methods in the users service
adds RandomnessError

Signed-off-by: Philip Molares <philip.molares@udo.edu>
This commit is contained in:
Philip Molares 2021-01-16 23:53:46 +01:00
parent b586b9ffb2
commit cbf6ac912a
10 changed files with 248 additions and 12 deletions

View file

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