2023-02-02 20:28:32 +03:00
|
|
|
// Copyright (c) Mainflux
|
|
|
|
// SPDX-License-Identifier: Apache-2.0
|
|
|
|
|
|
|
|
// Code generated by protoc-gen-go. DO NOT EDIT.
|
|
|
|
// versions:
|
|
|
|
// protoc-gen-go v1.28.1
|
|
|
|
// protoc v3.21.12
|
2020-12-29 23:02:35 +01:00
|
|
|
// source: auth.proto
|
|
|
|
|
|
|
|
package mainflux
|
|
|
|
|
|
|
|
import (
|
2023-02-02 20:28:32 +03:00
|
|
|
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
|
|
|
|
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
|
|
|
|
emptypb "google.golang.org/protobuf/types/known/emptypb"
|
|
|
|
reflect "reflect"
|
|
|
|
sync "sync"
|
2020-12-29 23:02:35 +01:00
|
|
|
)
|
|
|
|
|
2023-02-02 20:28:32 +03:00
|
|
|
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)
|
|
|
|
)
|
2020-12-29 23:02:35 +01:00
|
|
|
|
|
|
|
type AccessByKeyReq struct {
|
2023-02-02 20:28:32 +03:00
|
|
|
state protoimpl.MessageState
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
|
|
|
|
Token string `protobuf:"bytes,1,opt,name=token,proto3" json:"token,omitempty"`
|
|
|
|
ChanID string `protobuf:"bytes,2,opt,name=chanID,proto3" json:"chanID,omitempty"`
|
2020-12-29 23:02:35 +01:00
|
|
|
}
|
|
|
|
|
2023-02-02 20:28:32 +03:00
|
|
|
func (x *AccessByKeyReq) Reset() {
|
|
|
|
*x = AccessByKeyReq{}
|
|
|
|
if protoimpl.UnsafeEnabled {
|
|
|
|
mi := &file_auth_proto_msgTypes[0]
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
ms.StoreMessageInfo(mi)
|
2020-12-29 23:02:35 +01:00
|
|
|
}
|
|
|
|
}
|
2023-02-02 20:28:32 +03:00
|
|
|
|
|
|
|
func (x *AccessByKeyReq) String() string {
|
|
|
|
return protoimpl.X.MessageStringOf(x)
|
2020-12-29 23:02:35 +01:00
|
|
|
}
|
2023-02-02 20:28:32 +03:00
|
|
|
|
|
|
|
func (*AccessByKeyReq) ProtoMessage() {}
|
|
|
|
|
|
|
|
func (x *AccessByKeyReq) ProtoReflect() protoreflect.Message {
|
|
|
|
mi := &file_auth_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)
|
2020-12-29 23:02:35 +01:00
|
|
|
}
|
|
|
|
|
2023-02-02 20:28:32 +03:00
|
|
|
// Deprecated: Use AccessByKeyReq.ProtoReflect.Descriptor instead.
|
|
|
|
func (*AccessByKeyReq) Descriptor() ([]byte, []int) {
|
|
|
|
return file_auth_proto_rawDescGZIP(), []int{0}
|
|
|
|
}
|
2020-12-29 23:02:35 +01:00
|
|
|
|
2023-02-02 20:28:32 +03:00
|
|
|
func (x *AccessByKeyReq) GetToken() string {
|
|
|
|
if x != nil {
|
|
|
|
return x.Token
|
2020-12-29 23:02:35 +01:00
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
2023-02-02 20:28:32 +03:00
|
|
|
func (x *AccessByKeyReq) GetChanID() string {
|
|
|
|
if x != nil {
|
|
|
|
return x.ChanID
|
2020-12-29 23:02:35 +01:00
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
2021-02-22 19:41:59 +01:00
|
|
|
type ChannelOwnerReq struct {
|
2023-02-02 20:28:32 +03:00
|
|
|
state protoimpl.MessageState
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
|
|
|
|
Owner string `protobuf:"bytes,1,opt,name=owner,proto3" json:"owner,omitempty"`
|
|
|
|
ChanID string `protobuf:"bytes,2,opt,name=chanID,proto3" json:"chanID,omitempty"`
|
2021-02-22 19:41:59 +01:00
|
|
|
}
|
|
|
|
|
2023-02-02 20:28:32 +03:00
|
|
|
func (x *ChannelOwnerReq) Reset() {
|
|
|
|
*x = ChannelOwnerReq{}
|
|
|
|
if protoimpl.UnsafeEnabled {
|
|
|
|
mi := &file_auth_proto_msgTypes[1]
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
ms.StoreMessageInfo(mi)
|
2021-02-22 19:41:59 +01:00
|
|
|
}
|
|
|
|
}
|
2023-02-02 20:28:32 +03:00
|
|
|
|
|
|
|
func (x *ChannelOwnerReq) String() string {
|
|
|
|
return protoimpl.X.MessageStringOf(x)
|
2021-02-22 19:41:59 +01:00
|
|
|
}
|
2023-02-02 20:28:32 +03:00
|
|
|
|
|
|
|
func (*ChannelOwnerReq) ProtoMessage() {}
|
|
|
|
|
|
|
|
func (x *ChannelOwnerReq) ProtoReflect() protoreflect.Message {
|
|
|
|
mi := &file_auth_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)
|
2021-02-22 19:41:59 +01:00
|
|
|
}
|
|
|
|
|
2023-02-02 20:28:32 +03:00
|
|
|
// Deprecated: Use ChannelOwnerReq.ProtoReflect.Descriptor instead.
|
|
|
|
func (*ChannelOwnerReq) Descriptor() ([]byte, []int) {
|
|
|
|
return file_auth_proto_rawDescGZIP(), []int{1}
|
|
|
|
}
|
2021-02-22 19:41:59 +01:00
|
|
|
|
2023-02-02 20:28:32 +03:00
|
|
|
func (x *ChannelOwnerReq) GetOwner() string {
|
|
|
|
if x != nil {
|
|
|
|
return x.Owner
|
2021-02-22 19:41:59 +01:00
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
2023-02-02 20:28:32 +03:00
|
|
|
func (x *ChannelOwnerReq) GetChanID() string {
|
|
|
|
if x != nil {
|
|
|
|
return x.ChanID
|
2021-02-22 19:41:59 +01:00
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
2020-12-29 23:02:35 +01:00
|
|
|
type ThingID struct {
|
2023-02-02 20:28:32 +03:00
|
|
|
state protoimpl.MessageState
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
|
|
|
|
Value string `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"`
|
2020-12-29 23:02:35 +01:00
|
|
|
}
|
|
|
|
|
2023-02-02 20:28:32 +03:00
|
|
|
func (x *ThingID) Reset() {
|
|
|
|
*x = ThingID{}
|
|
|
|
if protoimpl.UnsafeEnabled {
|
|
|
|
mi := &file_auth_proto_msgTypes[2]
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
ms.StoreMessageInfo(mi)
|
2020-12-29 23:02:35 +01:00
|
|
|
}
|
|
|
|
}
|
2023-02-02 20:28:32 +03:00
|
|
|
|
|
|
|
func (x *ThingID) String() string {
|
|
|
|
return protoimpl.X.MessageStringOf(x)
|
2020-12-29 23:02:35 +01:00
|
|
|
}
|
2023-02-02 20:28:32 +03:00
|
|
|
|
|
|
|
func (*ThingID) ProtoMessage() {}
|
|
|
|
|
|
|
|
func (x *ThingID) ProtoReflect() protoreflect.Message {
|
|
|
|
mi := &file_auth_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)
|
2020-12-29 23:02:35 +01:00
|
|
|
}
|
|
|
|
|
2023-02-02 20:28:32 +03:00
|
|
|
// Deprecated: Use ThingID.ProtoReflect.Descriptor instead.
|
|
|
|
func (*ThingID) Descriptor() ([]byte, []int) {
|
|
|
|
return file_auth_proto_rawDescGZIP(), []int{2}
|
|
|
|
}
|
2020-12-29 23:02:35 +01:00
|
|
|
|
2023-02-02 20:28:32 +03:00
|
|
|
func (x *ThingID) GetValue() string {
|
|
|
|
if x != nil {
|
|
|
|
return x.Value
|
2020-12-29 23:02:35 +01:00
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
2021-02-22 19:41:59 +01:00
|
|
|
type ChannelID struct {
|
2023-02-02 20:28:32 +03:00
|
|
|
state protoimpl.MessageState
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
|
|
|
|
Value string `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"`
|
2021-02-22 19:41:59 +01:00
|
|
|
}
|
|
|
|
|
2023-02-02 20:28:32 +03:00
|
|
|
func (x *ChannelID) Reset() {
|
|
|
|
*x = ChannelID{}
|
|
|
|
if protoimpl.UnsafeEnabled {
|
|
|
|
mi := &file_auth_proto_msgTypes[3]
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
ms.StoreMessageInfo(mi)
|
2021-02-22 19:41:59 +01:00
|
|
|
}
|
|
|
|
}
|
2023-02-02 20:28:32 +03:00
|
|
|
|
|
|
|
func (x *ChannelID) String() string {
|
|
|
|
return protoimpl.X.MessageStringOf(x)
|
2021-02-22 19:41:59 +01:00
|
|
|
}
|
2023-02-02 20:28:32 +03:00
|
|
|
|
|
|
|
func (*ChannelID) ProtoMessage() {}
|
|
|
|
|
|
|
|
func (x *ChannelID) ProtoReflect() protoreflect.Message {
|
|
|
|
mi := &file_auth_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)
|
2021-02-22 19:41:59 +01:00
|
|
|
}
|
|
|
|
|
2023-02-02 20:28:32 +03:00
|
|
|
// Deprecated: Use ChannelID.ProtoReflect.Descriptor instead.
|
|
|
|
func (*ChannelID) Descriptor() ([]byte, []int) {
|
|
|
|
return file_auth_proto_rawDescGZIP(), []int{3}
|
|
|
|
}
|
2021-02-22 19:41:59 +01:00
|
|
|
|
2023-02-02 20:28:32 +03:00
|
|
|
func (x *ChannelID) GetValue() string {
|
|
|
|
if x != nil {
|
|
|
|
return x.Value
|
2021-02-22 19:41:59 +01:00
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
2020-12-29 23:02:35 +01:00
|
|
|
type AccessByIDReq struct {
|
2023-02-02 20:28:32 +03:00
|
|
|
state protoimpl.MessageState
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
|
|
|
|
ThingID string `protobuf:"bytes,1,opt,name=thingID,proto3" json:"thingID,omitempty"`
|
|
|
|
ChanID string `protobuf:"bytes,2,opt,name=chanID,proto3" json:"chanID,omitempty"`
|
2020-12-29 23:02:35 +01:00
|
|
|
}
|
|
|
|
|
2023-02-02 20:28:32 +03:00
|
|
|
func (x *AccessByIDReq) Reset() {
|
|
|
|
*x = AccessByIDReq{}
|
|
|
|
if protoimpl.UnsafeEnabled {
|
|
|
|
mi := &file_auth_proto_msgTypes[4]
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
ms.StoreMessageInfo(mi)
|
2020-12-29 23:02:35 +01:00
|
|
|
}
|
|
|
|
}
|
2023-02-02 20:28:32 +03:00
|
|
|
|
|
|
|
func (x *AccessByIDReq) String() string {
|
|
|
|
return protoimpl.X.MessageStringOf(x)
|
2020-12-29 23:02:35 +01:00
|
|
|
}
|
2023-02-02 20:28:32 +03:00
|
|
|
|
|
|
|
func (*AccessByIDReq) ProtoMessage() {}
|
|
|
|
|
|
|
|
func (x *AccessByIDReq) ProtoReflect() protoreflect.Message {
|
|
|
|
mi := &file_auth_proto_msgTypes[4]
|
|
|
|
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)
|
2020-12-29 23:02:35 +01:00
|
|
|
}
|
|
|
|
|
2023-02-02 20:28:32 +03:00
|
|
|
// Deprecated: Use AccessByIDReq.ProtoReflect.Descriptor instead.
|
|
|
|
func (*AccessByIDReq) Descriptor() ([]byte, []int) {
|
|
|
|
return file_auth_proto_rawDescGZIP(), []int{4}
|
|
|
|
}
|
2020-12-29 23:02:35 +01:00
|
|
|
|
2023-02-02 20:28:32 +03:00
|
|
|
func (x *AccessByIDReq) GetThingID() string {
|
|
|
|
if x != nil {
|
|
|
|
return x.ThingID
|
2020-12-29 23:02:35 +01:00
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
2023-02-02 20:28:32 +03:00
|
|
|
func (x *AccessByIDReq) GetChanID() string {
|
|
|
|
if x != nil {
|
|
|
|
return x.ChanID
|
2020-12-29 23:02:35 +01:00
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
|
|
|
// If a token is not carrying any information itself, the type
|
|
|
|
// field can be used to determine how to validate the token.
|
|
|
|
// Also, different tokens can be encoded in different ways.
|
|
|
|
type Token struct {
|
2023-02-02 20:28:32 +03:00
|
|
|
state protoimpl.MessageState
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
|
|
|
|
Value string `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"`
|
2020-12-29 23:02:35 +01:00
|
|
|
}
|
|
|
|
|
2023-02-02 20:28:32 +03:00
|
|
|
func (x *Token) Reset() {
|
|
|
|
*x = Token{}
|
|
|
|
if protoimpl.UnsafeEnabled {
|
|
|
|
mi := &file_auth_proto_msgTypes[5]
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
ms.StoreMessageInfo(mi)
|
2020-12-29 23:02:35 +01:00
|
|
|
}
|
|
|
|
}
|
2023-02-02 20:28:32 +03:00
|
|
|
|
|
|
|
func (x *Token) String() string {
|
|
|
|
return protoimpl.X.MessageStringOf(x)
|
2020-12-29 23:02:35 +01:00
|
|
|
}
|
2023-02-02 20:28:32 +03:00
|
|
|
|
|
|
|
func (*Token) ProtoMessage() {}
|
|
|
|
|
|
|
|
func (x *Token) ProtoReflect() protoreflect.Message {
|
|
|
|
mi := &file_auth_proto_msgTypes[5]
|
|
|
|
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)
|
2020-12-29 23:02:35 +01:00
|
|
|
}
|
|
|
|
|
2023-02-02 20:28:32 +03:00
|
|
|
// Deprecated: Use Token.ProtoReflect.Descriptor instead.
|
|
|
|
func (*Token) Descriptor() ([]byte, []int) {
|
|
|
|
return file_auth_proto_rawDescGZIP(), []int{5}
|
|
|
|
}
|
2020-12-29 23:02:35 +01:00
|
|
|
|
2023-02-02 20:28:32 +03:00
|
|
|
func (x *Token) GetValue() string {
|
|
|
|
if x != nil {
|
|
|
|
return x.Value
|
2020-12-29 23:02:35 +01:00
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
|
|
|
type UserIdentity struct {
|
2023-02-02 20:28:32 +03:00
|
|
|
state protoimpl.MessageState
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
|
|
|
|
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
|
|
|
|
Email string `protobuf:"bytes,2,opt,name=email,proto3" json:"email,omitempty"`
|
2020-12-29 23:02:35 +01:00
|
|
|
}
|
|
|
|
|
2023-02-02 20:28:32 +03:00
|
|
|
func (x *UserIdentity) Reset() {
|
|
|
|
*x = UserIdentity{}
|
|
|
|
if protoimpl.UnsafeEnabled {
|
|
|
|
mi := &file_auth_proto_msgTypes[6]
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
ms.StoreMessageInfo(mi)
|
2020-12-29 23:02:35 +01:00
|
|
|
}
|
|
|
|
}
|
2023-02-02 20:28:32 +03:00
|
|
|
|
|
|
|
func (x *UserIdentity) String() string {
|
|
|
|
return protoimpl.X.MessageStringOf(x)
|
2020-12-29 23:02:35 +01:00
|
|
|
}
|
2023-02-02 20:28:32 +03:00
|
|
|
|
|
|
|
func (*UserIdentity) ProtoMessage() {}
|
|
|
|
|
|
|
|
func (x *UserIdentity) ProtoReflect() protoreflect.Message {
|
|
|
|
mi := &file_auth_proto_msgTypes[6]
|
|
|
|
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)
|
2020-12-29 23:02:35 +01:00
|
|
|
}
|
|
|
|
|
2023-02-02 20:28:32 +03:00
|
|
|
// Deprecated: Use UserIdentity.ProtoReflect.Descriptor instead.
|
|
|
|
func (*UserIdentity) Descriptor() ([]byte, []int) {
|
|
|
|
return file_auth_proto_rawDescGZIP(), []int{6}
|
|
|
|
}
|
2020-12-29 23:02:35 +01:00
|
|
|
|
2023-02-02 20:28:32 +03:00
|
|
|
func (x *UserIdentity) GetId() string {
|
|
|
|
if x != nil {
|
|
|
|
return x.Id
|
2020-12-29 23:02:35 +01:00
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
2023-02-02 20:28:32 +03:00
|
|
|
func (x *UserIdentity) GetEmail() string {
|
|
|
|
if x != nil {
|
|
|
|
return x.Email
|
2020-12-29 23:02:35 +01:00
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
|
|
|
type IssueReq struct {
|
2023-02-02 20:28:32 +03:00
|
|
|
state protoimpl.MessageState
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
|
|
|
|
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
|
|
|
|
Email string `protobuf:"bytes,2,opt,name=email,proto3" json:"email,omitempty"`
|
|
|
|
Type uint32 `protobuf:"varint,3,opt,name=type,proto3" json:"type,omitempty"`
|
2020-12-29 23:02:35 +01:00
|
|
|
}
|
|
|
|
|
2023-02-02 20:28:32 +03:00
|
|
|
func (x *IssueReq) Reset() {
|
|
|
|
*x = IssueReq{}
|
|
|
|
if protoimpl.UnsafeEnabled {
|
|
|
|
mi := &file_auth_proto_msgTypes[7]
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
ms.StoreMessageInfo(mi)
|
2020-12-29 23:02:35 +01:00
|
|
|
}
|
|
|
|
}
|
2023-02-02 20:28:32 +03:00
|
|
|
|
|
|
|
func (x *IssueReq) String() string {
|
|
|
|
return protoimpl.X.MessageStringOf(x)
|
2020-12-29 23:02:35 +01:00
|
|
|
}
|
2023-02-02 20:28:32 +03:00
|
|
|
|
|
|
|
func (*IssueReq) ProtoMessage() {}
|
|
|
|
|
|
|
|
func (x *IssueReq) ProtoReflect() protoreflect.Message {
|
|
|
|
mi := &file_auth_proto_msgTypes[7]
|
|
|
|
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)
|
2020-12-29 23:02:35 +01:00
|
|
|
}
|
|
|
|
|
2023-02-02 20:28:32 +03:00
|
|
|
// Deprecated: Use IssueReq.ProtoReflect.Descriptor instead.
|
|
|
|
func (*IssueReq) Descriptor() ([]byte, []int) {
|
|
|
|
return file_auth_proto_rawDescGZIP(), []int{7}
|
|
|
|
}
|
2020-12-29 23:02:35 +01:00
|
|
|
|
2023-02-02 20:28:32 +03:00
|
|
|
func (x *IssueReq) GetId() string {
|
|
|
|
if x != nil {
|
|
|
|
return x.Id
|
2020-12-29 23:02:35 +01:00
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
2023-02-02 20:28:32 +03:00
|
|
|
func (x *IssueReq) GetEmail() string {
|
|
|
|
if x != nil {
|
|
|
|
return x.Email
|
2020-12-29 23:02:35 +01:00
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
2023-02-02 20:28:32 +03:00
|
|
|
func (x *IssueReq) GetType() uint32 {
|
|
|
|
if x != nil {
|
|
|
|
return x.Type
|
2020-12-29 23:02:35 +01:00
|
|
|
}
|
|
|
|
return 0
|
|
|
|
}
|
|
|
|
|
|
|
|
type AuthorizeReq struct {
|
2023-02-02 20:28:32 +03:00
|
|
|
state protoimpl.MessageState
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
|
|
|
|
Sub string `protobuf:"bytes,1,opt,name=sub,proto3" json:"sub,omitempty"`
|
|
|
|
Obj string `protobuf:"bytes,2,opt,name=obj,proto3" json:"obj,omitempty"`
|
|
|
|
Act string `protobuf:"bytes,3,opt,name=act,proto3" json:"act,omitempty"`
|
2020-12-29 23:02:35 +01:00
|
|
|
}
|
|
|
|
|
2023-02-02 20:28:32 +03:00
|
|
|
func (x *AuthorizeReq) Reset() {
|
|
|
|
*x = AuthorizeReq{}
|
|
|
|
if protoimpl.UnsafeEnabled {
|
|
|
|
mi := &file_auth_proto_msgTypes[8]
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
ms.StoreMessageInfo(mi)
|
2020-12-29 23:02:35 +01:00
|
|
|
}
|
|
|
|
}
|
2023-02-02 20:28:32 +03:00
|
|
|
|
|
|
|
func (x *AuthorizeReq) String() string {
|
|
|
|
return protoimpl.X.MessageStringOf(x)
|
2020-12-29 23:02:35 +01:00
|
|
|
}
|
2023-02-02 20:28:32 +03:00
|
|
|
|
|
|
|
func (*AuthorizeReq) ProtoMessage() {}
|
|
|
|
|
|
|
|
func (x *AuthorizeReq) ProtoReflect() protoreflect.Message {
|
|
|
|
mi := &file_auth_proto_msgTypes[8]
|
|
|
|
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)
|
2020-12-29 23:02:35 +01:00
|
|
|
}
|
|
|
|
|
2023-02-02 20:28:32 +03:00
|
|
|
// Deprecated: Use AuthorizeReq.ProtoReflect.Descriptor instead.
|
|
|
|
func (*AuthorizeReq) Descriptor() ([]byte, []int) {
|
|
|
|
return file_auth_proto_rawDescGZIP(), []int{8}
|
|
|
|
}
|
2020-12-29 23:02:35 +01:00
|
|
|
|
2023-02-02 20:28:32 +03:00
|
|
|
func (x *AuthorizeReq) GetSub() string {
|
|
|
|
if x != nil {
|
|
|
|
return x.Sub
|
2020-12-29 23:02:35 +01:00
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
2023-02-02 20:28:32 +03:00
|
|
|
func (x *AuthorizeReq) GetObj() string {
|
|
|
|
if x != nil {
|
|
|
|
return x.Obj
|
2020-12-29 23:02:35 +01:00
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
2023-02-02 20:28:32 +03:00
|
|
|
func (x *AuthorizeReq) GetAct() string {
|
|
|
|
if x != nil {
|
|
|
|
return x.Act
|
2020-12-29 23:02:35 +01:00
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
|
|
|
type AuthorizeRes struct {
|
2023-02-02 20:28:32 +03:00
|
|
|
state protoimpl.MessageState
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
|
|
|
|
Authorized bool `protobuf:"varint,1,opt,name=authorized,proto3" json:"authorized,omitempty"`
|
2020-12-29 23:02:35 +01:00
|
|
|
}
|
|
|
|
|
2023-02-02 20:28:32 +03:00
|
|
|
func (x *AuthorizeRes) Reset() {
|
|
|
|
*x = AuthorizeRes{}
|
|
|
|
if protoimpl.UnsafeEnabled {
|
|
|
|
mi := &file_auth_proto_msgTypes[9]
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
ms.StoreMessageInfo(mi)
|
2020-12-29 23:02:35 +01:00
|
|
|
}
|
|
|
|
}
|
2023-02-02 20:28:32 +03:00
|
|
|
|
|
|
|
func (x *AuthorizeRes) String() string {
|
|
|
|
return protoimpl.X.MessageStringOf(x)
|
2020-12-29 23:02:35 +01:00
|
|
|
}
|
2023-02-02 20:28:32 +03:00
|
|
|
|
|
|
|
func (*AuthorizeRes) ProtoMessage() {}
|
|
|
|
|
|
|
|
func (x *AuthorizeRes) ProtoReflect() protoreflect.Message {
|
|
|
|
mi := &file_auth_proto_msgTypes[9]
|
|
|
|
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)
|
2020-12-29 23:02:35 +01:00
|
|
|
}
|
|
|
|
|
2023-02-02 20:28:32 +03:00
|
|
|
// Deprecated: Use AuthorizeRes.ProtoReflect.Descriptor instead.
|
|
|
|
func (*AuthorizeRes) Descriptor() ([]byte, []int) {
|
|
|
|
return file_auth_proto_rawDescGZIP(), []int{9}
|
|
|
|
}
|
2020-12-29 23:02:35 +01:00
|
|
|
|
2023-02-02 20:28:32 +03:00
|
|
|
func (x *AuthorizeRes) GetAuthorized() bool {
|
|
|
|
if x != nil {
|
|
|
|
return x.Authorized
|
2020-12-29 23:02:35 +01:00
|
|
|
}
|
|
|
|
return false
|
|
|
|
}
|
|
|
|
|
2021-10-27 00:38:28 +02:00
|
|
|
type AddPolicyReq struct {
|
2023-02-02 20:28:32 +03:00
|
|
|
state protoimpl.MessageState
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
|
|
|
|
Sub string `protobuf:"bytes,1,opt,name=sub,proto3" json:"sub,omitempty"`
|
|
|
|
Obj string `protobuf:"bytes,2,opt,name=obj,proto3" json:"obj,omitempty"`
|
|
|
|
Act string `protobuf:"bytes,3,opt,name=act,proto3" json:"act,omitempty"`
|
2021-10-27 00:38:28 +02:00
|
|
|
}
|
|
|
|
|
2023-02-02 20:28:32 +03:00
|
|
|
func (x *AddPolicyReq) Reset() {
|
|
|
|
*x = AddPolicyReq{}
|
|
|
|
if protoimpl.UnsafeEnabled {
|
|
|
|
mi := &file_auth_proto_msgTypes[10]
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
ms.StoreMessageInfo(mi)
|
2021-10-27 00:38:28 +02:00
|
|
|
}
|
|
|
|
}
|
2023-02-02 20:28:32 +03:00
|
|
|
|
|
|
|
func (x *AddPolicyReq) String() string {
|
|
|
|
return protoimpl.X.MessageStringOf(x)
|
2021-10-27 00:38:28 +02:00
|
|
|
}
|
2023-02-02 20:28:32 +03:00
|
|
|
|
|
|
|
func (*AddPolicyReq) ProtoMessage() {}
|
|
|
|
|
|
|
|
func (x *AddPolicyReq) ProtoReflect() protoreflect.Message {
|
|
|
|
mi := &file_auth_proto_msgTypes[10]
|
|
|
|
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)
|
2021-10-27 00:38:28 +02:00
|
|
|
}
|
|
|
|
|
2023-02-02 20:28:32 +03:00
|
|
|
// Deprecated: Use AddPolicyReq.ProtoReflect.Descriptor instead.
|
|
|
|
func (*AddPolicyReq) Descriptor() ([]byte, []int) {
|
|
|
|
return file_auth_proto_rawDescGZIP(), []int{10}
|
|
|
|
}
|
2021-10-27 00:38:28 +02:00
|
|
|
|
2023-02-02 20:28:32 +03:00
|
|
|
func (x *AddPolicyReq) GetSub() string {
|
|
|
|
if x != nil {
|
|
|
|
return x.Sub
|
2021-10-27 00:38:28 +02:00
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
2023-02-02 20:28:32 +03:00
|
|
|
func (x *AddPolicyReq) GetObj() string {
|
|
|
|
if x != nil {
|
|
|
|
return x.Obj
|
2021-10-27 00:38:28 +02:00
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
2023-02-02 20:28:32 +03:00
|
|
|
func (x *AddPolicyReq) GetAct() string {
|
|
|
|
if x != nil {
|
|
|
|
return x.Act
|
2021-10-27 00:38:28 +02:00
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
|
|
|
type AddPolicyRes struct {
|
2023-02-02 20:28:32 +03:00
|
|
|
state protoimpl.MessageState
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
|
|
|
|
Authorized bool `protobuf:"varint,1,opt,name=authorized,proto3" json:"authorized,omitempty"`
|
2021-10-27 00:38:28 +02:00
|
|
|
}
|
|
|
|
|
2023-02-02 20:28:32 +03:00
|
|
|
func (x *AddPolicyRes) Reset() {
|
|
|
|
*x = AddPolicyRes{}
|
|
|
|
if protoimpl.UnsafeEnabled {
|
|
|
|
mi := &file_auth_proto_msgTypes[11]
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
ms.StoreMessageInfo(mi)
|
2021-10-27 00:38:28 +02:00
|
|
|
}
|
|
|
|
}
|
2023-02-02 20:28:32 +03:00
|
|
|
|
|
|
|
func (x *AddPolicyRes) String() string {
|
|
|
|
return protoimpl.X.MessageStringOf(x)
|
2021-10-27 00:38:28 +02:00
|
|
|
}
|
2023-02-02 20:28:32 +03:00
|
|
|
|
|
|
|
func (*AddPolicyRes) ProtoMessage() {}
|
|
|
|
|
|
|
|
func (x *AddPolicyRes) ProtoReflect() protoreflect.Message {
|
|
|
|
mi := &file_auth_proto_msgTypes[11]
|
|
|
|
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)
|
2021-10-27 00:38:28 +02:00
|
|
|
}
|
|
|
|
|
2023-02-02 20:28:32 +03:00
|
|
|
// Deprecated: Use AddPolicyRes.ProtoReflect.Descriptor instead.
|
|
|
|
func (*AddPolicyRes) Descriptor() ([]byte, []int) {
|
|
|
|
return file_auth_proto_rawDescGZIP(), []int{11}
|
|
|
|
}
|
2021-10-27 00:38:28 +02:00
|
|
|
|
2023-02-02 20:28:32 +03:00
|
|
|
func (x *AddPolicyRes) GetAuthorized() bool {
|
|
|
|
if x != nil {
|
|
|
|
return x.Authorized
|
2021-10-27 00:38:28 +02:00
|
|
|
}
|
|
|
|
return false
|
|
|
|
}
|
|
|
|
|
|
|
|
type DeletePolicyReq struct {
|
2023-02-02 20:28:32 +03:00
|
|
|
state protoimpl.MessageState
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
|
|
|
|
Sub string `protobuf:"bytes,1,opt,name=sub,proto3" json:"sub,omitempty"`
|
|
|
|
Obj string `protobuf:"bytes,2,opt,name=obj,proto3" json:"obj,omitempty"`
|
|
|
|
Act string `protobuf:"bytes,3,opt,name=act,proto3" json:"act,omitempty"`
|
2021-10-27 00:38:28 +02:00
|
|
|
}
|
|
|
|
|
2023-02-02 20:28:32 +03:00
|
|
|
func (x *DeletePolicyReq) Reset() {
|
|
|
|
*x = DeletePolicyReq{}
|
|
|
|
if protoimpl.UnsafeEnabled {
|
|
|
|
mi := &file_auth_proto_msgTypes[12]
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
ms.StoreMessageInfo(mi)
|
2021-10-27 00:38:28 +02:00
|
|
|
}
|
|
|
|
}
|
2023-02-02 20:28:32 +03:00
|
|
|
|
|
|
|
func (x *DeletePolicyReq) String() string {
|
|
|
|
return protoimpl.X.MessageStringOf(x)
|
2021-10-27 00:38:28 +02:00
|
|
|
}
|
2023-02-02 20:28:32 +03:00
|
|
|
|
|
|
|
func (*DeletePolicyReq) ProtoMessage() {}
|
|
|
|
|
|
|
|
func (x *DeletePolicyReq) ProtoReflect() protoreflect.Message {
|
|
|
|
mi := &file_auth_proto_msgTypes[12]
|
|
|
|
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)
|
2021-10-27 00:38:28 +02:00
|
|
|
}
|
|
|
|
|
2023-02-02 20:28:32 +03:00
|
|
|
// Deprecated: Use DeletePolicyReq.ProtoReflect.Descriptor instead.
|
|
|
|
func (*DeletePolicyReq) Descriptor() ([]byte, []int) {
|
|
|
|
return file_auth_proto_rawDescGZIP(), []int{12}
|
|
|
|
}
|
2021-10-27 00:38:28 +02:00
|
|
|
|
2023-02-02 20:28:32 +03:00
|
|
|
func (x *DeletePolicyReq) GetSub() string {
|
|
|
|
if x != nil {
|
|
|
|
return x.Sub
|
2021-10-27 00:38:28 +02:00
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
2023-02-02 20:28:32 +03:00
|
|
|
func (x *DeletePolicyReq) GetObj() string {
|
|
|
|
if x != nil {
|
|
|
|
return x.Obj
|
2021-10-27 00:38:28 +02:00
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
2023-02-02 20:28:32 +03:00
|
|
|
func (x *DeletePolicyReq) GetAct() string {
|
|
|
|
if x != nil {
|
|
|
|
return x.Act
|
2021-10-27 00:38:28 +02:00
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
|
|
|
type DeletePolicyRes struct {
|
2023-02-02 20:28:32 +03:00
|
|
|
state protoimpl.MessageState
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
|
|
|
|
Deleted bool `protobuf:"varint,1,opt,name=deleted,proto3" json:"deleted,omitempty"`
|
2021-10-27 00:38:28 +02:00
|
|
|
}
|
|
|
|
|
2023-02-02 20:28:32 +03:00
|
|
|
func (x *DeletePolicyRes) Reset() {
|
|
|
|
*x = DeletePolicyRes{}
|
|
|
|
if protoimpl.UnsafeEnabled {
|
|
|
|
mi := &file_auth_proto_msgTypes[13]
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
ms.StoreMessageInfo(mi)
|
2021-10-27 00:38:28 +02:00
|
|
|
}
|
|
|
|
}
|
2023-02-02 20:28:32 +03:00
|
|
|
|
|
|
|
func (x *DeletePolicyRes) String() string {
|
|
|
|
return protoimpl.X.MessageStringOf(x)
|
2021-10-27 00:38:28 +02:00
|
|
|
}
|
2023-02-02 20:28:32 +03:00
|
|
|
|
|
|
|
func (*DeletePolicyRes) ProtoMessage() {}
|
|
|
|
|
|
|
|
func (x *DeletePolicyRes) ProtoReflect() protoreflect.Message {
|
|
|
|
mi := &file_auth_proto_msgTypes[13]
|
|
|
|
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)
|
2021-10-27 00:38:28 +02:00
|
|
|
}
|
|
|
|
|
2023-02-02 20:28:32 +03:00
|
|
|
// Deprecated: Use DeletePolicyRes.ProtoReflect.Descriptor instead.
|
|
|
|
func (*DeletePolicyRes) Descriptor() ([]byte, []int) {
|
|
|
|
return file_auth_proto_rawDescGZIP(), []int{13}
|
|
|
|
}
|
2021-10-27 00:38:28 +02:00
|
|
|
|
2023-02-02 20:28:32 +03:00
|
|
|
func (x *DeletePolicyRes) GetDeleted() bool {
|
|
|
|
if x != nil {
|
|
|
|
return x.Deleted
|
2021-10-27 00:38:28 +02:00
|
|
|
}
|
|
|
|
return false
|
|
|
|
}
|
|
|
|
|
2021-11-19 16:32:38 +03:00
|
|
|
type ListPoliciesReq struct {
|
2023-02-02 20:28:32 +03:00
|
|
|
state protoimpl.MessageState
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
|
|
|
|
Sub string `protobuf:"bytes,1,opt,name=sub,proto3" json:"sub,omitempty"`
|
|
|
|
Obj string `protobuf:"bytes,2,opt,name=obj,proto3" json:"obj,omitempty"`
|
|
|
|
Act string `protobuf:"bytes,3,opt,name=act,proto3" json:"act,omitempty"`
|
2021-11-19 16:32:38 +03:00
|
|
|
}
|
|
|
|
|
2023-02-02 20:28:32 +03:00
|
|
|
func (x *ListPoliciesReq) Reset() {
|
|
|
|
*x = ListPoliciesReq{}
|
|
|
|
if protoimpl.UnsafeEnabled {
|
|
|
|
mi := &file_auth_proto_msgTypes[14]
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
ms.StoreMessageInfo(mi)
|
2021-11-19 16:32:38 +03:00
|
|
|
}
|
|
|
|
}
|
2023-02-02 20:28:32 +03:00
|
|
|
|
|
|
|
func (x *ListPoliciesReq) String() string {
|
|
|
|
return protoimpl.X.MessageStringOf(x)
|
2021-11-19 16:32:38 +03:00
|
|
|
}
|
2023-02-02 20:28:32 +03:00
|
|
|
|
|
|
|
func (*ListPoliciesReq) ProtoMessage() {}
|
|
|
|
|
|
|
|
func (x *ListPoliciesReq) ProtoReflect() protoreflect.Message {
|
|
|
|
mi := &file_auth_proto_msgTypes[14]
|
|
|
|
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)
|
2021-11-19 16:32:38 +03:00
|
|
|
}
|
|
|
|
|
2023-02-02 20:28:32 +03:00
|
|
|
// Deprecated: Use ListPoliciesReq.ProtoReflect.Descriptor instead.
|
|
|
|
func (*ListPoliciesReq) Descriptor() ([]byte, []int) {
|
|
|
|
return file_auth_proto_rawDescGZIP(), []int{14}
|
|
|
|
}
|
2021-11-19 16:32:38 +03:00
|
|
|
|
2023-02-02 20:28:32 +03:00
|
|
|
func (x *ListPoliciesReq) GetSub() string {
|
|
|
|
if x != nil {
|
|
|
|
return x.Sub
|
2021-11-19 16:32:38 +03:00
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
2023-02-02 20:28:32 +03:00
|
|
|
func (x *ListPoliciesReq) GetObj() string {
|
|
|
|
if x != nil {
|
|
|
|
return x.Obj
|
2021-11-19 16:32:38 +03:00
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
2023-02-02 20:28:32 +03:00
|
|
|
func (x *ListPoliciesReq) GetAct() string {
|
|
|
|
if x != nil {
|
|
|
|
return x.Act
|
2021-11-19 16:32:38 +03:00
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
|
|
|
type ListPoliciesRes struct {
|
2023-02-02 20:28:32 +03:00
|
|
|
state protoimpl.MessageState
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
|
|
|
|
Policies []string `protobuf:"bytes,1,rep,name=policies,proto3" json:"policies,omitempty"`
|
2021-11-19 16:32:38 +03:00
|
|
|
}
|
|
|
|
|
2023-02-02 20:28:32 +03:00
|
|
|
func (x *ListPoliciesRes) Reset() {
|
|
|
|
*x = ListPoliciesRes{}
|
|
|
|
if protoimpl.UnsafeEnabled {
|
|
|
|
mi := &file_auth_proto_msgTypes[15]
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
ms.StoreMessageInfo(mi)
|
2021-11-19 16:32:38 +03:00
|
|
|
}
|
|
|
|
}
|
2023-02-02 20:28:32 +03:00
|
|
|
|
|
|
|
func (x *ListPoliciesRes) String() string {
|
|
|
|
return protoimpl.X.MessageStringOf(x)
|
2021-11-19 16:32:38 +03:00
|
|
|
}
|
|
|
|
|
2023-02-02 20:28:32 +03:00
|
|
|
func (*ListPoliciesRes) ProtoMessage() {}
|
2021-11-19 16:32:38 +03:00
|
|
|
|
2023-02-02 20:28:32 +03:00
|
|
|
func (x *ListPoliciesRes) ProtoReflect() protoreflect.Message {
|
|
|
|
mi := &file_auth_proto_msgTypes[15]
|
|
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
if ms.LoadMessageInfo() == nil {
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
}
|
|
|
|
return ms
|
2021-11-19 16:32:38 +03:00
|
|
|
}
|
2023-02-02 20:28:32 +03:00
|
|
|
return mi.MessageOf(x)
|
2021-11-19 16:32:38 +03:00
|
|
|
}
|
|
|
|
|
2023-02-02 20:28:32 +03:00
|
|
|
// Deprecated: Use ListPoliciesRes.ProtoReflect.Descriptor instead.
|
|
|
|
func (*ListPoliciesRes) Descriptor() ([]byte, []int) {
|
|
|
|
return file_auth_proto_rawDescGZIP(), []int{15}
|
2020-12-29 23:02:35 +01:00
|
|
|
}
|
|
|
|
|
2023-02-02 20:28:32 +03:00
|
|
|
func (x *ListPoliciesRes) GetPolicies() []string {
|
|
|
|
if x != nil {
|
|
|
|
return x.Policies
|
2020-12-29 23:02:35 +01:00
|
|
|
}
|
2023-02-02 20:28:32 +03:00
|
|
|
return nil
|
2020-12-29 23:02:35 +01:00
|
|
|
}
|
|
|
|
|
2023-02-02 20:28:32 +03:00
|
|
|
type Assignment struct {
|
|
|
|
state protoimpl.MessageState
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
unknownFields protoimpl.UnknownFields
|
2020-12-29 23:02:35 +01:00
|
|
|
|
2023-02-02 20:28:32 +03:00
|
|
|
Token string `protobuf:"bytes,1,opt,name=token,proto3" json:"token,omitempty"`
|
|
|
|
GroupID string `protobuf:"bytes,2,opt,name=groupID,proto3" json:"groupID,omitempty"`
|
|
|
|
MemberID string `protobuf:"bytes,3,opt,name=memberID,proto3" json:"memberID,omitempty"`
|
2020-12-29 23:02:35 +01:00
|
|
|
}
|
|
|
|
|
2023-02-02 20:28:32 +03:00
|
|
|
func (x *Assignment) Reset() {
|
|
|
|
*x = Assignment{}
|
|
|
|
if protoimpl.UnsafeEnabled {
|
|
|
|
mi := &file_auth_proto_msgTypes[16]
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
ms.StoreMessageInfo(mi)
|
2020-12-29 23:02:35 +01:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2023-02-02 20:28:32 +03:00
|
|
|
func (x *Assignment) String() string {
|
|
|
|
return protoimpl.X.MessageStringOf(x)
|
2020-12-29 23:02:35 +01:00
|
|
|
}
|
|
|
|
|
2023-02-02 20:28:32 +03:00
|
|
|
func (*Assignment) ProtoMessage() {}
|
|
|
|
|
|
|
|
func (x *Assignment) ProtoReflect() protoreflect.Message {
|
|
|
|
mi := &file_auth_proto_msgTypes[16]
|
|
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
if ms.LoadMessageInfo() == nil {
|
|
|
|
ms.StoreMessageInfo(mi)
|
2020-12-29 23:02:35 +01:00
|
|
|
}
|
2023-02-02 20:28:32 +03:00
|
|
|
return ms
|
2020-12-29 23:02:35 +01:00
|
|
|
}
|
2023-02-02 20:28:32 +03:00
|
|
|
return mi.MessageOf(x)
|
2020-12-29 23:02:35 +01:00
|
|
|
}
|
|
|
|
|
2023-02-02 20:28:32 +03:00
|
|
|
// Deprecated: Use Assignment.ProtoReflect.Descriptor instead.
|
|
|
|
func (*Assignment) Descriptor() ([]byte, []int) {
|
|
|
|
return file_auth_proto_rawDescGZIP(), []int{16}
|
|
|
|
}
|
2020-12-29 23:02:35 +01:00
|
|
|
|
2023-02-02 20:28:32 +03:00
|
|
|
func (x *Assignment) GetToken() string {
|
|
|
|
if x != nil {
|
|
|
|
return x.Token
|
2020-12-29 23:02:35 +01:00
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
2023-02-02 20:28:32 +03:00
|
|
|
func (x *Assignment) GetGroupID() string {
|
|
|
|
if x != nil {
|
|
|
|
return x.GroupID
|
2020-12-29 23:02:35 +01:00
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
2023-02-02 20:28:32 +03:00
|
|
|
func (x *Assignment) GetMemberID() string {
|
|
|
|
if x != nil {
|
|
|
|
return x.MemberID
|
2020-12-29 23:02:35 +01:00
|
|
|
}
|
2023-02-02 20:28:32 +03:00
|
|
|
return ""
|
2020-12-29 23:02:35 +01:00
|
|
|
}
|
|
|
|
|
2023-02-02 20:28:32 +03:00
|
|
|
type MembersReq struct {
|
|
|
|
state protoimpl.MessageState
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
unknownFields protoimpl.UnknownFields
|
2020-12-29 23:02:35 +01:00
|
|
|
|
2023-02-02 20:28:32 +03:00
|
|
|
Token string `protobuf:"bytes,1,opt,name=token,proto3" json:"token,omitempty"`
|
|
|
|
GroupID string `protobuf:"bytes,2,opt,name=groupID,proto3" json:"groupID,omitempty"`
|
|
|
|
Offset uint64 `protobuf:"varint,3,opt,name=offset,proto3" json:"offset,omitempty"`
|
|
|
|
Limit uint64 `protobuf:"varint,4,opt,name=limit,proto3" json:"limit,omitempty"`
|
|
|
|
Type string `protobuf:"bytes,5,opt,name=type,proto3" json:"type,omitempty"`
|
2020-12-29 23:02:35 +01:00
|
|
|
}
|
|
|
|
|
2023-02-02 20:28:32 +03:00
|
|
|
func (x *MembersReq) Reset() {
|
|
|
|
*x = MembersReq{}
|
|
|
|
if protoimpl.UnsafeEnabled {
|
|
|
|
mi := &file_auth_proto_msgTypes[17]
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
ms.StoreMessageInfo(mi)
|
2020-12-29 23:02:35 +01:00
|
|
|
}
|
|
|
|
}
|
2023-02-02 20:28:32 +03:00
|
|
|
|
|
|
|
func (x *MembersReq) String() string {
|
|
|
|
return protoimpl.X.MessageStringOf(x)
|
2020-12-29 23:02:35 +01:00
|
|
|
}
|
|
|
|
|
2023-02-02 20:28:32 +03:00
|
|
|
func (*MembersReq) ProtoMessage() {}
|
2020-12-29 23:02:35 +01:00
|
|
|
|
2023-02-02 20:28:32 +03:00
|
|
|
func (x *MembersReq) ProtoReflect() protoreflect.Message {
|
|
|
|
mi := &file_auth_proto_msgTypes[17]
|
|
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
if ms.LoadMessageInfo() == nil {
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
}
|
|
|
|
return ms
|
2020-12-29 23:02:35 +01:00
|
|
|
}
|
2023-02-02 20:28:32 +03:00
|
|
|
return mi.MessageOf(x)
|
2020-12-29 23:02:35 +01:00
|
|
|
}
|
|
|
|
|
2023-02-02 20:28:32 +03:00
|
|
|
// Deprecated: Use MembersReq.ProtoReflect.Descriptor instead.
|
|
|
|
func (*MembersReq) Descriptor() ([]byte, []int) {
|
|
|
|
return file_auth_proto_rawDescGZIP(), []int{17}
|
2020-12-29 23:02:35 +01:00
|
|
|
}
|
|
|
|
|
2023-02-02 20:28:32 +03:00
|
|
|
func (x *MembersReq) GetToken() string {
|
|
|
|
if x != nil {
|
|
|
|
return x.Token
|
2020-12-29 23:02:35 +01:00
|
|
|
}
|
2023-02-02 20:28:32 +03:00
|
|
|
return ""
|
2020-12-29 23:02:35 +01:00
|
|
|
}
|
|
|
|
|
2023-02-02 20:28:32 +03:00
|
|
|
func (x *MembersReq) GetGroupID() string {
|
|
|
|
if x != nil {
|
|
|
|
return x.GroupID
|
2020-12-29 23:02:35 +01:00
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
2023-02-02 20:28:32 +03:00
|
|
|
func (x *MembersReq) GetOffset() uint64 {
|
|
|
|
if x != nil {
|
|
|
|
return x.Offset
|
2020-12-29 23:02:35 +01:00
|
|
|
}
|
2023-02-02 20:28:32 +03:00
|
|
|
return 0
|
2020-12-29 23:02:35 +01:00
|
|
|
}
|
|
|
|
|
2023-02-02 20:28:32 +03:00
|
|
|
func (x *MembersReq) GetLimit() uint64 {
|
|
|
|
if x != nil {
|
|
|
|
return x.Limit
|
2020-12-29 23:02:35 +01:00
|
|
|
}
|
2023-02-02 20:28:32 +03:00
|
|
|
return 0
|
2020-12-29 23:02:35 +01:00
|
|
|
}
|
|
|
|
|
2023-02-02 20:28:32 +03:00
|
|
|
func (x *MembersReq) GetType() string {
|
|
|
|
if x != nil {
|
|
|
|
return x.Type
|
2021-02-22 19:41:59 +01:00
|
|
|
}
|
2023-02-02 20:28:32 +03:00
|
|
|
return ""
|
2021-02-22 19:41:59 +01:00
|
|
|
}
|
|
|
|
|
2023-02-02 20:28:32 +03:00
|
|
|
type MembersRes struct {
|
|
|
|
state protoimpl.MessageState
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
|
|
|
|
Total uint64 `protobuf:"varint,1,opt,name=total,proto3" json:"total,omitempty"`
|
|
|
|
Offset uint64 `protobuf:"varint,2,opt,name=offset,proto3" json:"offset,omitempty"`
|
|
|
|
Limit uint64 `protobuf:"varint,3,opt,name=limit,proto3" json:"limit,omitempty"`
|
|
|
|
Type string `protobuf:"bytes,4,opt,name=type,proto3" json:"type,omitempty"`
|
|
|
|
Members []string `protobuf:"bytes,5,rep,name=members,proto3" json:"members,omitempty"`
|
2020-12-29 23:02:35 +01:00
|
|
|
}
|
|
|
|
|
2023-02-02 20:28:32 +03:00
|
|
|
func (x *MembersRes) Reset() {
|
|
|
|
*x = MembersRes{}
|
|
|
|
if protoimpl.UnsafeEnabled {
|
|
|
|
mi := &file_auth_proto_msgTypes[18]
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
ms.StoreMessageInfo(mi)
|
2020-12-29 23:02:35 +01:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2023-02-02 20:28:32 +03:00
|
|
|
func (x *MembersRes) String() string {
|
|
|
|
return protoimpl.X.MessageStringOf(x)
|
2020-12-29 23:02:35 +01:00
|
|
|
}
|
|
|
|
|
2023-02-02 20:28:32 +03:00
|
|
|
func (*MembersRes) ProtoMessage() {}
|
2020-12-29 23:02:35 +01:00
|
|
|
|
2023-02-02 20:28:32 +03:00
|
|
|
func (x *MembersRes) ProtoReflect() protoreflect.Message {
|
|
|
|
mi := &file_auth_proto_msgTypes[18]
|
|
|
|
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)
|
2020-12-29 23:02:35 +01:00
|
|
|
}
|
|
|
|
|
2023-02-02 20:28:32 +03:00
|
|
|
// Deprecated: Use MembersRes.ProtoReflect.Descriptor instead.
|
|
|
|
func (*MembersRes) Descriptor() ([]byte, []int) {
|
|
|
|
return file_auth_proto_rawDescGZIP(), []int{18}
|
2020-12-29 23:02:35 +01:00
|
|
|
}
|
|
|
|
|
2023-02-02 20:28:32 +03:00
|
|
|
func (x *MembersRes) GetTotal() uint64 {
|
|
|
|
if x != nil {
|
|
|
|
return x.Total
|
2020-12-29 23:02:35 +01:00
|
|
|
}
|
2023-02-02 20:28:32 +03:00
|
|
|
return 0
|
2020-12-29 23:02:35 +01:00
|
|
|
}
|
|
|
|
|
2023-02-02 20:28:32 +03:00
|
|
|
func (x *MembersRes) GetOffset() uint64 {
|
|
|
|
if x != nil {
|
|
|
|
return x.Offset
|
2021-02-22 19:41:59 +01:00
|
|
|
}
|
2023-02-02 20:28:32 +03:00
|
|
|
return 0
|
2021-02-22 19:41:59 +01:00
|
|
|
}
|
|
|
|
|
2023-02-02 20:28:32 +03:00
|
|
|
func (x *MembersRes) GetLimit() uint64 {
|
|
|
|
if x != nil {
|
|
|
|
return x.Limit
|
2020-12-29 23:02:35 +01:00
|
|
|
}
|
2023-02-02 20:28:32 +03:00
|
|
|
return 0
|
2020-12-29 23:02:35 +01:00
|
|
|
}
|
|
|
|
|
2023-02-02 20:28:32 +03:00
|
|
|
func (x *MembersRes) GetType() string {
|
|
|
|
if x != nil {
|
|
|
|
return x.Type
|
2020-12-29 23:02:35 +01:00
|
|
|
}
|
2023-02-02 20:28:32 +03:00
|
|
|
return ""
|
2020-12-29 23:02:35 +01:00
|
|
|
}
|
|
|
|
|
2023-02-02 20:28:32 +03:00
|
|
|
func (x *MembersRes) GetMembers() []string {
|
|
|
|
if x != nil {
|
|
|
|
return x.Members
|
|
|
|
}
|
|
|
|
return nil
|
2020-12-29 23:02:35 +01:00
|
|
|
}
|
|
|
|
|
2023-02-02 20:28:32 +03:00
|
|
|
var File_auth_proto protoreflect.FileDescriptor
|
|
|
|
|
|
|
|
var file_auth_proto_rawDesc = []byte{
|
|
|
|
0x0a, 0x0a, 0x61, 0x75, 0x74, 0x68, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x08, 0x6d, 0x61,
|
|
|
|
0x69, 0x6e, 0x66, 0x6c, 0x75, 0x78, 0x1a, 0x1b, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70,
|
|
|
|
0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x65, 0x6d, 0x70, 0x74, 0x79, 0x2e, 0x70, 0x72,
|
|
|
|
0x6f, 0x74, 0x6f, 0x22, 0x3e, 0x0a, 0x0e, 0x41, 0x63, 0x63, 0x65, 0x73, 0x73, 0x42, 0x79, 0x4b,
|
|
|
|
0x65, 0x79, 0x52, 0x65, 0x71, 0x12, 0x14, 0x0a, 0x05, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x01,
|
|
|
|
0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x12, 0x16, 0x0a, 0x06, 0x63,
|
|
|
|
0x68, 0x61, 0x6e, 0x49, 0x44, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x63, 0x68, 0x61,
|
|
|
|
0x6e, 0x49, 0x44, 0x22, 0x3f, 0x0a, 0x0f, 0x43, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x4f, 0x77,
|
|
|
|
0x6e, 0x65, 0x72, 0x52, 0x65, 0x71, 0x12, 0x14, 0x0a, 0x05, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x18,
|
|
|
|
0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x12, 0x16, 0x0a, 0x06,
|
|
|
|
0x63, 0x68, 0x61, 0x6e, 0x49, 0x44, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x63, 0x68,
|
|
|
|
0x61, 0x6e, 0x49, 0x44, 0x22, 0x1f, 0x0a, 0x07, 0x54, 0x68, 0x69, 0x6e, 0x67, 0x49, 0x44, 0x12,
|
|
|
|
0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05,
|
|
|
|
0x76, 0x61, 0x6c, 0x75, 0x65, 0x22, 0x21, 0x0a, 0x09, 0x43, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c,
|
|
|
|
0x49, 0x44, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28,
|
|
|
|
0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x22, 0x41, 0x0a, 0x0d, 0x41, 0x63, 0x63, 0x65,
|
|
|
|
0x73, 0x73, 0x42, 0x79, 0x49, 0x44, 0x52, 0x65, 0x71, 0x12, 0x18, 0x0a, 0x07, 0x74, 0x68, 0x69,
|
|
|
|
0x6e, 0x67, 0x49, 0x44, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x74, 0x68, 0x69, 0x6e,
|
|
|
|
0x67, 0x49, 0x44, 0x12, 0x16, 0x0a, 0x06, 0x63, 0x68, 0x61, 0x6e, 0x49, 0x44, 0x18, 0x02, 0x20,
|
|
|
|
0x01, 0x28, 0x09, 0x52, 0x06, 0x63, 0x68, 0x61, 0x6e, 0x49, 0x44, 0x22, 0x1d, 0x0a, 0x05, 0x54,
|
|
|
|
0x6f, 0x6b, 0x65, 0x6e, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x01, 0x20,
|
|
|
|
0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x22, 0x34, 0x0a, 0x0c, 0x55, 0x73,
|
|
|
|
0x65, 0x72, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64,
|
|
|
|
0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x14, 0x0a, 0x05, 0x65, 0x6d,
|
|
|
|
0x61, 0x69, 0x6c, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x65, 0x6d, 0x61, 0x69, 0x6c,
|
|
|
|
0x22, 0x44, 0x0a, 0x08, 0x49, 0x73, 0x73, 0x75, 0x65, 0x52, 0x65, 0x71, 0x12, 0x0e, 0x0a, 0x02,
|
|
|
|
0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x14, 0x0a, 0x05,
|
|
|
|
0x65, 0x6d, 0x61, 0x69, 0x6c, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x65, 0x6d, 0x61,
|
|
|
|
0x69, 0x6c, 0x12, 0x12, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0d,
|
|
|
|
0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x22, 0x44, 0x0a, 0x0c, 0x41, 0x75, 0x74, 0x68, 0x6f, 0x72,
|
|
|
|
0x69, 0x7a, 0x65, 0x52, 0x65, 0x71, 0x12, 0x10, 0x0a, 0x03, 0x73, 0x75, 0x62, 0x18, 0x01, 0x20,
|
|
|
|
0x01, 0x28, 0x09, 0x52, 0x03, 0x73, 0x75, 0x62, 0x12, 0x10, 0x0a, 0x03, 0x6f, 0x62, 0x6a, 0x18,
|
|
|
|
0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6f, 0x62, 0x6a, 0x12, 0x10, 0x0a, 0x03, 0x61, 0x63,
|
|
|
|
0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x61, 0x63, 0x74, 0x22, 0x2e, 0x0a, 0x0c,
|
|
|
|
0x41, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x65, 0x52, 0x65, 0x73, 0x12, 0x1e, 0x0a, 0x0a,
|
|
|
|
0x61, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x65, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08,
|
|
|
|
0x52, 0x0a, 0x61, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x65, 0x64, 0x22, 0x44, 0x0a, 0x0c,
|
|
|
|
0x41, 0x64, 0x64, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x52, 0x65, 0x71, 0x12, 0x10, 0x0a, 0x03,
|
|
|
|
0x73, 0x75, 0x62, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x73, 0x75, 0x62, 0x12, 0x10,
|
|
|
|
0x0a, 0x03, 0x6f, 0x62, 0x6a, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6f, 0x62, 0x6a,
|
|
|
|
0x12, 0x10, 0x0a, 0x03, 0x61, 0x63, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x61,
|
|
|
|
0x63, 0x74, 0x22, 0x2e, 0x0a, 0x0c, 0x41, 0x64, 0x64, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x52,
|
|
|
|
0x65, 0x73, 0x12, 0x1e, 0x0a, 0x0a, 0x61, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x65, 0x64,
|
|
|
|
0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0a, 0x61, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a,
|
|
|
|
0x65, 0x64, 0x22, 0x47, 0x0a, 0x0f, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x50, 0x6f, 0x6c, 0x69,
|
|
|
|
0x63, 0x79, 0x52, 0x65, 0x71, 0x12, 0x10, 0x0a, 0x03, 0x73, 0x75, 0x62, 0x18, 0x01, 0x20, 0x01,
|
|
|
|
0x28, 0x09, 0x52, 0x03, 0x73, 0x75, 0x62, 0x12, 0x10, 0x0a, 0x03, 0x6f, 0x62, 0x6a, 0x18, 0x02,
|
|
|
|
0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6f, 0x62, 0x6a, 0x12, 0x10, 0x0a, 0x03, 0x61, 0x63, 0x74,
|
|
|
|
0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x61, 0x63, 0x74, 0x22, 0x2b, 0x0a, 0x0f, 0x44,
|
|
|
|
0x65, 0x6c, 0x65, 0x74, 0x65, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x52, 0x65, 0x73, 0x12, 0x18,
|
|
|
|
0x0a, 0x07, 0x64, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52,
|
|
|
|
0x07, 0x64, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x64, 0x22, 0x47, 0x0a, 0x0f, 0x4c, 0x69, 0x73, 0x74,
|
|
|
|
0x50, 0x6f, 0x6c, 0x69, 0x63, 0x69, 0x65, 0x73, 0x52, 0x65, 0x71, 0x12, 0x10, 0x0a, 0x03, 0x73,
|
|
|
|
0x75, 0x62, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x73, 0x75, 0x62, 0x12, 0x10, 0x0a,
|
|
|
|
0x03, 0x6f, 0x62, 0x6a, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6f, 0x62, 0x6a, 0x12,
|
|
|
|
0x10, 0x0a, 0x03, 0x61, 0x63, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x61, 0x63,
|
|
|
|
0x74, 0x22, 0x2d, 0x0a, 0x0f, 0x4c, 0x69, 0x73, 0x74, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x69, 0x65,
|
|
|
|
0x73, 0x52, 0x65, 0x73, 0x12, 0x1a, 0x0a, 0x08, 0x70, 0x6f, 0x6c, 0x69, 0x63, 0x69, 0x65, 0x73,
|
|
|
|
0x18, 0x01, 0x20, 0x03, 0x28, 0x09, 0x52, 0x08, 0x70, 0x6f, 0x6c, 0x69, 0x63, 0x69, 0x65, 0x73,
|
|
|
|
0x22, 0x58, 0x0a, 0x0a, 0x41, 0x73, 0x73, 0x69, 0x67, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x12, 0x14,
|
|
|
|
0x0a, 0x05, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x74,
|
|
|
|
0x6f, 0x6b, 0x65, 0x6e, 0x12, 0x18, 0x0a, 0x07, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x49, 0x44, 0x18,
|
|
|
|
0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x49, 0x44, 0x12, 0x1a,
|
|
|
|
0x0a, 0x08, 0x6d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x49, 0x44, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09,
|
|
|
|
0x52, 0x08, 0x6d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x49, 0x44, 0x22, 0x7e, 0x0a, 0x0a, 0x4d, 0x65,
|
|
|
|
0x6d, 0x62, 0x65, 0x72, 0x73, 0x52, 0x65, 0x71, 0x12, 0x14, 0x0a, 0x05, 0x74, 0x6f, 0x6b, 0x65,
|
|
|
|
0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x12, 0x18,
|
|
|
|
0x0a, 0x07, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x49, 0x44, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52,
|
|
|
|
0x07, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x49, 0x44, 0x12, 0x16, 0x0a, 0x06, 0x6f, 0x66, 0x66, 0x73,
|
|
|
|
0x65, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x04, 0x52, 0x06, 0x6f, 0x66, 0x66, 0x73, 0x65, 0x74,
|
|
|
|
0x12, 0x14, 0x0a, 0x05, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x04, 0x52,
|
|
|
|
0x05, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x05,
|
|
|
|
0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x22, 0x7e, 0x0a, 0x0a, 0x4d, 0x65,
|
|
|
|
0x6d, 0x62, 0x65, 0x72, 0x73, 0x52, 0x65, 0x73, 0x12, 0x14, 0x0a, 0x05, 0x74, 0x6f, 0x74, 0x61,
|
|
|
|
0x6c, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, 0x05, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x12, 0x16,
|
|
|
|
0x0a, 0x06, 0x6f, 0x66, 0x66, 0x73, 0x65, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x04, 0x52, 0x06,
|
|
|
|
0x6f, 0x66, 0x66, 0x73, 0x65, 0x74, 0x12, 0x14, 0x0a, 0x05, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x18,
|
|
|
|
0x03, 0x20, 0x01, 0x28, 0x04, 0x52, 0x05, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x12, 0x12, 0x0a, 0x04,
|
|
|
|
0x74, 0x79, 0x70, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65,
|
|
|
|
0x12, 0x18, 0x0a, 0x07, 0x6d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x73, 0x18, 0x05, 0x20, 0x03, 0x28,
|
|
|
|
0x09, 0x52, 0x07, 0x6d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x73, 0x32, 0x8d, 0x02, 0x0a, 0x0d, 0x54,
|
|
|
|
0x68, 0x69, 0x6e, 0x67, 0x73, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x3f, 0x0a, 0x0e,
|
|
|
|
0x43, 0x61, 0x6e, 0x41, 0x63, 0x63, 0x65, 0x73, 0x73, 0x42, 0x79, 0x4b, 0x65, 0x79, 0x12, 0x18,
|
|
|
|
0x2e, 0x6d, 0x61, 0x69, 0x6e, 0x66, 0x6c, 0x75, 0x78, 0x2e, 0x41, 0x63, 0x63, 0x65, 0x73, 0x73,
|
|
|
|
0x42, 0x79, 0x4b, 0x65, 0x79, 0x52, 0x65, 0x71, 0x1a, 0x11, 0x2e, 0x6d, 0x61, 0x69, 0x6e, 0x66,
|
|
|
|
0x6c, 0x75, 0x78, 0x2e, 0x54, 0x68, 0x69, 0x6e, 0x67, 0x49, 0x44, 0x22, 0x00, 0x12, 0x45, 0x0a,
|
|
|
|
0x0e, 0x49, 0x73, 0x43, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x4f, 0x77, 0x6e, 0x65, 0x72, 0x12,
|
|
|
|
0x19, 0x2e, 0x6d, 0x61, 0x69, 0x6e, 0x66, 0x6c, 0x75, 0x78, 0x2e, 0x43, 0x68, 0x61, 0x6e, 0x6e,
|
|
|
|
0x65, 0x6c, 0x4f, 0x77, 0x6e, 0x65, 0x72, 0x52, 0x65, 0x71, 0x1a, 0x16, 0x2e, 0x67, 0x6f, 0x6f,
|
|
|
|
0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d, 0x70,
|
|
|
|
0x74, 0x79, 0x22, 0x00, 0x12, 0x42, 0x0a, 0x0d, 0x43, 0x61, 0x6e, 0x41, 0x63, 0x63, 0x65, 0x73,
|
|
|
|
0x73, 0x42, 0x79, 0x49, 0x44, 0x12, 0x17, 0x2e, 0x6d, 0x61, 0x69, 0x6e, 0x66, 0x6c, 0x75, 0x78,
|
|
|
|
0x2e, 0x41, 0x63, 0x63, 0x65, 0x73, 0x73, 0x42, 0x79, 0x49, 0x44, 0x52, 0x65, 0x71, 0x1a, 0x16,
|
|
|
|
0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66,
|
|
|
|
0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x22, 0x00, 0x12, 0x30, 0x0a, 0x08, 0x49, 0x64, 0x65, 0x6e,
|
|
|
|
0x74, 0x69, 0x66, 0x79, 0x12, 0x0f, 0x2e, 0x6d, 0x61, 0x69, 0x6e, 0x66, 0x6c, 0x75, 0x78, 0x2e,
|
|
|
|
0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x1a, 0x11, 0x2e, 0x6d, 0x61, 0x69, 0x6e, 0x66, 0x6c, 0x75, 0x78,
|
|
|
|
0x2e, 0x54, 0x68, 0x69, 0x6e, 0x67, 0x49, 0x44, 0x22, 0x00, 0x32, 0xf5, 0x03, 0x0a, 0x0b, 0x41,
|
|
|
|
0x75, 0x74, 0x68, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x2e, 0x0a, 0x05, 0x49, 0x73,
|
|
|
|
0x73, 0x75, 0x65, 0x12, 0x12, 0x2e, 0x6d, 0x61, 0x69, 0x6e, 0x66, 0x6c, 0x75, 0x78, 0x2e, 0x49,
|
|
|
|
0x73, 0x73, 0x75, 0x65, 0x52, 0x65, 0x71, 0x1a, 0x0f, 0x2e, 0x6d, 0x61, 0x69, 0x6e, 0x66, 0x6c,
|
|
|
|
0x75, 0x78, 0x2e, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x22, 0x00, 0x12, 0x35, 0x0a, 0x08, 0x49, 0x64,
|
|
|
|
0x65, 0x6e, 0x74, 0x69, 0x66, 0x79, 0x12, 0x0f, 0x2e, 0x6d, 0x61, 0x69, 0x6e, 0x66, 0x6c, 0x75,
|
|
|
|
0x78, 0x2e, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x1a, 0x16, 0x2e, 0x6d, 0x61, 0x69, 0x6e, 0x66, 0x6c,
|
|
|
|
0x75, 0x78, 0x2e, 0x55, 0x73, 0x65, 0x72, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x22,
|
|
|
|
0x00, 0x12, 0x3d, 0x0a, 0x09, 0x41, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x65, 0x12, 0x16,
|
|
|
|
0x2e, 0x6d, 0x61, 0x69, 0x6e, 0x66, 0x6c, 0x75, 0x78, 0x2e, 0x41, 0x75, 0x74, 0x68, 0x6f, 0x72,
|
|
|
|
0x69, 0x7a, 0x65, 0x52, 0x65, 0x71, 0x1a, 0x16, 0x2e, 0x6d, 0x61, 0x69, 0x6e, 0x66, 0x6c, 0x75,
|
|
|
|
0x78, 0x2e, 0x41, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x65, 0x52, 0x65, 0x73, 0x22, 0x00,
|
|
|
|
0x12, 0x3d, 0x0a, 0x09, 0x41, 0x64, 0x64, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x12, 0x16, 0x2e,
|
|
|
|
0x6d, 0x61, 0x69, 0x6e, 0x66, 0x6c, 0x75, 0x78, 0x2e, 0x41, 0x64, 0x64, 0x50, 0x6f, 0x6c, 0x69,
|
|
|
|
0x63, 0x79, 0x52, 0x65, 0x71, 0x1a, 0x16, 0x2e, 0x6d, 0x61, 0x69, 0x6e, 0x66, 0x6c, 0x75, 0x78,
|
|
|
|
0x2e, 0x41, 0x64, 0x64, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x52, 0x65, 0x73, 0x22, 0x00, 0x12,
|
|
|
|
0x46, 0x0a, 0x0c, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x12,
|
|
|
|
0x19, 0x2e, 0x6d, 0x61, 0x69, 0x6e, 0x66, 0x6c, 0x75, 0x78, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74,
|
|
|
|
0x65, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x52, 0x65, 0x71, 0x1a, 0x19, 0x2e, 0x6d, 0x61, 0x69,
|
|
|
|
0x6e, 0x66, 0x6c, 0x75, 0x78, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x50, 0x6f, 0x6c, 0x69,
|
|
|
|
0x63, 0x79, 0x52, 0x65, 0x73, 0x22, 0x00, 0x12, 0x46, 0x0a, 0x0c, 0x4c, 0x69, 0x73, 0x74, 0x50,
|
|
|
|
0x6f, 0x6c, 0x69, 0x63, 0x69, 0x65, 0x73, 0x12, 0x19, 0x2e, 0x6d, 0x61, 0x69, 0x6e, 0x66, 0x6c,
|
|
|
|
0x75, 0x78, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x69, 0x65, 0x73, 0x52,
|
|
|
|
0x65, 0x71, 0x1a, 0x19, 0x2e, 0x6d, 0x61, 0x69, 0x6e, 0x66, 0x6c, 0x75, 0x78, 0x2e, 0x4c, 0x69,
|
|
|
|
0x73, 0x74, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x69, 0x65, 0x73, 0x52, 0x65, 0x73, 0x22, 0x00, 0x12,
|
|
|
|
0x38, 0x0a, 0x06, 0x41, 0x73, 0x73, 0x69, 0x67, 0x6e, 0x12, 0x14, 0x2e, 0x6d, 0x61, 0x69, 0x6e,
|
|
|
|
0x66, 0x6c, 0x75, 0x78, 0x2e, 0x41, 0x73, 0x73, 0x69, 0x67, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x1a,
|
|
|
|
0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75,
|
|
|
|
0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x22, 0x00, 0x12, 0x37, 0x0a, 0x07, 0x4d, 0x65, 0x6d,
|
|
|
|
0x62, 0x65, 0x72, 0x73, 0x12, 0x14, 0x2e, 0x6d, 0x61, 0x69, 0x6e, 0x66, 0x6c, 0x75, 0x78, 0x2e,
|
|
|
|
0x4d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x73, 0x52, 0x65, 0x71, 0x1a, 0x14, 0x2e, 0x6d, 0x61, 0x69,
|
|
|
|
0x6e, 0x66, 0x6c, 0x75, 0x78, 0x2e, 0x4d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x73, 0x52, 0x65, 0x73,
|
|
|
|
0x22, 0x00, 0x42, 0x0c, 0x5a, 0x0a, 0x2e, 0x2f, 0x6d, 0x61, 0x69, 0x6e, 0x66, 0x6c, 0x75, 0x78,
|
|
|
|
0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
|
2020-12-29 23:02:35 +01:00
|
|
|
}
|
|
|
|
|
2023-02-02 20:28:32 +03:00
|
|
|
var (
|
|
|
|
file_auth_proto_rawDescOnce sync.Once
|
|
|
|
file_auth_proto_rawDescData = file_auth_proto_rawDesc
|
|
|
|
)
|
2020-12-29 23:02:35 +01:00
|
|
|
|
2023-02-02 20:28:32 +03:00
|
|
|
func file_auth_proto_rawDescGZIP() []byte {
|
|
|
|
file_auth_proto_rawDescOnce.Do(func() {
|
|
|
|
file_auth_proto_rawDescData = protoimpl.X.CompressGZIP(file_auth_proto_rawDescData)
|
|
|
|
})
|
|
|
|
return file_auth_proto_rawDescData
|
|
|
|
}
|
|
|
|
|
|
|
|
var file_auth_proto_msgTypes = make([]protoimpl.MessageInfo, 19)
|
|
|
|
var file_auth_proto_goTypes = []interface{}{
|
|
|
|
(*AccessByKeyReq)(nil), // 0: mainflux.AccessByKeyReq
|
|
|
|
(*ChannelOwnerReq)(nil), // 1: mainflux.ChannelOwnerReq
|
|
|
|
(*ThingID)(nil), // 2: mainflux.ThingID
|
|
|
|
(*ChannelID)(nil), // 3: mainflux.ChannelID
|
|
|
|
(*AccessByIDReq)(nil), // 4: mainflux.AccessByIDReq
|
|
|
|
(*Token)(nil), // 5: mainflux.Token
|
|
|
|
(*UserIdentity)(nil), // 6: mainflux.UserIdentity
|
|
|
|
(*IssueReq)(nil), // 7: mainflux.IssueReq
|
|
|
|
(*AuthorizeReq)(nil), // 8: mainflux.AuthorizeReq
|
|
|
|
(*AuthorizeRes)(nil), // 9: mainflux.AuthorizeRes
|
|
|
|
(*AddPolicyReq)(nil), // 10: mainflux.AddPolicyReq
|
|
|
|
(*AddPolicyRes)(nil), // 11: mainflux.AddPolicyRes
|
|
|
|
(*DeletePolicyReq)(nil), // 12: mainflux.DeletePolicyReq
|
|
|
|
(*DeletePolicyRes)(nil), // 13: mainflux.DeletePolicyRes
|
|
|
|
(*ListPoliciesReq)(nil), // 14: mainflux.ListPoliciesReq
|
|
|
|
(*ListPoliciesRes)(nil), // 15: mainflux.ListPoliciesRes
|
|
|
|
(*Assignment)(nil), // 16: mainflux.Assignment
|
|
|
|
(*MembersReq)(nil), // 17: mainflux.MembersReq
|
|
|
|
(*MembersRes)(nil), // 18: mainflux.MembersRes
|
|
|
|
(*emptypb.Empty)(nil), // 19: google.protobuf.Empty
|
|
|
|
}
|
|
|
|
var file_auth_proto_depIdxs = []int32{
|
|
|
|
0, // 0: mainflux.ThingsService.CanAccessByKey:input_type -> mainflux.AccessByKeyReq
|
|
|
|
1, // 1: mainflux.ThingsService.IsChannelOwner:input_type -> mainflux.ChannelOwnerReq
|
|
|
|
4, // 2: mainflux.ThingsService.CanAccessByID:input_type -> mainflux.AccessByIDReq
|
|
|
|
5, // 3: mainflux.ThingsService.Identify:input_type -> mainflux.Token
|
|
|
|
7, // 4: mainflux.AuthService.Issue:input_type -> mainflux.IssueReq
|
|
|
|
5, // 5: mainflux.AuthService.Identify:input_type -> mainflux.Token
|
|
|
|
8, // 6: mainflux.AuthService.Authorize:input_type -> mainflux.AuthorizeReq
|
|
|
|
10, // 7: mainflux.AuthService.AddPolicy:input_type -> mainflux.AddPolicyReq
|
|
|
|
12, // 8: mainflux.AuthService.DeletePolicy:input_type -> mainflux.DeletePolicyReq
|
|
|
|
14, // 9: mainflux.AuthService.ListPolicies:input_type -> mainflux.ListPoliciesReq
|
|
|
|
16, // 10: mainflux.AuthService.Assign:input_type -> mainflux.Assignment
|
|
|
|
17, // 11: mainflux.AuthService.Members:input_type -> mainflux.MembersReq
|
|
|
|
2, // 12: mainflux.ThingsService.CanAccessByKey:output_type -> mainflux.ThingID
|
|
|
|
19, // 13: mainflux.ThingsService.IsChannelOwner:output_type -> google.protobuf.Empty
|
|
|
|
19, // 14: mainflux.ThingsService.CanAccessByID:output_type -> google.protobuf.Empty
|
|
|
|
2, // 15: mainflux.ThingsService.Identify:output_type -> mainflux.ThingID
|
|
|
|
5, // 16: mainflux.AuthService.Issue:output_type -> mainflux.Token
|
|
|
|
6, // 17: mainflux.AuthService.Identify:output_type -> mainflux.UserIdentity
|
|
|
|
9, // 18: mainflux.AuthService.Authorize:output_type -> mainflux.AuthorizeRes
|
|
|
|
11, // 19: mainflux.AuthService.AddPolicy:output_type -> mainflux.AddPolicyRes
|
|
|
|
13, // 20: mainflux.AuthService.DeletePolicy:output_type -> mainflux.DeletePolicyRes
|
|
|
|
15, // 21: mainflux.AuthService.ListPolicies:output_type -> mainflux.ListPoliciesRes
|
|
|
|
19, // 22: mainflux.AuthService.Assign:output_type -> google.protobuf.Empty
|
|
|
|
18, // 23: mainflux.AuthService.Members:output_type -> mainflux.MembersRes
|
|
|
|
12, // [12:24] is the sub-list for method output_type
|
|
|
|
0, // [0:12] is the sub-list for method input_type
|
|
|
|
0, // [0:0] is the sub-list for extension type_name
|
|
|
|
0, // [0:0] is the sub-list for extension extendee
|
|
|
|
0, // [0:0] is the sub-list for field type_name
|
|
|
|
}
|
|
|
|
|
|
|
|
func init() { file_auth_proto_init() }
|
|
|
|
func file_auth_proto_init() {
|
|
|
|
if File_auth_proto != nil {
|
|
|
|
return
|
|
|
|
}
|
|
|
|
if !protoimpl.UnsafeEnabled {
|
|
|
|
file_auth_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
|
|
|
|
switch v := v.(*AccessByKeyReq); i {
|
|
|
|
case 0:
|
|
|
|
return &v.state
|
|
|
|
case 1:
|
|
|
|
return &v.sizeCache
|
|
|
|
case 2:
|
|
|
|
return &v.unknownFields
|
|
|
|
default:
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
}
|
|
|
|
file_auth_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
|
|
|
|
switch v := v.(*ChannelOwnerReq); i {
|
|
|
|
case 0:
|
|
|
|
return &v.state
|
|
|
|
case 1:
|
|
|
|
return &v.sizeCache
|
|
|
|
case 2:
|
|
|
|
return &v.unknownFields
|
|
|
|
default:
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
}
|
|
|
|
file_auth_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
|
|
|
|
switch v := v.(*ThingID); i {
|
|
|
|
case 0:
|
|
|
|
return &v.state
|
|
|
|
case 1:
|
|
|
|
return &v.sizeCache
|
|
|
|
case 2:
|
|
|
|
return &v.unknownFields
|
|
|
|
default:
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
}
|
|
|
|
file_auth_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
|
|
|
|
switch v := v.(*ChannelID); i {
|
|
|
|
case 0:
|
|
|
|
return &v.state
|
|
|
|
case 1:
|
|
|
|
return &v.sizeCache
|
|
|
|
case 2:
|
|
|
|
return &v.unknownFields
|
|
|
|
default:
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
}
|
|
|
|
file_auth_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
|
|
|
|
switch v := v.(*AccessByIDReq); i {
|
|
|
|
case 0:
|
|
|
|
return &v.state
|
|
|
|
case 1:
|
|
|
|
return &v.sizeCache
|
|
|
|
case 2:
|
|
|
|
return &v.unknownFields
|
|
|
|
default:
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
}
|
|
|
|
file_auth_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
|
|
|
|
switch v := v.(*Token); i {
|
|
|
|
case 0:
|
|
|
|
return &v.state
|
|
|
|
case 1:
|
|
|
|
return &v.sizeCache
|
|
|
|
case 2:
|
|
|
|
return &v.unknownFields
|
|
|
|
default:
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
}
|
|
|
|
file_auth_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
|
|
|
|
switch v := v.(*UserIdentity); i {
|
|
|
|
case 0:
|
|
|
|
return &v.state
|
|
|
|
case 1:
|
|
|
|
return &v.sizeCache
|
|
|
|
case 2:
|
|
|
|
return &v.unknownFields
|
|
|
|
default:
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
}
|
|
|
|
file_auth_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} {
|
|
|
|
switch v := v.(*IssueReq); i {
|
|
|
|
case 0:
|
|
|
|
return &v.state
|
|
|
|
case 1:
|
|
|
|
return &v.sizeCache
|
|
|
|
case 2:
|
|
|
|
return &v.unknownFields
|
|
|
|
default:
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
}
|
|
|
|
file_auth_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} {
|
|
|
|
switch v := v.(*AuthorizeReq); i {
|
|
|
|
case 0:
|
|
|
|
return &v.state
|
|
|
|
case 1:
|
|
|
|
return &v.sizeCache
|
|
|
|
case 2:
|
|
|
|
return &v.unknownFields
|
|
|
|
default:
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
}
|
|
|
|
file_auth_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} {
|
|
|
|
switch v := v.(*AuthorizeRes); i {
|
|
|
|
case 0:
|
|
|
|
return &v.state
|
|
|
|
case 1:
|
|
|
|
return &v.sizeCache
|
|
|
|
case 2:
|
|
|
|
return &v.unknownFields
|
|
|
|
default:
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
}
|
|
|
|
file_auth_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} {
|
|
|
|
switch v := v.(*AddPolicyReq); i {
|
|
|
|
case 0:
|
|
|
|
return &v.state
|
|
|
|
case 1:
|
|
|
|
return &v.sizeCache
|
|
|
|
case 2:
|
|
|
|
return &v.unknownFields
|
|
|
|
default:
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
}
|
|
|
|
file_auth_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} {
|
|
|
|
switch v := v.(*AddPolicyRes); i {
|
|
|
|
case 0:
|
|
|
|
return &v.state
|
|
|
|
case 1:
|
|
|
|
return &v.sizeCache
|
|
|
|
case 2:
|
|
|
|
return &v.unknownFields
|
|
|
|
default:
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
}
|
|
|
|
file_auth_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} {
|
|
|
|
switch v := v.(*DeletePolicyReq); i {
|
|
|
|
case 0:
|
|
|
|
return &v.state
|
|
|
|
case 1:
|
|
|
|
return &v.sizeCache
|
|
|
|
case 2:
|
|
|
|
return &v.unknownFields
|
|
|
|
default:
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
}
|
|
|
|
file_auth_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} {
|
|
|
|
switch v := v.(*DeletePolicyRes); i {
|
|
|
|
case 0:
|
|
|
|
return &v.state
|
|
|
|
case 1:
|
|
|
|
return &v.sizeCache
|
|
|
|
case 2:
|
|
|
|
return &v.unknownFields
|
|
|
|
default:
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
}
|
|
|
|
file_auth_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} {
|
|
|
|
switch v := v.(*ListPoliciesReq); i {
|
|
|
|
case 0:
|
|
|
|
return &v.state
|
|
|
|
case 1:
|
|
|
|
return &v.sizeCache
|
|
|
|
case 2:
|
|
|
|
return &v.unknownFields
|
|
|
|
default:
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
}
|
|
|
|
file_auth_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} {
|
|
|
|
switch v := v.(*ListPoliciesRes); i {
|
|
|
|
case 0:
|
|
|
|
return &v.state
|
|
|
|
case 1:
|
|
|
|
return &v.sizeCache
|
|
|
|
case 2:
|
|
|
|
return &v.unknownFields
|
|
|
|
default:
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
}
|
|
|
|
file_auth_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} {
|
|
|
|
switch v := v.(*Assignment); i {
|
|
|
|
case 0:
|
|
|
|
return &v.state
|
|
|
|
case 1:
|
|
|
|
return &v.sizeCache
|
|
|
|
case 2:
|
|
|
|
return &v.unknownFields
|
|
|
|
default:
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
}
|
|
|
|
file_auth_proto_msgTypes[17].Exporter = func(v interface{}, i int) interface{} {
|
|
|
|
switch v := v.(*MembersReq); i {
|
|
|
|
case 0:
|
|
|
|
return &v.state
|
|
|
|
case 1:
|
|
|
|
return &v.sizeCache
|
|
|
|
case 2:
|
|
|
|
return &v.unknownFields
|
|
|
|
default:
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
}
|
|
|
|
file_auth_proto_msgTypes[18].Exporter = func(v interface{}, i int) interface{} {
|
|
|
|
switch v := v.(*MembersRes); 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_auth_proto_rawDesc,
|
|
|
|
NumEnums: 0,
|
|
|
|
NumMessages: 19,
|
|
|
|
NumExtensions: 0,
|
|
|
|
NumServices: 2,
|
2021-11-19 16:32:38 +03:00
|
|
|
},
|
2023-02-02 20:28:32 +03:00
|
|
|
GoTypes: file_auth_proto_goTypes,
|
|
|
|
DependencyIndexes: file_auth_proto_depIdxs,
|
|
|
|
MessageInfos: file_auth_proto_msgTypes,
|
|
|
|
}.Build()
|
|
|
|
File_auth_proto = out.File
|
|
|
|
file_auth_proto_rawDesc = nil
|
|
|
|
file_auth_proto_goTypes = nil
|
|
|
|
file_auth_proto_depIdxs = nil
|
2020-12-29 23:02:35 +01:00
|
|
|
}
|