Imported from 5gMurilo/helptrix-api (core/interfaces/auth/AGENTS.md). Install upstream with npx skills add 5gMurilo/helptrix-api --skill auth. Copyright stays with the author.
core/interfaces/auth
Purpose
Interface contracts for the authentication domain: controller, repository, service, and token maker.
Key Files
File
Description
IAuthController.go
HTTP handler contract for register and login endpoints
IAuthRepository.go
Data access contract — user lookup by email, user creation
IAuthService.go
Business logic contract — register and login operations
ITokenMaker.go
Token creation and verification contract — implemented by PASETO adapter
Dependencies
Internal
core/domain/ — auth request/response DTOs used in method signatures
Use it
Copy one of these into your project. Installing also returns the manifest and these snippets.
yaml
targets:
- https://api.opensmartroute.ai/api/v1/registry/5gmurilo-helptrix-api-auth/manifest # or paste the manifest below
Manifest
An Open Capability Manifest: the router reads it to know what this does, what it costs and when to pick it.