Some basic proto setup #4

Merged
allanger merged 21 commits from account-auth-services into main 2026-04-30 15:23:56 +00:00
Showing only changes of commit 239ffcd6c6 - Show all commits

View File

@@ -8,14 +8,8 @@ option go_package = "gitea.badhouseplants.net/softplayer/softplayer-go-proto/pkg
* Service for handling accounts that do not require authentication
*/
service AccountsNoAuthService {
// Create a new user
rpc SignUp (SignUpRequest) returns (google.protobuf.Empty) {}
// Sing in into an existing account
rpc SignIn (SignInRequest) returns (google.protobuf.Empty) {}
// Reset the password, if it was lost
rpc ResetPassword (ResetPasswordRequest) returns (google.protobuf.Empty) {}
// Set the new password after reset
rpc NewPassword (NewPasswordRequest) returns (google.protobuf.Empty) {}
}
/**
@@ -43,8 +37,7 @@ message SignUpRequest {
}
message SignInRequest {
AccountData data = 1;
AccountPassword password = 2;
string code = 1;
};
message ResetPasswordRequest {