mirror of
https://github.com/CaramelFur/Picsur.git
synced 2025-11-14 23:55:47 +01:00
Add ability to get fresh jwt
This commit is contained in:
@@ -50,6 +50,17 @@ export class AuthDeleteRequest {
|
||||
|
||||
export class AuthDeleteResponse extends EUser {}
|
||||
|
||||
export class AuthMeResponse {
|
||||
@IsDefined()
|
||||
@ValidateNested()
|
||||
@Type(() => EUser)
|
||||
user: EUser;
|
||||
|
||||
@IsString()
|
||||
@IsDefined()
|
||||
newJwtToken: string;
|
||||
}
|
||||
|
||||
// Extra
|
||||
|
||||
export class JwtDataDto {
|
||||
|
||||
Reference in New Issue
Block a user