recuperation des profils avec email verifié

This commit is contained in:
styve Lioumba
2025-11-24 16:17:22 +01:00
parent f1bd4f7ff1
commit acd8a4cc07
4 changed files with 16 additions and 6 deletions

View File

@@ -3,11 +3,11 @@ import { Observable } from 'rxjs';
import { User } from '@app/domain/users/user.model';
import { RegisterDto } from '@app/domain/authentification/dto/register-dto';
export type AuthResponse = {
export interface AuthResponse {
isValid: boolean;
token: string;
record: User;
};
}
export interface AuthRepository {
login(loginDto: LoginDto): Observable<AuthResponse>;
register(registerDto: RegisterDto): Observable<User>;