| // Code generated by protoc-gen-go. DO NOT EDIT. |
| // versions: |
| // protoc-gen-go v1.28.1 |
| // protoc (unknown) |
| // source: registry/v1alpha1/authn.proto |
| |
| package registryv1alpha1 |
| |
| import ( |
| reflect "reflect" |
| sync "sync" |
| ) |
| |
| import ( |
| protoreflect "google.golang.org/protobuf/reflect/protoreflect" |
| |
| protoimpl "google.golang.org/protobuf/runtime/protoimpl" |
| ) |
| |
| const ( |
| // Verify that this generated code is sufficiently up-to-date. |
| _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) |
| // Verify that runtime/protoimpl is sufficiently up-to-date. |
| _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) |
| ) |
| |
| type GetCurrentUserRequest struct { |
| state protoimpl.MessageState |
| sizeCache protoimpl.SizeCache |
| unknownFields protoimpl.UnknownFields |
| } |
| |
| func (x *GetCurrentUserRequest) Reset() { |
| *x = GetCurrentUserRequest{} |
| if protoimpl.UnsafeEnabled { |
| mi := &file_registry_v1alpha1_authn_proto_msgTypes[0] |
| ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| ms.StoreMessageInfo(mi) |
| } |
| } |
| |
| func (x *GetCurrentUserRequest) String() string { |
| return protoimpl.X.MessageStringOf(x) |
| } |
| |
| func (*GetCurrentUserRequest) ProtoMessage() {} |
| |
| func (x *GetCurrentUserRequest) ProtoReflect() protoreflect.Message { |
| mi := &file_registry_v1alpha1_authn_proto_msgTypes[0] |
| if protoimpl.UnsafeEnabled && x != nil { |
| ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| if ms.LoadMessageInfo() == nil { |
| ms.StoreMessageInfo(mi) |
| } |
| return ms |
| } |
| return mi.MessageOf(x) |
| } |
| |
| // Deprecated: Use GetCurrentUserRequest.ProtoReflect.Descriptor instead. |
| func (*GetCurrentUserRequest) Descriptor() ([]byte, []int) { |
| return file_registry_v1alpha1_authn_proto_rawDescGZIP(), []int{0} |
| } |
| |
| type GetCurrentUserResponse struct { |
| state protoimpl.MessageState |
| sizeCache protoimpl.SizeCache |
| unknownFields protoimpl.UnknownFields |
| |
| User *User `protobuf:"bytes,1,opt,name=user,proto3" json:"user,omitempty"` |
| } |
| |
| func (x *GetCurrentUserResponse) Reset() { |
| *x = GetCurrentUserResponse{} |
| if protoimpl.UnsafeEnabled { |
| mi := &file_registry_v1alpha1_authn_proto_msgTypes[1] |
| ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| ms.StoreMessageInfo(mi) |
| } |
| } |
| |
| func (x *GetCurrentUserResponse) String() string { |
| return protoimpl.X.MessageStringOf(x) |
| } |
| |
| func (*GetCurrentUserResponse) ProtoMessage() {} |
| |
| func (x *GetCurrentUserResponse) ProtoReflect() protoreflect.Message { |
| mi := &file_registry_v1alpha1_authn_proto_msgTypes[1] |
| if protoimpl.UnsafeEnabled && x != nil { |
| ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| if ms.LoadMessageInfo() == nil { |
| ms.StoreMessageInfo(mi) |
| } |
| return ms |
| } |
| return mi.MessageOf(x) |
| } |
| |
| // Deprecated: Use GetCurrentUserResponse.ProtoReflect.Descriptor instead. |
| func (*GetCurrentUserResponse) Descriptor() ([]byte, []int) { |
| return file_registry_v1alpha1_authn_proto_rawDescGZIP(), []int{1} |
| } |
| |
| func (x *GetCurrentUserResponse) GetUser() *User { |
| if x != nil { |
| return x.User |
| } |
| return nil |
| } |
| |
| type GetCurrentUserSubjectRequest struct { |
| state protoimpl.MessageState |
| sizeCache protoimpl.SizeCache |
| unknownFields protoimpl.UnknownFields |
| } |
| |
| func (x *GetCurrentUserSubjectRequest) Reset() { |
| *x = GetCurrentUserSubjectRequest{} |
| if protoimpl.UnsafeEnabled { |
| mi := &file_registry_v1alpha1_authn_proto_msgTypes[2] |
| ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| ms.StoreMessageInfo(mi) |
| } |
| } |
| |
| func (x *GetCurrentUserSubjectRequest) String() string { |
| return protoimpl.X.MessageStringOf(x) |
| } |
| |
| func (*GetCurrentUserSubjectRequest) ProtoMessage() {} |
| |
| func (x *GetCurrentUserSubjectRequest) ProtoReflect() protoreflect.Message { |
| mi := &file_registry_v1alpha1_authn_proto_msgTypes[2] |
| if protoimpl.UnsafeEnabled && x != nil { |
| ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| if ms.LoadMessageInfo() == nil { |
| ms.StoreMessageInfo(mi) |
| } |
| return ms |
| } |
| return mi.MessageOf(x) |
| } |
| |
| // Deprecated: Use GetCurrentUserSubjectRequest.ProtoReflect.Descriptor instead. |
| func (*GetCurrentUserSubjectRequest) Descriptor() ([]byte, []int) { |
| return file_registry_v1alpha1_authn_proto_rawDescGZIP(), []int{2} |
| } |
| |
| type GetCurrentUserSubjectResponse struct { |
| state protoimpl.MessageState |
| sizeCache protoimpl.SizeCache |
| unknownFields protoimpl.UnknownFields |
| |
| // The user's subject for mapping to user in identity provider. |
| // Note: we do not want to make it part of the User response as |
| // it contains potentially sensitive information and the User |
| // response is shared with other users. |
| Subject string `protobuf:"bytes,1,opt,name=subject,proto3" json:"subject,omitempty"` |
| } |
| |
| func (x *GetCurrentUserSubjectResponse) Reset() { |
| *x = GetCurrentUserSubjectResponse{} |
| if protoimpl.UnsafeEnabled { |
| mi := &file_registry_v1alpha1_authn_proto_msgTypes[3] |
| ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| ms.StoreMessageInfo(mi) |
| } |
| } |
| |
| func (x *GetCurrentUserSubjectResponse) String() string { |
| return protoimpl.X.MessageStringOf(x) |
| } |
| |
| func (*GetCurrentUserSubjectResponse) ProtoMessage() {} |
| |
| func (x *GetCurrentUserSubjectResponse) ProtoReflect() protoreflect.Message { |
| mi := &file_registry_v1alpha1_authn_proto_msgTypes[3] |
| if protoimpl.UnsafeEnabled && x != nil { |
| ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| if ms.LoadMessageInfo() == nil { |
| ms.StoreMessageInfo(mi) |
| } |
| return ms |
| } |
| return mi.MessageOf(x) |
| } |
| |
| // Deprecated: Use GetCurrentUserSubjectResponse.ProtoReflect.Descriptor instead. |
| func (*GetCurrentUserSubjectResponse) Descriptor() ([]byte, []int) { |
| return file_registry_v1alpha1_authn_proto_rawDescGZIP(), []int{3} |
| } |
| |
| func (x *GetCurrentUserSubjectResponse) GetSubject() string { |
| if x != nil { |
| return x.Subject |
| } |
| return "" |
| } |
| |
| var File_registry_v1alpha1_authn_proto protoreflect.FileDescriptor |
| |
| var file_registry_v1alpha1_authn_proto_rawDesc = []byte{ |
| 0x0a, 0x1d, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2f, 0x76, 0x31, 0x61, 0x6c, 0x70, |
| 0x68, 0x61, 0x31, 0x2f, 0x61, 0x75, 0x74, 0x68, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, |
| 0x29, 0x62, 0x75, 0x66, 0x6d, 0x61, 0x6e, 0x2e, 0x64, 0x75, 0x62, 0x62, 0x6f, 0x2e, 0x61, 0x70, |
| 0x61, 0x63, 0x68, 0x65, 0x2e, 0x6f, 0x72, 0x67, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, |
| 0x79, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x1a, 0x1c, 0x72, 0x65, 0x67, 0x69, |
| 0x73, 0x74, 0x72, 0x79, 0x2f, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2f, 0x75, 0x73, |
| 0x65, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x17, 0x0a, 0x15, 0x47, 0x65, 0x74, 0x43, |
| 0x75, 0x72, 0x72, 0x65, 0x6e, 0x74, 0x55, 0x73, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, |
| 0x74, 0x22, 0x5d, 0x0a, 0x16, 0x47, 0x65, 0x74, 0x43, 0x75, 0x72, 0x72, 0x65, 0x6e, 0x74, 0x55, |
| 0x73, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x43, 0x0a, 0x04, 0x75, |
| 0x73, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2f, 0x2e, 0x62, 0x75, 0x66, 0x6d, |
| 0x61, 0x6e, 0x2e, 0x64, 0x75, 0x62, 0x62, 0x6f, 0x2e, 0x61, 0x70, 0x61, 0x63, 0x68, 0x65, 0x2e, |
| 0x6f, 0x72, 0x67, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x61, |
| 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x55, 0x73, 0x65, 0x72, 0x52, 0x04, 0x75, 0x73, 0x65, 0x72, |
| 0x22, 0x1e, 0x0a, 0x1c, 0x47, 0x65, 0x74, 0x43, 0x75, 0x72, 0x72, 0x65, 0x6e, 0x74, 0x55, 0x73, |
| 0x65, 0x72, 0x53, 0x75, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, |
| 0x22, 0x39, 0x0a, 0x1d, 0x47, 0x65, 0x74, 0x43, 0x75, 0x72, 0x72, 0x65, 0x6e, 0x74, 0x55, 0x73, |
| 0x65, 0x72, 0x53, 0x75, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, |
| 0x65, 0x12, 0x18, 0x0a, 0x07, 0x73, 0x75, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x18, 0x01, 0x20, 0x01, |
| 0x28, 0x09, 0x52, 0x07, 0x73, 0x75, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x32, 0xdd, 0x02, 0x0a, 0x0c, |
| 0x41, 0x75, 0x74, 0x68, 0x6e, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x9a, 0x01, 0x0a, |
| 0x0e, 0x47, 0x65, 0x74, 0x43, 0x75, 0x72, 0x72, 0x65, 0x6e, 0x74, 0x55, 0x73, 0x65, 0x72, 0x12, |
| 0x40, 0x2e, 0x62, 0x75, 0x66, 0x6d, 0x61, 0x6e, 0x2e, 0x64, 0x75, 0x62, 0x62, 0x6f, 0x2e, 0x61, |
| 0x70, 0x61, 0x63, 0x68, 0x65, 0x2e, 0x6f, 0x72, 0x67, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, |
| 0x72, 0x79, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x43, |
| 0x75, 0x72, 0x72, 0x65, 0x6e, 0x74, 0x55, 0x73, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, |
| 0x74, 0x1a, 0x41, 0x2e, 0x62, 0x75, 0x66, 0x6d, 0x61, 0x6e, 0x2e, 0x64, 0x75, 0x62, 0x62, 0x6f, |
| 0x2e, 0x61, 0x70, 0x61, 0x63, 0x68, 0x65, 0x2e, 0x6f, 0x72, 0x67, 0x2e, 0x72, 0x65, 0x67, 0x69, |
| 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x47, 0x65, |
| 0x74, 0x43, 0x75, 0x72, 0x72, 0x65, 0x6e, 0x74, 0x55, 0x73, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, |
| 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x03, 0x90, 0x02, 0x01, 0x12, 0xaf, 0x01, 0x0a, 0x15, 0x47, 0x65, |
| 0x74, 0x43, 0x75, 0x72, 0x72, 0x65, 0x6e, 0x74, 0x55, 0x73, 0x65, 0x72, 0x53, 0x75, 0x62, 0x6a, |
| 0x65, 0x63, 0x74, 0x12, 0x47, 0x2e, 0x62, 0x75, 0x66, 0x6d, 0x61, 0x6e, 0x2e, 0x64, 0x75, 0x62, |
| 0x62, 0x6f, 0x2e, 0x61, 0x70, 0x61, 0x63, 0x68, 0x65, 0x2e, 0x6f, 0x72, 0x67, 0x2e, 0x72, 0x65, |
| 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, |
| 0x47, 0x65, 0x74, 0x43, 0x75, 0x72, 0x72, 0x65, 0x6e, 0x74, 0x55, 0x73, 0x65, 0x72, 0x53, 0x75, |
| 0x62, 0x6a, 0x65, 0x63, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x48, 0x2e, 0x62, |
| 0x75, 0x66, 0x6d, 0x61, 0x6e, 0x2e, 0x64, 0x75, 0x62, 0x62, 0x6f, 0x2e, 0x61, 0x70, 0x61, 0x63, |
| 0x68, 0x65, 0x2e, 0x6f, 0x72, 0x67, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, |
| 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x43, 0x75, 0x72, 0x72, |
| 0x65, 0x6e, 0x74, 0x55, 0x73, 0x65, 0x72, 0x53, 0x75, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x52, 0x65, |
| 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x03, 0x90, 0x02, 0x01, 0x42, 0xe5, 0x02, 0x0a, 0x2d, |
| 0x63, 0x6f, 0x6d, 0x2e, 0x62, 0x75, 0x66, 0x6d, 0x61, 0x6e, 0x2e, 0x64, 0x75, 0x62, 0x62, 0x6f, |
| 0x2e, 0x61, 0x70, 0x61, 0x63, 0x68, 0x65, 0x2e, 0x6f, 0x72, 0x67, 0x2e, 0x72, 0x65, 0x67, 0x69, |
| 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x42, 0x0a, 0x41, |
| 0x75, 0x74, 0x68, 0x6e, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x5d, 0x67, 0x69, 0x74, |
| 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x61, 0x70, 0x61, 0x63, 0x68, 0x65, 0x2f, 0x64, |
| 0x75, 0x62, 0x62, 0x6f, 0x2d, 0x6b, 0x75, 0x62, 0x65, 0x72, 0x6e, 0x65, 0x74, 0x65, 0x73, 0x2f, |
| 0x70, 0x6b, 0x67, 0x2f, 0x62, 0x75, 0x66, 0x6d, 0x61, 0x6e, 0x2f, 0x67, 0x65, 0x6e, 0x2f, 0x70, |
| 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x67, 0x6f, 0x2f, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, |
| 0x2f, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x3b, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, |
| 0x72, 0x79, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0xa2, 0x02, 0x05, 0x42, 0x44, 0x41, |
| 0x4f, 0x52, 0xaa, 0x02, 0x29, 0x42, 0x75, 0x66, 0x6d, 0x61, 0x6e, 0x2e, 0x44, 0x75, 0x62, 0x62, |
| 0x6f, 0x2e, 0x41, 0x70, 0x61, 0x63, 0x68, 0x65, 0x2e, 0x4f, 0x72, 0x67, 0x2e, 0x52, 0x65, 0x67, |
| 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x56, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0xca, 0x02, |
| 0x29, 0x42, 0x75, 0x66, 0x6d, 0x61, 0x6e, 0x5c, 0x44, 0x75, 0x62, 0x62, 0x6f, 0x5c, 0x41, 0x70, |
| 0x61, 0x63, 0x68, 0x65, 0x5c, 0x4f, 0x72, 0x67, 0x5c, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, |
| 0x79, 0x5c, 0x56, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0xe2, 0x02, 0x35, 0x42, 0x75, 0x66, |
| 0x6d, 0x61, 0x6e, 0x5c, 0x44, 0x75, 0x62, 0x62, 0x6f, 0x5c, 0x41, 0x70, 0x61, 0x63, 0x68, 0x65, |
| 0x5c, 0x4f, 0x72, 0x67, 0x5c, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x5c, 0x56, 0x31, |
| 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x5c, 0x47, 0x50, 0x42, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, |
| 0x74, 0x61, 0xea, 0x02, 0x2e, 0x42, 0x75, 0x66, 0x6d, 0x61, 0x6e, 0x3a, 0x3a, 0x44, 0x75, 0x62, |
| 0x62, 0x6f, 0x3a, 0x3a, 0x41, 0x70, 0x61, 0x63, 0x68, 0x65, 0x3a, 0x3a, 0x4f, 0x72, 0x67, 0x3a, |
| 0x3a, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x3a, 0x3a, 0x56, 0x31, 0x61, 0x6c, 0x70, |
| 0x68, 0x61, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, |
| } |
| |
| var ( |
| file_registry_v1alpha1_authn_proto_rawDescOnce sync.Once |
| file_registry_v1alpha1_authn_proto_rawDescData = file_registry_v1alpha1_authn_proto_rawDesc |
| ) |
| |
| func file_registry_v1alpha1_authn_proto_rawDescGZIP() []byte { |
| file_registry_v1alpha1_authn_proto_rawDescOnce.Do(func() { |
| file_registry_v1alpha1_authn_proto_rawDescData = protoimpl.X.CompressGZIP(file_registry_v1alpha1_authn_proto_rawDescData) |
| }) |
| return file_registry_v1alpha1_authn_proto_rawDescData |
| } |
| |
| var file_registry_v1alpha1_authn_proto_msgTypes = make([]protoimpl.MessageInfo, 4) |
| var file_registry_v1alpha1_authn_proto_goTypes = []interface{}{ |
| (*GetCurrentUserRequest)(nil), // 0: bufman.dubbo.apache.org.registry.v1alpha1.GetCurrentUserRequest |
| (*GetCurrentUserResponse)(nil), // 1: bufman.dubbo.apache.org.registry.v1alpha1.GetCurrentUserResponse |
| (*GetCurrentUserSubjectRequest)(nil), // 2: bufman.dubbo.apache.org.registry.v1alpha1.GetCurrentUserSubjectRequest |
| (*GetCurrentUserSubjectResponse)(nil), // 3: bufman.dubbo.apache.org.registry.v1alpha1.GetCurrentUserSubjectResponse |
| (*User)(nil), // 4: bufman.dubbo.apache.org.registry.v1alpha1.User |
| } |
| var file_registry_v1alpha1_authn_proto_depIdxs = []int32{ |
| 4, // 0: bufman.dubbo.apache.org.registry.v1alpha1.GetCurrentUserResponse.user:type_name -> bufman.dubbo.apache.org.registry.v1alpha1.User |
| 0, // 1: bufman.dubbo.apache.org.registry.v1alpha1.AuthnService.GetCurrentUser:input_type -> bufman.dubbo.apache.org.registry.v1alpha1.GetCurrentUserRequest |
| 2, // 2: bufman.dubbo.apache.org.registry.v1alpha1.AuthnService.GetCurrentUserSubject:input_type -> bufman.dubbo.apache.org.registry.v1alpha1.GetCurrentUserSubjectRequest |
| 1, // 3: bufman.dubbo.apache.org.registry.v1alpha1.AuthnService.GetCurrentUser:output_type -> bufman.dubbo.apache.org.registry.v1alpha1.GetCurrentUserResponse |
| 3, // 4: bufman.dubbo.apache.org.registry.v1alpha1.AuthnService.GetCurrentUserSubject:output_type -> bufman.dubbo.apache.org.registry.v1alpha1.GetCurrentUserSubjectResponse |
| 3, // [3:5] is the sub-list for method output_type |
| 1, // [1:3] is the sub-list for method input_type |
| 1, // [1:1] is the sub-list for extension type_name |
| 1, // [1:1] is the sub-list for extension extendee |
| 0, // [0:1] is the sub-list for field type_name |
| } |
| |
| func init() { file_registry_v1alpha1_authn_proto_init() } |
| func file_registry_v1alpha1_authn_proto_init() { |
| if File_registry_v1alpha1_authn_proto != nil { |
| return |
| } |
| file_registry_v1alpha1_user_proto_init() |
| if !protoimpl.UnsafeEnabled { |
| file_registry_v1alpha1_authn_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { |
| switch v := v.(*GetCurrentUserRequest); i { |
| case 0: |
| return &v.state |
| case 1: |
| return &v.sizeCache |
| case 2: |
| return &v.unknownFields |
| default: |
| return nil |
| } |
| } |
| file_registry_v1alpha1_authn_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { |
| switch v := v.(*GetCurrentUserResponse); i { |
| case 0: |
| return &v.state |
| case 1: |
| return &v.sizeCache |
| case 2: |
| return &v.unknownFields |
| default: |
| return nil |
| } |
| } |
| file_registry_v1alpha1_authn_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { |
| switch v := v.(*GetCurrentUserSubjectRequest); i { |
| case 0: |
| return &v.state |
| case 1: |
| return &v.sizeCache |
| case 2: |
| return &v.unknownFields |
| default: |
| return nil |
| } |
| } |
| file_registry_v1alpha1_authn_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { |
| switch v := v.(*GetCurrentUserSubjectResponse); i { |
| case 0: |
| return &v.state |
| case 1: |
| return &v.sizeCache |
| case 2: |
| return &v.unknownFields |
| default: |
| return nil |
| } |
| } |
| } |
| type x struct{} |
| out := protoimpl.TypeBuilder{ |
| File: protoimpl.DescBuilder{ |
| GoPackagePath: reflect.TypeOf(x{}).PkgPath(), |
| RawDescriptor: file_registry_v1alpha1_authn_proto_rawDesc, |
| NumEnums: 0, |
| NumMessages: 4, |
| NumExtensions: 0, |
| NumServices: 1, |
| }, |
| GoTypes: file_registry_v1alpha1_authn_proto_goTypes, |
| DependencyIndexes: file_registry_v1alpha1_authn_proto_depIdxs, |
| MessageInfos: file_registry_v1alpha1_authn_proto_msgTypes, |
| }.Build() |
| File_registry_v1alpha1_authn_proto = out.File |
| file_registry_v1alpha1_authn_proto_rawDesc = nil |
| file_registry_v1alpha1_authn_proto_goTypes = nil |
| file_registry_v1alpha1_authn_proto_depIdxs = nil |
| } |