Refactor previous COOPGO Identity service - Initial commit

This commit is contained in:
2022-08-02 12:26:28 +02:00
commit 3e93e6593d
41 changed files with 9026 additions and 0 deletions

23
grpcapi/accounts.proto Normal file
View File

@@ -0,0 +1,23 @@
syntax = "proto3";
option go_package = "git.coopgo.io/coopgo-platform/mobility-accounts/grpcapi";
import "google/protobuf/struct.proto";
message Account {
string id = 1;
string namespace = 2;
AccountAuth authentication = 3;
google.protobuf.Struct data = 4;
}
message AccountAuth {
LocalAuth local = 7;
}
message LocalAuth {
string username = 10;
string password = 11;
string email = 12;
string phone_number = 13;
}