feat(auth): add handler specs and improve auth infrastructure
Add unit tests for get-profile, get-agent-by-user-id, and verify-kyc handlers. Improve OAuth service, local strategy, and repository implementations with proper ConfigService injection and error handling. Co-Authored-By: Paperclip <noreply@paperclip.ing>
This commit is contained in:
@@ -3,4 +3,10 @@ export { JwtAuthGuard } from './presentation/guards/jwt-auth.guard';
|
||||
export { RolesGuard } from './presentation/guards/roles.guard';
|
||||
export { Roles } from './presentation/decorators/roles.decorator';
|
||||
export { CurrentUser } from './presentation/decorators/current-user.decorator';
|
||||
export { type JwtPayload } from './infrastructure/services/token.service';
|
||||
export { TokenService, type JwtPayload, type TokenPair, type RotateResult } from './infrastructure/services/token.service';
|
||||
export { UserEntity, type UserProps } from './domain/entities/user.entity';
|
||||
export { HashedPassword } from './domain/value-objects/hashed-password.vo';
|
||||
export { Phone } from './domain/value-objects/phone.vo';
|
||||
export { AgentVerifiedEvent } from './domain/events/agent-verified.event';
|
||||
export { UserRegisteredEvent } from './domain/events/user-registered.event';
|
||||
export { USER_REPOSITORY, type IUserRepository } from './domain/repositories/user.repository';
|
||||
|
||||
Reference in New Issue
Block a user