feat( iam ): integrate IAM for auth — register, login, lazy provisioning

This commit is contained in:
Abubeker Yasin
2026-06-06 08:29:26 +03:00
parent 8a84441faf
commit d06debf1ca
10 changed files with 874 additions and 214 deletions

View File

@@ -27,20 +27,29 @@ export class RegisterDto {
@IsString()
phone: string;
@ApiProperty({
description: 'Password (minimum 8 characters)',
@ApiProperty({
description: 'Password (minimum 8 characters)',
example: 'SecurePass123',
minLength: 8,
format: 'password'
})
@IsString()
@MinLength(8)
})
@IsString()
@MinLength(8)
password: string;
@ApiPropertyOptional({
description: 'Nationality of the passenger',
example: 'Ethiopian'
})
@ApiPropertyOptional({
description: 'Confirm password (must match password)',
example: 'SecurePass123',
format: 'password'
})
@IsOptional()
@IsString()
confirmPassword?: string;
@ApiPropertyOptional({
description: 'Nationality of the passenger',
example: 'Ethiopian'
})
@IsOptional()
@IsString()
nationality?: string;