pomerium/pkg/grpc/user/user.proto
Caleb Doxsey 153e438eb6
authorize: implement allowed_idp_claims (#1542)
* add arbitrary claims to session

* add support for maps

* update flattened claims

* fix eol

* fix trailing whitespace

* fix tests
2020-10-23 14:05:37 -06:00

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;
}