feat(api): API tokens for authentication

Create and managed simple API tokens for access to the API from external
tools.
This commit is contained in:
Julian Tölle 2023-02-19 16:16:34 +01:00
parent eda89716ef
commit 8f7eebb806
15 changed files with 614 additions and 154 deletions

View file

@ -0,0 +1,9 @@
import { ApiProperty } from "@nestjs/swagger";
export class CreateApiTokenRequestDto {
@ApiProperty({
description: "Opaque text field to identify the API token",
example: "My super duper token",
})
description: string;
}