Switch to SSO kind of login
Signed-off-by: Nikolai Rodionov <allanger@badhouseplants.net>
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user