diff --git a/pkg/proto/v0/accounts.pb.go b/pkg/proto/v0/accounts.pb.go index 43cd346817..287bea7013 100644 --- a/pkg/proto/v0/accounts.pb.go +++ b/pkg/proto/v0/accounts.pb.go @@ -5,9 +5,10 @@ package proto import ( fmt "fmt" + math "math" + proto "github.com/golang/protobuf/proto" _ "github.com/golang/protobuf/ptypes/empty" - math "math" ) // Reference imports to suppress errors if they are not otherwise used. @@ -117,6 +118,7 @@ func (m *Payload) GetAccount() *Account { type Account struct { StandardClaims *StandardClaims `protobuf:"bytes,1,opt,name=standard_claims,json=standardClaims,proto3" json:"standard_claims,omitempty"` + Identities []*IdHistory `protobuf:"bytes,2,rep,name=identities,proto3" json:"identities,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` @@ -154,6 +156,13 @@ func (m *Account) GetStandardClaims() *StandardClaims { return nil } +func (m *Account) GetIdentities() []*IdHistory { + if m != nil { + return m.Identities + } + return nil +} + // OIDC standard claims https://openid.net/specs/openid-connect-core-1_0.html#StandardClaims type StandardClaims struct { Sub string `protobuf:"bytes,1,opt,name=sub,proto3" json:"sub,omitempty"` @@ -425,6 +434,53 @@ func (m *Address) GetCountry() string { return "" } +type IdHistory struct { + Sub string `protobuf:"bytes,1,opt,name=sub,proto3" json:"sub,omitempty"` + Iss string `protobuf:"bytes,2,opt,name=iss,proto3" json:"iss,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *IdHistory) Reset() { *m = IdHistory{} } +func (m *IdHistory) String() string { return proto.CompactTextString(m) } +func (*IdHistory) ProtoMessage() {} +func (*IdHistory) Descriptor() ([]byte, []int) { + return fileDescriptor_e3c84319968a576b, []int{5} +} + +func (m *IdHistory) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_IdHistory.Unmarshal(m, b) +} +func (m *IdHistory) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_IdHistory.Marshal(b, m, deterministic) +} +func (m *IdHistory) XXX_Merge(src proto.Message) { + xxx_messageInfo_IdHistory.Merge(m, src) +} +func (m *IdHistory) XXX_Size() int { + return xxx_messageInfo_IdHistory.Size(m) +} +func (m *IdHistory) XXX_DiscardUnknown() { + xxx_messageInfo_IdHistory.DiscardUnknown(m) +} + +var xxx_messageInfo_IdHistory proto.InternalMessageInfo + +func (m *IdHistory) GetSub() string { + if m != nil { + return m.Sub + } + return "" +} + +func (m *IdHistory) GetIss() string { + if m != nil { + return m.Iss + } + return "" +} + type Phoenix struct { Theme string `protobuf:"bytes,1,opt,name=theme,proto3" json:"theme,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` @@ -436,7 +492,7 @@ func (m *Phoenix) Reset() { *m = Phoenix{} } func (m *Phoenix) String() string { return proto.CompactTextString(m) } func (*Phoenix) ProtoMessage() {} func (*Phoenix) Descriptor() ([]byte, []int) { - return fileDescriptor_e3c84319968a576b, []int{5} + return fileDescriptor_e3c84319968a576b, []int{6} } func (m *Phoenix) XXX_Unmarshal(b []byte) error { @@ -475,7 +531,7 @@ func (m *Query) Reset() { *m = Query{} } func (m *Query) String() string { return proto.CompactTextString(m) } func (*Query) ProtoMessage() {} func (*Query) Descriptor() ([]byte, []int) { - return fileDescriptor_e3c84319968a576b, []int{6} + return fileDescriptor_e3c84319968a576b, []int{7} } func (m *Query) XXX_Unmarshal(b []byte) error { @@ -514,7 +570,7 @@ func (m *Records) Reset() { *m = Records{} } func (m *Records) String() string { return proto.CompactTextString(m) } func (*Records) ProtoMessage() {} func (*Records) Descriptor() ([]byte, []int) { - return fileDescriptor_e3c84319968a576b, []int{7} + return fileDescriptor_e3c84319968a576b, []int{8} } func (m *Records) XXX_Unmarshal(b []byte) error { @@ -548,6 +604,7 @@ func init() { proto.RegisterType((*Account)(nil), "settings.Account") proto.RegisterType((*StandardClaims)(nil), "settings.StandardClaims") proto.RegisterType((*Address)(nil), "settings.Address") + proto.RegisterType((*IdHistory)(nil), "settings.IdHistory") proto.RegisterType((*Phoenix)(nil), "settings.Phoenix") proto.RegisterType((*Query)(nil), "settings.Query") proto.RegisterType((*Records)(nil), "settings.Records") @@ -556,49 +613,52 @@ func init() { func init() { proto.RegisterFile("pkg/proto/v0/accounts.proto", fileDescriptor_e3c84319968a576b) } var fileDescriptor_e3c84319968a576b = []byte{ - // 704 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x6c, 0x54, 0xdd, 0x6e, 0xdb, 0x36, - 0x14, 0x86, 0xe6, 0x1f, 0xd9, 0xc7, 0x89, 0x1d, 0x33, 0x59, 0xc0, 0x39, 0x0b, 0xe2, 0x09, 0x18, - 0xe0, 0x6d, 0x98, 0xbd, 0x79, 0xd8, 0x03, 0x64, 0xc1, 0x90, 0x9b, 0x20, 0x68, 0x65, 0xb4, 0x17, - 0xbd, 0x11, 0x64, 0xf1, 0xd8, 0x26, 0x22, 0x89, 0x02, 0x49, 0xb9, 0x75, 0xdf, 0xa4, 0x0f, 0xd3, - 0x17, 0xeb, 0x55, 0x21, 0x92, 0xb2, 0x93, 0xba, 0x57, 0xe2, 0xf7, 0x73, 0x8e, 0x8e, 0x0e, 0x3e, - 0x11, 0xae, 0x8a, 0xa7, 0xf5, 0xac, 0x90, 0x42, 0x8b, 0xd9, 0xf6, 0xaf, 0x59, 0x9c, 0x24, 0xa2, - 0xcc, 0xb5, 0x9a, 0x1a, 0x86, 0x74, 0x14, 0x6a, 0xcd, 0xf3, 0xb5, 0x1a, 0x5d, 0xad, 0x85, 0x58, - 0xa7, 0x68, 0x9d, 0xcb, 0x72, 0x35, 0xc3, 0xac, 0xd0, 0x3b, 0x6b, 0x0b, 0xee, 0xa1, 0x1d, 0x62, - 0x22, 0x24, 0x23, 0x67, 0xd0, 0x78, 0xc2, 0x1d, 0xf5, 0xc6, 0xde, 0xa4, 0x1b,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xd4, 0x36, - 0x8f, 0x7f, 0xbe, 0x06, 0x00, 0x00, 0xff, 0xff, 0xf3, 0x1c, 0x02, 0x9f, 0x9d, 0x05, 0x00, 0x00, + // 748 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x6c, 0x54, 0x5f, 0x8f, 0xdb, 0x44, + 0x10, 0x97, 0x9b, 0xcb, 0x39, 0x99, 0xf4, 0xfe, 0xed, 0x95, 0x6a, 0x49, 0xa9, 0x1a, 0x2c, 0x21, + 0x05, 0x10, 0x09, 0x5c, 0xc5, 0x07, 0x38, 0x2a, 0x54, 0x90, 0x50, 0x05, 0x3e, 0xc1, 0x03, 0x2f, + 0x96, 0xe3, 0x9d, 0xe4, 0x56, 0x67, 0x7b, 0xad, 0xdd, 0x75, 0x20, 0xbc, 0xf1, 0x31, 0xf8, 0x30, + 0x7c, 0x31, 0x9e, 0xd0, 0xce, 0xae, 0x9d, 0x4b, 0xd3, 0xa7, 0xec, 0xef, 0xcf, 0x4c, 0xc6, 0xa3, + 0x99, 0x81, 0x17, 0xcd, 0xc3, 0x66, 0xd9, 0x68, 0x65, 0xd5, 0x72, 0xfb, 0xf5, 0x32, 0x2f, 0x0a, + 0xd5, 0xd6, 0xd6, 0x2c, 0x88, 0x61, 0x23, 0x83, 0xd6, 0xca, 0x7a, 0x63, 0xa6, 0x2f, 0x36, 0x4a, + 0x6d, 0x4a, 0xf4, 0xce, 0x55, 0xbb, 0x5e, 0x62, 0xd5, 0xd8, 0x9d, 0xb7, 0x25, 0x6f, 0xe1, 0x34, + 0xc5, 0x42, 0x69, 0xc1, 0x2e, 0x61, 0xf0, 0x80, 0x3b, 0x1e, 0xcd, 0xa2, 0xf9, 0x38, 0x75, 0x4f, + 0xf6, 0x25, 0xc4, 0x4d, 0xbe, 0x2b, 0x55, 0x2e, 0xf8, 0x93, 0x59, 0x34, 0x9f, 0xdc, 0x5c, 0x2d, + 0xba,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2, 0x58, 0xf6, 0x7c, 0xe1, 0x2f, 0xf4, 0xa2, 0xbb, 0xd0, 0x8b, 0xef, 0xdd, 0x85, + 0x9e, 0x5e, 0xbd, 0x1f, 0x61, 0xbe, 0x8b, 0x7f, 0x1f, 0x7a, 0xd3, 0x29, 0xfd, 0xbc, 0xfe, 0x3f, + 0x00, 0x00, 0xff, 0xff, 0x89, 0x43, 0x0c, 0x13, 0x04, 0x06, 0x00, 0x00, } diff --git a/pkg/proto/v0/accounts.proto b/pkg/proto/v0/accounts.proto index 390c8d0c58..d48059bcca 100644 --- a/pkg/proto/v0/accounts.proto +++ b/pkg/proto/v0/accounts.proto @@ -22,6 +22,7 @@ message Payload { message Account { StandardClaims standard_claims = 1; + repeated IdHistory identities = 2; // keep track of every identity of a given user } // OIDC standard claims https://openid.net/specs/openid-connect-core-1_0.html#StandardClaims @@ -57,6 +58,11 @@ message Address { string country = 6; } +message IdHistory { + string sub = 1; + string iss = 2; +} + message Phoenix { string theme = 1; }