2018-06-04 00:48:12 +00:00
|
|
|
// Code generated by protoc-gen-go. DO NOT EDIT.
|
2020-05-14 22:45:10 +00:00
|
|
|
// versions:
|
2022-09-19 20:45:44 +00:00
|
|
|
// protoc-gen-go v1.28.1
|
2022-10-26 23:49:44 +00:00
|
|
|
// protoc v3.21.7
|
2019-04-12 21:54:35 +00:00
|
|
|
// source: sdk/logical/identity.proto
|
2018-06-04 00:48:12 +00:00
|
|
|
|
2018-09-22 21:58:39 +00:00
|
|
|
package logical
|
2018-06-04 00:48:12 +00:00
|
|
|
|
2018-09-22 21:58:39 +00:00
|
|
|
import (
|
2020-05-14 22:45:10 +00:00
|
|
|
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
|
|
|
|
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
|
|
|
|
reflect "reflect"
|
|
|
|
sync "sync"
|
2018-09-22 21:58:39 +00:00
|
|
|
)
|
2018-06-04 00:48:12 +00:00
|
|
|
|
2020-05-14 22:45:10 +00: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)
|
|
|
|
)
|
2018-06-04 00:48:12 +00:00
|
|
|
|
|
|
|
type Entity struct {
|
2020-05-14 22:45:10 +00:00
|
|
|
state protoimpl.MessageState
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
|
2018-06-04 00:48:12 +00:00
|
|
|
// ID is the unique identifier for the entity
|
2021-09-30 01:25:15 +00:00
|
|
|
ID string `protobuf:"bytes,1,opt,name=ID,proto3" json:"ID,omitempty"`
|
2018-06-04 00:48:12 +00:00
|
|
|
// Name is the human-friendly unique identifier for the entity
|
2021-09-30 01:25:15 +00:00
|
|
|
Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
|
2018-06-04 00:48:12 +00:00
|
|
|
// Aliases contains thhe alias mappings for the given entity
|
2021-09-30 01:25:15 +00:00
|
|
|
Aliases []*Alias `protobuf:"bytes,3,rep,name=aliases,proto3" json:"aliases,omitempty"`
|
2018-07-23 16:45:06 +00:00
|
|
|
// Metadata represents the custom data tied to this entity
|
2021-09-30 01:25:15 +00:00
|
|
|
Metadata map[string]string `protobuf:"bytes,4,rep,name=metadata,proto3" json:"metadata,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
|
2019-05-28 21:31:50 +00:00
|
|
|
// Disabled is true if the entity is disabled.
|
2021-09-30 01:25:15 +00:00
|
|
|
Disabled bool `protobuf:"varint,5,opt,name=disabled,proto3" json:"disabled,omitempty"`
|
2020-01-06 18:16:52 +00:00
|
|
|
// NamespaceID is the identifier of the namespace to which this entity
|
|
|
|
// belongs to.
|
2021-09-30 01:25:15 +00:00
|
|
|
NamespaceID string `protobuf:"bytes,6,opt,name=namespace_id,json=namespaceID,proto3" json:"namespace_id,omitempty"`
|
2018-06-04 00:48:12 +00:00
|
|
|
}
|
|
|
|
|
2020-05-14 22:45:10 +00:00
|
|
|
func (x *Entity) Reset() {
|
|
|
|
*x = Entity{}
|
|
|
|
if protoimpl.UnsafeEnabled {
|
|
|
|
mi := &file_sdk_logical_identity_proto_msgTypes[0]
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
}
|
2018-06-04 00:48:12 +00:00
|
|
|
}
|
2018-09-22 21:58:39 +00:00
|
|
|
|
2020-05-14 22:45:10 +00:00
|
|
|
func (x *Entity) String() string {
|
|
|
|
return protoimpl.X.MessageStringOf(x)
|
2018-06-04 00:48:12 +00:00
|
|
|
}
|
2020-05-14 22:45:10 +00:00
|
|
|
|
|
|
|
func (*Entity) ProtoMessage() {}
|
|
|
|
|
|
|
|
func (x *Entity) ProtoReflect() protoreflect.Message {
|
|
|
|
mi := &file_sdk_logical_identity_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)
|
2018-06-04 00:48:12 +00:00
|
|
|
}
|
|
|
|
|
2020-05-14 22:45:10 +00:00
|
|
|
// Deprecated: Use Entity.ProtoReflect.Descriptor instead.
|
|
|
|
func (*Entity) Descriptor() ([]byte, []int) {
|
|
|
|
return file_sdk_logical_identity_proto_rawDescGZIP(), []int{0}
|
|
|
|
}
|
2018-06-04 00:48:12 +00:00
|
|
|
|
2020-05-14 22:45:10 +00:00
|
|
|
func (x *Entity) GetID() string {
|
|
|
|
if x != nil {
|
|
|
|
return x.ID
|
2018-06-04 00:48:12 +00:00
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
2020-05-14 22:45:10 +00:00
|
|
|
func (x *Entity) GetName() string {
|
|
|
|
if x != nil {
|
|
|
|
return x.Name
|
2018-06-04 00:48:12 +00:00
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
2020-05-14 22:45:10 +00:00
|
|
|
func (x *Entity) GetAliases() []*Alias {
|
|
|
|
if x != nil {
|
|
|
|
return x.Aliases
|
2018-06-04 00:48:12 +00:00
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
2020-05-14 22:45:10 +00:00
|
|
|
func (x *Entity) GetMetadata() map[string]string {
|
|
|
|
if x != nil {
|
|
|
|
return x.Metadata
|
2018-07-23 16:45:06 +00:00
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
2020-05-14 22:45:10 +00:00
|
|
|
func (x *Entity) GetDisabled() bool {
|
|
|
|
if x != nil {
|
|
|
|
return x.Disabled
|
2019-05-28 21:31:50 +00:00
|
|
|
}
|
|
|
|
return false
|
|
|
|
}
|
|
|
|
|
2020-05-14 22:45:10 +00:00
|
|
|
func (x *Entity) GetNamespaceID() string {
|
|
|
|
if x != nil {
|
|
|
|
return x.NamespaceID
|
2020-01-06 18:16:52 +00:00
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
2018-06-04 00:48:12 +00:00
|
|
|
type Alias struct {
|
2020-05-14 22:45:10 +00:00
|
|
|
state protoimpl.MessageState
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
|
2018-06-04 00:48:12 +00:00
|
|
|
// MountType is the backend mount's type to which this identity belongs
|
2021-09-30 01:25:15 +00:00
|
|
|
MountType string `protobuf:"bytes,1,opt,name=mount_type,json=mountType,proto3" json:"mount_type,omitempty"`
|
2018-06-04 00:48:12 +00:00
|
|
|
// MountAccessor is the identifier of the mount entry to which this
|
|
|
|
// identity belongs
|
2021-09-30 01:25:15 +00:00
|
|
|
MountAccessor string `protobuf:"bytes,2,opt,name=mount_accessor,json=mountAccessor,proto3" json:"mount_accessor,omitempty"`
|
2018-06-04 00:48:12 +00:00
|
|
|
// Name is the identifier of this identity in its authentication source
|
2021-09-30 01:25:15 +00:00
|
|
|
Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"`
|
2020-04-27 17:06:07 +00:00
|
|
|
// Metadata represents the custom data tied to this alias. Fields added
|
|
|
|
// to it should have a low rate of change (or no change) because each
|
|
|
|
// change incurs a storage write, so quickly-changing fields can have
|
|
|
|
// a significant performance impact at scale. See the SDK's
|
|
|
|
// "aliasmetadata" package for a helper that eases and standardizes
|
|
|
|
// using this safely.
|
2021-09-30 01:25:15 +00:00
|
|
|
Metadata map[string]string `protobuf:"bytes,4,rep,name=metadata,proto3" json:"metadata,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
|
2020-01-06 18:16:52 +00:00
|
|
|
// ID is the unique identifier for the alias
|
2021-09-30 01:25:15 +00:00
|
|
|
ID string `protobuf:"bytes,5,opt,name=ID,proto3" json:"ID,omitempty"`
|
2020-01-06 18:16:52 +00:00
|
|
|
// NamespaceID is the identifier of the namespace to which this alias
|
|
|
|
// belongs.
|
2021-09-30 01:25:15 +00:00
|
|
|
NamespaceID string `protobuf:"bytes,6,opt,name=namespace_id,json=namespaceID,proto3" json:"namespace_id,omitempty"`
|
2021-09-17 18:03:47 +00:00
|
|
|
// Custom Metadata represents the custom data tied to this alias
|
2021-09-30 01:25:15 +00:00
|
|
|
CustomMetadata map[string]string `protobuf:"bytes,7,rep,name=custom_metadata,json=customMetadata,proto3" json:"custom_metadata,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
|
2021-10-15 19:20:00 +00:00
|
|
|
// Local indicates if the alias only belongs to the cluster where it was
|
|
|
|
// created. If true, the alias will be stored in a location that are ignored
|
|
|
|
// by the performance replication subsystem.
|
|
|
|
Local bool `protobuf:"varint,8,opt,name=local,proto3" json:"local,omitempty"`
|
2018-06-04 00:48:12 +00:00
|
|
|
}
|
|
|
|
|
2020-05-14 22:45:10 +00:00
|
|
|
func (x *Alias) Reset() {
|
|
|
|
*x = Alias{}
|
|
|
|
if protoimpl.UnsafeEnabled {
|
|
|
|
mi := &file_sdk_logical_identity_proto_msgTypes[1]
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
}
|
2018-06-04 00:48:12 +00:00
|
|
|
}
|
2018-09-22 21:58:39 +00:00
|
|
|
|
2020-05-14 22:45:10 +00:00
|
|
|
func (x *Alias) String() string {
|
|
|
|
return protoimpl.X.MessageStringOf(x)
|
2018-06-04 00:48:12 +00:00
|
|
|
}
|
2020-05-14 22:45:10 +00:00
|
|
|
|
|
|
|
func (*Alias) ProtoMessage() {}
|
|
|
|
|
|
|
|
func (x *Alias) ProtoReflect() protoreflect.Message {
|
|
|
|
mi := &file_sdk_logical_identity_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)
|
2018-06-04 00:48:12 +00:00
|
|
|
}
|
|
|
|
|
2020-05-14 22:45:10 +00:00
|
|
|
// Deprecated: Use Alias.ProtoReflect.Descriptor instead.
|
|
|
|
func (*Alias) Descriptor() ([]byte, []int) {
|
|
|
|
return file_sdk_logical_identity_proto_rawDescGZIP(), []int{1}
|
|
|
|
}
|
2018-06-04 00:48:12 +00:00
|
|
|
|
2020-05-14 22:45:10 +00:00
|
|
|
func (x *Alias) GetMountType() string {
|
|
|
|
if x != nil {
|
|
|
|
return x.MountType
|
2018-06-04 00:48:12 +00:00
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
2020-05-14 22:45:10 +00:00
|
|
|
func (x *Alias) GetMountAccessor() string {
|
|
|
|
if x != nil {
|
|
|
|
return x.MountAccessor
|
2018-06-04 00:48:12 +00:00
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
2020-05-14 22:45:10 +00:00
|
|
|
func (x *Alias) GetName() string {
|
|
|
|
if x != nil {
|
|
|
|
return x.Name
|
2018-06-04 00:48:12 +00:00
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
2020-05-14 22:45:10 +00:00
|
|
|
func (x *Alias) GetMetadata() map[string]string {
|
|
|
|
if x != nil {
|
|
|
|
return x.Metadata
|
2018-07-23 16:45:06 +00:00
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
2020-05-14 22:45:10 +00:00
|
|
|
func (x *Alias) GetID() string {
|
|
|
|
if x != nil {
|
|
|
|
return x.ID
|
2020-01-06 18:16:52 +00:00
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
2020-05-14 22:45:10 +00:00
|
|
|
func (x *Alias) GetNamespaceID() string {
|
|
|
|
if x != nil {
|
|
|
|
return x.NamespaceID
|
2020-01-06 18:16:52 +00:00
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
2021-09-17 18:03:47 +00:00
|
|
|
func (x *Alias) GetCustomMetadata() map[string]string {
|
|
|
|
if x != nil {
|
|
|
|
return x.CustomMetadata
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
2021-10-15 19:20:00 +00:00
|
|
|
func (x *Alias) GetLocal() bool {
|
|
|
|
if x != nil {
|
|
|
|
return x.Local
|
|
|
|
}
|
|
|
|
return false
|
|
|
|
}
|
|
|
|
|
2020-01-06 18:16:52 +00:00
|
|
|
type Group struct {
|
2020-05-14 22:45:10 +00:00
|
|
|
state protoimpl.MessageState
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
|
2020-01-06 18:16:52 +00:00
|
|
|
// ID is the unique identifier for the group
|
2021-09-30 01:25:15 +00:00
|
|
|
ID string `protobuf:"bytes,1,opt,name=ID,proto3" json:"ID,omitempty"`
|
2020-01-06 18:16:52 +00:00
|
|
|
// Name is the human-friendly unique identifier for the group
|
2021-09-30 01:25:15 +00:00
|
|
|
Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
|
2020-01-06 18:16:52 +00:00
|
|
|
// Metadata represents the custom data tied to this group
|
2021-09-30 01:25:15 +00:00
|
|
|
Metadata map[string]string `protobuf:"bytes,3,rep,name=metadata,proto3" json:"metadata,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
|
2020-01-06 18:16:52 +00:00
|
|
|
// NamespaceID is the identifier of the namespace to which this group
|
|
|
|
// belongs to.
|
2021-09-30 01:25:15 +00:00
|
|
|
NamespaceID string `protobuf:"bytes,4,opt,name=namespace_id,json=namespaceID,proto3" json:"namespace_id,omitempty"`
|
2020-01-06 18:16:52 +00:00
|
|
|
}
|
|
|
|
|
2020-05-14 22:45:10 +00:00
|
|
|
func (x *Group) Reset() {
|
|
|
|
*x = Group{}
|
|
|
|
if protoimpl.UnsafeEnabled {
|
|
|
|
mi := &file_sdk_logical_identity_proto_msgTypes[2]
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
}
|
2020-01-06 18:16:52 +00:00
|
|
|
}
|
|
|
|
|
2020-05-14 22:45:10 +00:00
|
|
|
func (x *Group) String() string {
|
|
|
|
return protoimpl.X.MessageStringOf(x)
|
2020-01-06 18:16:52 +00:00
|
|
|
}
|
2020-05-14 22:45:10 +00:00
|
|
|
|
|
|
|
func (*Group) ProtoMessage() {}
|
|
|
|
|
|
|
|
func (x *Group) ProtoReflect() protoreflect.Message {
|
|
|
|
mi := &file_sdk_logical_identity_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-01-06 18:16:52 +00:00
|
|
|
}
|
|
|
|
|
2020-05-14 22:45:10 +00:00
|
|
|
// Deprecated: Use Group.ProtoReflect.Descriptor instead.
|
|
|
|
func (*Group) Descriptor() ([]byte, []int) {
|
|
|
|
return file_sdk_logical_identity_proto_rawDescGZIP(), []int{2}
|
|
|
|
}
|
2020-01-06 18:16:52 +00:00
|
|
|
|
2020-05-14 22:45:10 +00:00
|
|
|
func (x *Group) GetID() string {
|
|
|
|
if x != nil {
|
|
|
|
return x.ID
|
2020-01-06 18:16:52 +00:00
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
2020-05-14 22:45:10 +00:00
|
|
|
func (x *Group) GetName() string {
|
|
|
|
if x != nil {
|
|
|
|
return x.Name
|
2020-01-06 18:16:52 +00:00
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
2020-05-14 22:45:10 +00:00
|
|
|
func (x *Group) GetMetadata() map[string]string {
|
|
|
|
if x != nil {
|
|
|
|
return x.Metadata
|
2020-01-06 18:16:52 +00:00
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
2020-05-14 22:45:10 +00:00
|
|
|
func (x *Group) GetNamespaceID() string {
|
|
|
|
if x != nil {
|
|
|
|
return x.NamespaceID
|
2020-01-06 18:16:52 +00:00
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
2022-02-17 21:08:51 +00:00
|
|
|
type MFAMethodID struct {
|
|
|
|
state protoimpl.MessageState
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
|
|
|
|
Type string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"`
|
|
|
|
ID string `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"`
|
|
|
|
UsesPasscode bool `protobuf:"varint,3,opt,name=uses_passcode,json=usesPasscode,proto3" json:"uses_passcode,omitempty"`
|
|
|
|
}
|
|
|
|
|
|
|
|
func (x *MFAMethodID) Reset() {
|
|
|
|
*x = MFAMethodID{}
|
|
|
|
if protoimpl.UnsafeEnabled {
|
|
|
|
mi := &file_sdk_logical_identity_proto_msgTypes[3]
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
func (x *MFAMethodID) String() string {
|
|
|
|
return protoimpl.X.MessageStringOf(x)
|
|
|
|
}
|
|
|
|
|
|
|
|
func (*MFAMethodID) ProtoMessage() {}
|
|
|
|
|
|
|
|
func (x *MFAMethodID) ProtoReflect() protoreflect.Message {
|
|
|
|
mi := &file_sdk_logical_identity_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 MFAMethodID.ProtoReflect.Descriptor instead.
|
|
|
|
func (*MFAMethodID) Descriptor() ([]byte, []int) {
|
|
|
|
return file_sdk_logical_identity_proto_rawDescGZIP(), []int{3}
|
|
|
|
}
|
|
|
|
|
|
|
|
func (x *MFAMethodID) GetType() string {
|
|
|
|
if x != nil {
|
|
|
|
return x.Type
|
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
|
|
|
func (x *MFAMethodID) GetID() string {
|
|
|
|
if x != nil {
|
|
|
|
return x.ID
|
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
|
|
|
func (x *MFAMethodID) GetUsesPasscode() bool {
|
|
|
|
if x != nil {
|
|
|
|
return x.UsesPasscode
|
|
|
|
}
|
|
|
|
return false
|
|
|
|
}
|
|
|
|
|
|
|
|
type MFAConstraintAny struct {
|
|
|
|
state protoimpl.MessageState
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
|
|
|
|
Any []*MFAMethodID `protobuf:"bytes,1,rep,name=any,proto3" json:"any,omitempty"`
|
|
|
|
}
|
|
|
|
|
|
|
|
func (x *MFAConstraintAny) Reset() {
|
|
|
|
*x = MFAConstraintAny{}
|
|
|
|
if protoimpl.UnsafeEnabled {
|
|
|
|
mi := &file_sdk_logical_identity_proto_msgTypes[4]
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
func (x *MFAConstraintAny) String() string {
|
|
|
|
return protoimpl.X.MessageStringOf(x)
|
|
|
|
}
|
|
|
|
|
|
|
|
func (*MFAConstraintAny) ProtoMessage() {}
|
|
|
|
|
|
|
|
func (x *MFAConstraintAny) ProtoReflect() protoreflect.Message {
|
|
|
|
mi := &file_sdk_logical_identity_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)
|
|
|
|
}
|
|
|
|
|
|
|
|
// Deprecated: Use MFAConstraintAny.ProtoReflect.Descriptor instead.
|
|
|
|
func (*MFAConstraintAny) Descriptor() ([]byte, []int) {
|
|
|
|
return file_sdk_logical_identity_proto_rawDescGZIP(), []int{4}
|
|
|
|
}
|
|
|
|
|
|
|
|
func (x *MFAConstraintAny) GetAny() []*MFAMethodID {
|
|
|
|
if x != nil {
|
|
|
|
return x.Any
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
|
|
|
type MFARequirement struct {
|
|
|
|
state protoimpl.MessageState
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
|
|
|
|
MFARequestID string `protobuf:"bytes,1,opt,name=mfa_request_id,json=mfaRequestId,proto3" json:"mfa_request_id,omitempty"`
|
|
|
|
MFAConstraints map[string]*MFAConstraintAny `protobuf:"bytes,2,rep,name=mfa_constraints,json=mfaConstraints,proto3" json:"mfa_constraints,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
|
|
|
|
}
|
|
|
|
|
|
|
|
func (x *MFARequirement) Reset() {
|
|
|
|
*x = MFARequirement{}
|
|
|
|
if protoimpl.UnsafeEnabled {
|
|
|
|
mi := &file_sdk_logical_identity_proto_msgTypes[5]
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
func (x *MFARequirement) String() string {
|
|
|
|
return protoimpl.X.MessageStringOf(x)
|
|
|
|
}
|
|
|
|
|
|
|
|
func (*MFARequirement) ProtoMessage() {}
|
|
|
|
|
|
|
|
func (x *MFARequirement) ProtoReflect() protoreflect.Message {
|
|
|
|
mi := &file_sdk_logical_identity_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)
|
|
|
|
}
|
|
|
|
|
|
|
|
// Deprecated: Use MFARequirement.ProtoReflect.Descriptor instead.
|
|
|
|
func (*MFARequirement) Descriptor() ([]byte, []int) {
|
|
|
|
return file_sdk_logical_identity_proto_rawDescGZIP(), []int{5}
|
|
|
|
}
|
|
|
|
|
|
|
|
func (x *MFARequirement) GetMFARequestID() string {
|
|
|
|
if x != nil {
|
|
|
|
return x.MFARequestID
|
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
|
|
|
func (x *MFARequirement) GetMFAConstraints() map[string]*MFAConstraintAny {
|
|
|
|
if x != nil {
|
|
|
|
return x.MFAConstraints
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
2020-05-14 22:45:10 +00:00
|
|
|
var File_sdk_logical_identity_proto protoreflect.FileDescriptor
|
|
|
|
|
|
|
|
var file_sdk_logical_identity_proto_rawDesc = []byte{
|
|
|
|
0x0a, 0x1a, 0x73, 0x64, 0x6b, 0x2f, 0x6c, 0x6f, 0x67, 0x69, 0x63, 0x61, 0x6c, 0x2f, 0x69, 0x64,
|
|
|
|
0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x07, 0x6c, 0x6f,
|
|
|
|
0x67, 0x69, 0x63, 0x61, 0x6c, 0x22, 0x8d, 0x02, 0x0a, 0x06, 0x45, 0x6e, 0x74, 0x69, 0x74, 0x79,
|
|
|
|
0x12, 0x0e, 0x0a, 0x02, 0x49, 0x44, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x49, 0x44,
|
|
|
|
0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04,
|
|
|
|
0x6e, 0x61, 0x6d, 0x65, 0x12, 0x28, 0x0a, 0x07, 0x61, 0x6c, 0x69, 0x61, 0x73, 0x65, 0x73, 0x18,
|
|
|
|
0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0e, 0x2e, 0x6c, 0x6f, 0x67, 0x69, 0x63, 0x61, 0x6c, 0x2e,
|
|
|
|
0x41, 0x6c, 0x69, 0x61, 0x73, 0x52, 0x07, 0x61, 0x6c, 0x69, 0x61, 0x73, 0x65, 0x73, 0x12, 0x39,
|
|
|
|
0x0a, 0x08, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b,
|
|
|
|
0x32, 0x1d, 0x2e, 0x6c, 0x6f, 0x67, 0x69, 0x63, 0x61, 0x6c, 0x2e, 0x45, 0x6e, 0x74, 0x69, 0x74,
|
|
|
|
0x79, 0x2e, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52,
|
|
|
|
0x08, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x12, 0x1a, 0x0a, 0x08, 0x64, 0x69, 0x73,
|
|
|
|
0x61, 0x62, 0x6c, 0x65, 0x64, 0x18, 0x05, 0x20, 0x01, 0x28, 0x08, 0x52, 0x08, 0x64, 0x69, 0x73,
|
|
|
|
0x61, 0x62, 0x6c, 0x65, 0x64, 0x12, 0x21, 0x0a, 0x0c, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61,
|
|
|
|
0x63, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x6e, 0x61, 0x6d,
|
|
|
|
0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x49, 0x64, 0x1a, 0x3b, 0x0a, 0x0d, 0x4d, 0x65, 0x74, 0x61,
|
|
|
|
0x64, 0x61, 0x74, 0x61, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79,
|
|
|
|
0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76,
|
|
|
|
0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75,
|
2021-10-15 19:20:00 +00:00
|
|
|
0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0xb1, 0x03, 0x0a, 0x05, 0x41, 0x6c, 0x69, 0x61, 0x73, 0x12,
|
2020-05-14 22:45:10 +00:00
|
|
|
0x1d, 0x0a, 0x0a, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20,
|
|
|
|
0x01, 0x28, 0x09, 0x52, 0x09, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x54, 0x79, 0x70, 0x65, 0x12, 0x25,
|
|
|
|
0x0a, 0x0e, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x5f, 0x61, 0x63, 0x63, 0x65, 0x73, 0x73, 0x6f, 0x72,
|
|
|
|
0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x41, 0x63, 0x63,
|
|
|
|
0x65, 0x73, 0x73, 0x6f, 0x72, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x03, 0x20,
|
|
|
|
0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x38, 0x0a, 0x08, 0x6d, 0x65, 0x74,
|
|
|
|
0x61, 0x64, 0x61, 0x74, 0x61, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x6c, 0x6f,
|
|
|
|
0x67, 0x69, 0x63, 0x61, 0x6c, 0x2e, 0x41, 0x6c, 0x69, 0x61, 0x73, 0x2e, 0x4d, 0x65, 0x74, 0x61,
|
|
|
|
0x64, 0x61, 0x74, 0x61, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x08, 0x6d, 0x65, 0x74, 0x61, 0x64,
|
|
|
|
0x61, 0x74, 0x61, 0x12, 0x0e, 0x0a, 0x02, 0x49, 0x44, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52,
|
|
|
|
0x02, 0x49, 0x44, 0x12, 0x21, 0x0a, 0x0c, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65,
|
|
|
|
0x5f, 0x69, 0x64, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x6e, 0x61, 0x6d, 0x65, 0x73,
|
2021-09-17 18:03:47 +00:00
|
|
|
0x70, 0x61, 0x63, 0x65, 0x49, 0x64, 0x12, 0x4b, 0x0a, 0x0f, 0x63, 0x75, 0x73, 0x74, 0x6f, 0x6d,
|
|
|
|
0x5f, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x18, 0x07, 0x20, 0x03, 0x28, 0x0b, 0x32,
|
|
|
|
0x22, 0x2e, 0x6c, 0x6f, 0x67, 0x69, 0x63, 0x61, 0x6c, 0x2e, 0x41, 0x6c, 0x69, 0x61, 0x73, 0x2e,
|
|
|
|
0x43, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x45, 0x6e,
|
|
|
|
0x74, 0x72, 0x79, 0x52, 0x0e, 0x63, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x4d, 0x65, 0x74, 0x61, 0x64,
|
2021-10-15 19:20:00 +00:00
|
|
|
0x61, 0x74, 0x61, 0x12, 0x14, 0x0a, 0x05, 0x6c, 0x6f, 0x63, 0x61, 0x6c, 0x18, 0x08, 0x20, 0x01,
|
|
|
|
0x28, 0x08, 0x52, 0x05, 0x6c, 0x6f, 0x63, 0x61, 0x6c, 0x1a, 0x3b, 0x0a, 0x0d, 0x4d, 0x65, 0x74,
|
|
|
|
0x61, 0x64, 0x61, 0x74, 0x61, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65,
|
|
|
|
0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05,
|
|
|
|
0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c,
|
|
|
|
0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x1a, 0x41, 0x0a, 0x13, 0x43, 0x75, 0x73, 0x74, 0x6f, 0x6d,
|
|
|
|
0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a,
|
|
|
|
0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12,
|
|
|
|
0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05,
|
|
|
|
0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0xc5, 0x01, 0x0a, 0x05, 0x47, 0x72,
|
|
|
|
0x6f, 0x75, 0x70, 0x12, 0x0e, 0x0a, 0x02, 0x49, 0x44, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52,
|
|
|
|
0x02, 0x49, 0x44, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28,
|
|
|
|
0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x38, 0x0a, 0x08, 0x6d, 0x65, 0x74, 0x61, 0x64,
|
|
|
|
0x61, 0x74, 0x61, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x6c, 0x6f, 0x67, 0x69,
|
|
|
|
0x63, 0x61, 0x6c, 0x2e, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x2e, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61,
|
|
|
|
0x74, 0x61, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x08, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74,
|
|
|
|
0x61, 0x12, 0x21, 0x0a, 0x0c, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x5f, 0x69,
|
|
|
|
0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61,
|
|
|
|
0x63, 0x65, 0x49, 0x64, 0x1a, 0x3b, 0x0a, 0x0d, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61,
|
|
|
|
0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01,
|
|
|
|
0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65,
|
|
|
|
0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38,
|
2022-02-17 21:08:51 +00:00
|
|
|
0x01, 0x22, 0x56, 0x0a, 0x0b, 0x4d, 0x46, 0x41, 0x4d, 0x65, 0x74, 0x68, 0x6f, 0x64, 0x49, 0x44,
|
|
|
|
0x12, 0x12, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04,
|
|
|
|
0x74, 0x79, 0x70, 0x65, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09,
|
|
|
|
0x52, 0x02, 0x69, 0x64, 0x12, 0x23, 0x0a, 0x0d, 0x75, 0x73, 0x65, 0x73, 0x5f, 0x70, 0x61, 0x73,
|
|
|
|
0x73, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0c, 0x75, 0x73, 0x65,
|
|
|
|
0x73, 0x50, 0x61, 0x73, 0x73, 0x63, 0x6f, 0x64, 0x65, 0x22, 0x3a, 0x0a, 0x10, 0x4d, 0x46, 0x41,
|
|
|
|
0x43, 0x6f, 0x6e, 0x73, 0x74, 0x72, 0x61, 0x69, 0x6e, 0x74, 0x41, 0x6e, 0x79, 0x12, 0x26, 0x0a,
|
|
|
|
0x03, 0x61, 0x6e, 0x79, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x6c, 0x6f, 0x67,
|
|
|
|
0x69, 0x63, 0x61, 0x6c, 0x2e, 0x4d, 0x46, 0x41, 0x4d, 0x65, 0x74, 0x68, 0x6f, 0x64, 0x49, 0x44,
|
|
|
|
0x52, 0x03, 0x61, 0x6e, 0x79, 0x22, 0xea, 0x01, 0x0a, 0x0e, 0x4d, 0x46, 0x41, 0x52, 0x65, 0x71,
|
|
|
|
0x75, 0x69, 0x72, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x12, 0x24, 0x0a, 0x0e, 0x6d, 0x66, 0x61, 0x5f,
|
|
|
|
0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09,
|
|
|
|
0x52, 0x0c, 0x6d, 0x66, 0x61, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x49, 0x64, 0x12, 0x54,
|
|
|
|
0x0a, 0x0f, 0x6d, 0x66, 0x61, 0x5f, 0x63, 0x6f, 0x6e, 0x73, 0x74, 0x72, 0x61, 0x69, 0x6e, 0x74,
|
|
|
|
0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2b, 0x2e, 0x6c, 0x6f, 0x67, 0x69, 0x63, 0x61,
|
|
|
|
0x6c, 0x2e, 0x4d, 0x46, 0x41, 0x52, 0x65, 0x71, 0x75, 0x69, 0x72, 0x65, 0x6d, 0x65, 0x6e, 0x74,
|
|
|
|
0x2e, 0x4d, 0x66, 0x61, 0x43, 0x6f, 0x6e, 0x73, 0x74, 0x72, 0x61, 0x69, 0x6e, 0x74, 0x73, 0x45,
|
|
|
|
0x6e, 0x74, 0x72, 0x79, 0x52, 0x0e, 0x6d, 0x66, 0x61, 0x43, 0x6f, 0x6e, 0x73, 0x74, 0x72, 0x61,
|
|
|
|
0x69, 0x6e, 0x74, 0x73, 0x1a, 0x5c, 0x0a, 0x13, 0x4d, 0x66, 0x61, 0x43, 0x6f, 0x6e, 0x73, 0x74,
|
|
|
|
0x72, 0x61, 0x69, 0x6e, 0x74, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b,
|
|
|
|
0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x2f, 0x0a,
|
|
|
|
0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x6c,
|
|
|
|
0x6f, 0x67, 0x69, 0x63, 0x61, 0x6c, 0x2e, 0x4d, 0x46, 0x41, 0x43, 0x6f, 0x6e, 0x73, 0x74, 0x72,
|
|
|
|
0x61, 0x69, 0x6e, 0x74, 0x41, 0x6e, 0x79, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02,
|
|
|
|
0x38, 0x01, 0x42, 0x28, 0x5a, 0x26, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d,
|
|
|
|
0x2f, 0x68, 0x61, 0x73, 0x68, 0x69, 0x63, 0x6f, 0x72, 0x70, 0x2f, 0x76, 0x61, 0x75, 0x6c, 0x74,
|
|
|
|
0x2f, 0x73, 0x64, 0x6b, 0x2f, 0x6c, 0x6f, 0x67, 0x69, 0x63, 0x61, 0x6c, 0x62, 0x06, 0x70, 0x72,
|
|
|
|
0x6f, 0x74, 0x6f, 0x33,
|
2020-05-14 22:45:10 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
var (
|
|
|
|
file_sdk_logical_identity_proto_rawDescOnce sync.Once
|
|
|
|
file_sdk_logical_identity_proto_rawDescData = file_sdk_logical_identity_proto_rawDesc
|
|
|
|
)
|
|
|
|
|
|
|
|
func file_sdk_logical_identity_proto_rawDescGZIP() []byte {
|
|
|
|
file_sdk_logical_identity_proto_rawDescOnce.Do(func() {
|
|
|
|
file_sdk_logical_identity_proto_rawDescData = protoimpl.X.CompressGZIP(file_sdk_logical_identity_proto_rawDescData)
|
|
|
|
})
|
|
|
|
return file_sdk_logical_identity_proto_rawDescData
|
|
|
|
}
|
|
|
|
|
2022-02-17 21:08:51 +00:00
|
|
|
var file_sdk_logical_identity_proto_msgTypes = make([]protoimpl.MessageInfo, 11)
|
2020-05-14 22:45:10 +00:00
|
|
|
var file_sdk_logical_identity_proto_goTypes = []interface{}{
|
2022-02-17 21:08:51 +00:00
|
|
|
(*Entity)(nil), // 0: logical.Entity
|
|
|
|
(*Alias)(nil), // 1: logical.Alias
|
|
|
|
(*Group)(nil), // 2: logical.Group
|
|
|
|
(*MFAMethodID)(nil), // 3: logical.MFAMethodID
|
|
|
|
(*MFAConstraintAny)(nil), // 4: logical.MFAConstraintAny
|
|
|
|
(*MFARequirement)(nil), // 5: logical.MFARequirement
|
|
|
|
nil, // 6: logical.Entity.MetadataEntry
|
|
|
|
nil, // 7: logical.Alias.MetadataEntry
|
|
|
|
nil, // 8: logical.Alias.CustomMetadataEntry
|
|
|
|
nil, // 9: logical.Group.MetadataEntry
|
|
|
|
nil, // 10: logical.MFARequirement.MFAConstraintsEntry
|
2020-05-14 22:45:10 +00:00
|
|
|
}
|
|
|
|
var file_sdk_logical_identity_proto_depIDxs = []int32{
|
2022-02-17 21:08:51 +00:00
|
|
|
1, // 0: logical.Entity.aliases:type_name -> logical.Alias
|
|
|
|
6, // 1: logical.Entity.metadata:type_name -> logical.Entity.MetadataEntry
|
|
|
|
7, // 2: logical.Alias.metadata:type_name -> logical.Alias.MetadataEntry
|
|
|
|
8, // 3: logical.Alias.custom_metadata:type_name -> logical.Alias.CustomMetadataEntry
|
|
|
|
9, // 4: logical.Group.metadata:type_name -> logical.Group.MetadataEntry
|
|
|
|
3, // 5: logical.MFAConstraintAny.any:type_name -> logical.MFAMethodID
|
|
|
|
10, // 6: logical.MFARequirement.mfa_constraints:type_name -> logical.MFARequirement.MFAConstraintsEntry
|
|
|
|
4, // 7: logical.MFARequirement.MFAConstraintsEntry.value:type_name -> logical.MFAConstraintAny
|
|
|
|
8, // [8:8] is the sub-list for method output_type
|
|
|
|
8, // [8:8] is the sub-list for method input_type
|
|
|
|
8, // [8:8] is the sub-list for extension type_name
|
|
|
|
8, // [8:8] is the sub-list for extension extendee
|
|
|
|
0, // [0:8] is the sub-list for field type_name
|
2020-05-14 22:45:10 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
func init() { file_sdk_logical_identity_proto_init() }
|
|
|
|
func file_sdk_logical_identity_proto_init() {
|
|
|
|
if File_sdk_logical_identity_proto != nil {
|
|
|
|
return
|
|
|
|
}
|
|
|
|
if !protoimpl.UnsafeEnabled {
|
|
|
|
file_sdk_logical_identity_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
|
|
|
|
switch v := v.(*Entity); i {
|
|
|
|
case 0:
|
|
|
|
return &v.state
|
|
|
|
case 1:
|
|
|
|
return &v.sizeCache
|
|
|
|
case 2:
|
|
|
|
return &v.unknownFields
|
|
|
|
default:
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
}
|
|
|
|
file_sdk_logical_identity_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
|
|
|
|
switch v := v.(*Alias); i {
|
|
|
|
case 0:
|
|
|
|
return &v.state
|
|
|
|
case 1:
|
|
|
|
return &v.sizeCache
|
|
|
|
case 2:
|
|
|
|
return &v.unknownFields
|
|
|
|
default:
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
}
|
|
|
|
file_sdk_logical_identity_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
|
|
|
|
switch v := v.(*Group); i {
|
|
|
|
case 0:
|
|
|
|
return &v.state
|
|
|
|
case 1:
|
|
|
|
return &v.sizeCache
|
|
|
|
case 2:
|
|
|
|
return &v.unknownFields
|
|
|
|
default:
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
}
|
2022-02-17 21:08:51 +00:00
|
|
|
file_sdk_logical_identity_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
|
|
|
|
switch v := v.(*MFAMethodID); i {
|
|
|
|
case 0:
|
|
|
|
return &v.state
|
|
|
|
case 1:
|
|
|
|
return &v.sizeCache
|
|
|
|
case 2:
|
|
|
|
return &v.unknownFields
|
|
|
|
default:
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
}
|
|
|
|
file_sdk_logical_identity_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
|
|
|
|
switch v := v.(*MFAConstraintAny); i {
|
|
|
|
case 0:
|
|
|
|
return &v.state
|
|
|
|
case 1:
|
|
|
|
return &v.sizeCache
|
|
|
|
case 2:
|
|
|
|
return &v.unknownFields
|
|
|
|
default:
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
}
|
|
|
|
file_sdk_logical_identity_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
|
|
|
|
switch v := v.(*MFARequirement); i {
|
|
|
|
case 0:
|
|
|
|
return &v.state
|
|
|
|
case 1:
|
|
|
|
return &v.sizeCache
|
|
|
|
case 2:
|
|
|
|
return &v.unknownFields
|
|
|
|
default:
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
}
|
2020-05-14 22:45:10 +00:00
|
|
|
}
|
|
|
|
type x struct{}
|
|
|
|
out := protoimpl.TypeBuilder{
|
|
|
|
File: protoimpl.DescBuilder{
|
|
|
|
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
|
|
|
RawDescriptor: file_sdk_logical_identity_proto_rawDesc,
|
|
|
|
NumEnums: 0,
|
2022-02-17 21:08:51 +00:00
|
|
|
NumMessages: 11,
|
2020-05-14 22:45:10 +00:00
|
|
|
NumExtensions: 0,
|
|
|
|
NumServices: 0,
|
|
|
|
},
|
|
|
|
GoTypes: file_sdk_logical_identity_proto_goTypes,
|
|
|
|
DependencyIndexes: file_sdk_logical_identity_proto_depIDxs,
|
|
|
|
MessageInfos: file_sdk_logical_identity_proto_msgTypes,
|
|
|
|
}.Build()
|
|
|
|
File_sdk_logical_identity_proto = out.File
|
|
|
|
file_sdk_logical_identity_proto_rawDesc = nil
|
|
|
|
file_sdk_logical_identity_proto_goTypes = nil
|
|
|
|
file_sdk_logical_identity_proto_depIDxs = nil
|
2018-06-04 00:48:12 +00:00
|
|
|
}
|