Skip to content

T1: Identity domain entities + service interface#54

Open
devin-ai-integration[bot] wants to merge 1 commit into
devin/identity-t0-reconfrom
devin/identity-t1-domain
Open

T1: Identity domain entities + service interface#54
devin-ai-integration[bot] wants to merge 1 commit into
devin/identity-t0-reconfrom
devin/identity-t1-domain

Conversation

@devin-ai-integration

@devin-ai-integration devin-ai-integration Bot commented Jun 26, 2026

Copy link
Copy Markdown
Contributor

Summary

Adds the domain layer for the Identity microservice — plain C# entities, DTOs, and a service interface. No ASP.NET Identity or OpenIddict dependencies.

Entities (Identity.Domain.Entities):

  • AppUser — user profile with PasswordHash, IsEnabled, timestamps
  • AppRole — simple id/name/description role

DTOs (Identity.Domain.DTOs):

  • RegisterRequest / RegisterResult
  • LoginRequest / LoginResult
  • AppUserDto (projection without sensitive fields)

Interface (Identity.Domain.Interfaces):

public interface IIdentityService
{
    Task<RegisterResult> RegisterAsync(RegisterRequest request);
    Task<LoginResult> LoginAsync(LoginRequest request);
    Task<AppUserDto?> GetUserByIdAsync(Guid id);
    Task<IEnumerable<AppUserDto>> GetAllUsersAsync();
}

Build passes: dotnet build Services/Identity/Identity.API/Identity.API.csproj -c Release
No forbidden symbols (IdentityUser, IdentityRole, OpenIddict, ApplicationDbContext, QuickApp.Core.Models.Shop) present.

Link to Devin session: https://partner-workshops.devinenterprise.com/sessions/0f07b7a8f1014aec962930431c54da9f
Requested by: @mbatchelor81


Open in Devin Review

- AppUser and AppRole entities (plain C# classes, no ASP.NET Identity)
- RegisterRequest, RegisterResult, LoginRequest, LoginResult, AppUserDto DTOs
- IIdentityService interface with Register, Login, GetUserById, GetAllUsers
@mbatchelor81 mbatchelor81 self-assigned this Jun 26, 2026
@devin-ai-integration

Copy link
Copy Markdown
Contributor Author

🤖 Devin AI Engineer

I'll be helping with this pull request! Here's what you should know:

✅ I will automatically:

  • Address comments on this PR. Add '(aside)' to your comment to have me ignore it.
  • Look at CI failures and help fix them

Note: I can only respond to comments from users who have write access to this repository.

⚙️ Control Options:

  • Disable automatic comment, CI, and merge conflict monitoring

@devin-ai-integration devin-ai-integration Bot left a comment

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

✅ Devin Review: No Issues Found

Devin Review analyzed this PR and found no bugs or issues to report.

Open in Devin Review

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant