Files
space-game/apps/viewer/src/contractsAuth.ts

21 lines
409 B
TypeScript

export interface AuthSessionResponse {
userId: string;
email: string;
roles: string[];
accessToken: string;
accessTokenExpiresAtUtc: string;
refreshToken: string;
refreshTokenExpiresAtUtc: string;
}
export interface RegisterResponse {
userId: string;
email: string;
requiresLogin: boolean;
}
export interface ForgotPasswordResponse {
accepted: boolean;
resetToken?: string | null;
}