mirror of
https://github.com/pomerium/pomerium.git
synced 2025-06-05 04:13:11 +02:00
* add arbitrary claims to session * add support for maps * update flattened claims * fix eol * fix trailing whitespace * fix tests
27 lines
552 B
Protocol Buffer
27 lines
552 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;
|
|
}
|
|
|
|
message ServiceAccount {
|
|
string id = 1;
|
|
string user_id = 2;
|
|
google.protobuf.Timestamp expires_at = 3;
|
|
google.protobuf.Timestamp issued_at = 4;
|
|
}
|