mirror of
https://github.com/pomerium/pomerium.git
synced 2025-05-02 11:56:02 +02:00
30 lines
669 B
Protocol Buffer
30 lines
669 B
Protocol Buffer
syntax = "proto3";
|
|
|
|
package user;
|
|
option go_package = "github.com/pomerium/pomerium/pkg/grpc/user";
|
|
|
|
import "google/protobuf/timestamp.proto";
|
|
import "google/protobuf/struct.proto";
|
|
|
|
message Claim {
|
|
string key = 1;
|
|
repeated string values = 2;
|
|
}
|
|
|
|
message User {
|
|
string version = 1;
|
|
string id = 2;
|
|
string name = 3;
|
|
string email = 4;
|
|
map<string, google.protobuf.ListValue> claims = 9;
|
|
repeated string device_credential_ids = 10;
|
|
}
|
|
|
|
message ServiceAccount {
|
|
string id = 1;
|
|
optional string namespace_id = 8;
|
|
optional string description = 9;
|
|
string user_id = 2;
|
|
google.protobuf.Timestamp expires_at = 3;
|
|
google.protobuf.Timestamp issued_at = 4;
|
|
}
|