Better error handling and documentation on refresh token

This commit is contained in:
Gabriel Rosa
2023-02-14 09:25:14 -03:00
parent de06512249
commit c5c089e5d5
6 changed files with 63 additions and 29 deletions
+6
View File
@@ -109,3 +109,9 @@ export class AuthRefreshAccessTokenReq {
@ApiProperty()
customerName: string;
}
export class AuthRefreshAccessTokenRes {
@ApiProperty()
permissions: string[];
@ApiProperty()
accessToken: string;
}