mirror of
https://github.com/pomerium/pomerium.git
synced 2025-05-02 20:06:03 +02:00
* session: add accessed at date
* authorize: track session and service account access times
* Revert "databroker: add support for field masks on Put (#3210)"
This reverts commit 2dc778035d
.
* add test
* fix data race in test
* add deadline for update
* track dropped accesses
31 lines
715 B
Protocol Buffer
31 lines
715 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;
|
|
google.protobuf.Timestamp accessed_at = 10;
|
|
}
|