WIP: Start implementing the internal auth
Some checks failed
Some checks failed
Signed-off-by: Nikolai Rodionov <allanger@badhouseplants.net>
This commit is contained in:
@@ -10,6 +10,8 @@ option go_package = "gitea.badhouseplants.net/softplayer/softplayer-go-proto/pkg
|
||||
service AccountsNoAuthService {
|
||||
// Sing in into an existing account
|
||||
rpc SignIn (SignInRequest) returns (google.protobuf.Empty) {}
|
||||
// Create a new account
|
||||
rpc SignUp (SignUpRequest) returns (google.protobuf.Empty) {}
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -32,8 +34,8 @@ message AccountData {
|
||||
}
|
||||
|
||||
message SignUpRequest {
|
||||
AccountData data = 1;
|
||||
AccountPassword password = 2;
|
||||
string email = 1;
|
||||
string password = 2;
|
||||
}
|
||||
|
||||
message SignInRequest {
|
||||
|
||||
Reference in New Issue
Block a user