17
src/models/entities/Logout.ts
Normal file
17
src/models/entities/Logout.ts
Normal 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;
|
||||
}
|
||||
Reference in New Issue
Block a user