// proto/auth.proto syntax = "proto3"; package multieko2.auth; import "common.proto"; service AuthService { rpc Register(RegisterRequest) returns (AuthResponse); } message RegisterRequest { string username = 1; string email = 2; string password = 3; string password_confirmation = 4; } message AuthResponse { string id = 1; // UUID in string format string username = 2; // Registered username string email = 3; // Registered email (if provided) string role = 4; // Default role: 'accountant' }