summary refs log tree commit diff
path: root/src/util/schemas/responses/TokenResponse.ts
blob: 7e93055a904c5b6d164446224a5850d036028e88 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
import { BackupCode, UserSettings } from "../../entities";

export interface TokenResponse {
	token: string;
	settings: UserSettings;
}

export interface TokenOnlyResponse {
	token: string;
}

export interface TokenWithBackupCodesResponse {
	token: string;
	backup_codes: BackupCode[];
}