Refactor previous COOPGO Identity service - Initial commit
This commit is contained in:
23
grpcapi/accounts.proto
Normal file
23
grpcapi/accounts.proto
Normal 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;
|
||||
}
|
||||
Reference in New Issue
Block a user