21 lines
409 B
TypeScript
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;
|
|
}
|