🚧 starting work on LogoutHandler

ref #12
This commit is contained in:
2020-12-05 13:38:59 +01:00
parent 0d21497c2f
commit 675717f8ca
3 changed files with 69 additions and 0 deletions

View File

@@ -0,0 +1,17 @@
import { IsString } from 'class-validator';
/**
* Defines a Logout object
*/
export class Logout {
/**
* access_token - JWT shortterm access token
*/
@IsString()
access_token: string;
/**
* timestamp of logout
*/
@IsString()
timestamp: number;
}