Add email validation service

This commit is contained in:
2024-03-21 16:07:25 +01:00
parent 9535487822
commit aab79085e6
3 changed files with 25 additions and 6 deletions

View File

@ -10,9 +10,9 @@ option go_package = "git.badhouseplants.net/softplayer/softplayer-go-proto/pkg/a
service Accounts {
rpc SignUp (AccountWithPassword) returns (AccountFullWithToken) {}
rpc SignIn (AccountWithPassword) returns (AccountFullWithToken) {}
rpc ValidateEmail(AccountDataWithEmailCode) returns (google.protobuf.Empty) {}
}
/**
* Represents a environment UUID only
*/
@ -46,7 +46,3 @@ message AccountFullWithToken {
string token = 3;
}
message AccountDataWithEmailCode {
AccountData data = 1;
int32 code = 2;
}