- Add BINARY_FORMAT.md: full AcBinary wire format spec (markers, encoding, options, protocol, interactions) - Reference BINARY_FORMAT.md from GLOSSARY.md, Binaries/README.md, and Serializers/Binaries/README.md; add new glossary terms - Clarify and expand config options tables to match new doc - Add/clarify LLM maintenance rules: always sync .md files with code, auto-fix discrepancies - Update root README.md: AyCode.Core targets .NET 9, not 10; stress doc/code sync - Add code reuse and doc sync conventions to copilot-instructions.md and CONVENTIONS.md - Add docs/ folder and BINARY_FORMAT.md to solution as Solution Items - Minor clarifications and cross-links in ARCHITECTURE.md and other docs |
||
|---|---|---|
| .. | ||
| Logins | ||
| AyCode.Interfaces.Server.csproj | ||
| README.md | ||
README.md
AyCode.Interfaces.Server
Server-side interface contracts extending AyCode.Interfaces. Defines authentication and login service contracts that are only relevant on the server.
Key Files
Logins/
IAcLoginDtoBase.cs— Empty marker interface for login DTOs.IAcLoggedInModelBase.cs— Generic interface for the logged-in user model. Properties:IsLoggedIn,LoggedInUser,AccessToken,LoginErrorCode. Methods:AddLoggedInUser(),Logout(). Heavily constrained generics (TUser,TUserToken,TProfile,TCompany,TUserToServiceProvider,TProfileAddress).IAcLoginServiceServer.cs— Server-side login service extendingIAcLoginServiceCommon. Adds:Login()/LoginAsync()(returnsTResultLoggedInModel),UpdatePassword(). ReturnsAcErrorCodefor validation.
Dependencies
| Dependency | Purpose |
|---|---|
AyCode.Interfaces |
Base interface contracts (users, profiles, companies, logins) |
AyCode.Core |
Error codes (AcErrorCode) |
AyCode.Core.Server |
Server-side core |
AyCode.Entities |
Entity base classes |
AyCode.Entities.Server |
Server-side entities |