mirror of
https://github.com/pomerium/pomerium.git
synced 2025-08-03 08:50:42 +02:00
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
This commit is contained in:
parent
2a97e92d50
commit
153e438eb6
24 changed files with 1369 additions and 743 deletions
|
@ -3,15 +3,20 @@ syntax = "proto3";
|
|||
package user;
|
||||
option go_package = "github.com/pomerium/pomerium/pkg/grpc/user";
|
||||
|
||||
import "google/protobuf/any.proto";
|
||||
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.Any> claims = 8;
|
||||
map<string, google.protobuf.ListValue> claims = 9;
|
||||
}
|
||||
|
||||
message ServiceAccount {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue