chore: auto-generate protobuf files [skip ci]
This commit is contained in:
@@ -881,6 +881,398 @@ func (x *TerminateSessionResponse) GetMessage() string {
|
||||
return ""
|
||||
}
|
||||
|
||||
type SystemCreateAccountRequest struct {
|
||||
state protoimpl.MessageState `protogen:"open.v1"`
|
||||
Username string `protobuf:"bytes,1,opt,name=username,proto3" json:"username,omitempty"`
|
||||
PasswordHash string `protobuf:"bytes,2,opt,name=password_hash,json=passwordHash,proto3" json:"password_hash,omitempty"` // Хеш пароля генерирует Admin Service и передает сюда
|
||||
IsLdap bool `protobuf:"varint,3,opt,name=is_ldap,json=isLdap,proto3" json:"is_ldap,omitempty"`
|
||||
unknownFields protoimpl.UnknownFields
|
||||
sizeCache protoimpl.SizeCache
|
||||
}
|
||||
|
||||
func (x *SystemCreateAccountRequest) Reset() {
|
||||
*x = SystemCreateAccountRequest{}
|
||||
mi := &file_sso_auth_proto_msgTypes[15]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
|
||||
func (x *SystemCreateAccountRequest) String() string {
|
||||
return protoimpl.X.MessageStringOf(x)
|
||||
}
|
||||
|
||||
func (*SystemCreateAccountRequest) ProtoMessage() {}
|
||||
|
||||
func (x *SystemCreateAccountRequest) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_sso_auth_proto_msgTypes[15]
|
||||
if x != nil {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
return ms
|
||||
}
|
||||
return mi.MessageOf(x)
|
||||
}
|
||||
|
||||
// Deprecated: Use SystemCreateAccountRequest.ProtoReflect.Descriptor instead.
|
||||
func (*SystemCreateAccountRequest) Descriptor() ([]byte, []int) {
|
||||
return file_sso_auth_proto_rawDescGZIP(), []int{15}
|
||||
}
|
||||
|
||||
func (x *SystemCreateAccountRequest) GetUsername() string {
|
||||
if x != nil {
|
||||
return x.Username
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (x *SystemCreateAccountRequest) GetPasswordHash() string {
|
||||
if x != nil {
|
||||
return x.PasswordHash
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (x *SystemCreateAccountRequest) GetIsLdap() bool {
|
||||
if x != nil {
|
||||
return x.IsLdap
|
||||
}
|
||||
return false
|
||||
}
|
||||
|
||||
type SystemCreateAccountResponse struct {
|
||||
state protoimpl.MessageState `protogen:"open.v1"`
|
||||
AccountId string `protobuf:"bytes,1,opt,name=account_id,json=accountId,proto3" json:"account_id,omitempty"`
|
||||
unknownFields protoimpl.UnknownFields
|
||||
sizeCache protoimpl.SizeCache
|
||||
}
|
||||
|
||||
func (x *SystemCreateAccountResponse) Reset() {
|
||||
*x = SystemCreateAccountResponse{}
|
||||
mi := &file_sso_auth_proto_msgTypes[16]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
|
||||
func (x *SystemCreateAccountResponse) String() string {
|
||||
return protoimpl.X.MessageStringOf(x)
|
||||
}
|
||||
|
||||
func (*SystemCreateAccountResponse) ProtoMessage() {}
|
||||
|
||||
func (x *SystemCreateAccountResponse) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_sso_auth_proto_msgTypes[16]
|
||||
if x != nil {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
return ms
|
||||
}
|
||||
return mi.MessageOf(x)
|
||||
}
|
||||
|
||||
// Deprecated: Use SystemCreateAccountResponse.ProtoReflect.Descriptor instead.
|
||||
func (*SystemCreateAccountResponse) Descriptor() ([]byte, []int) {
|
||||
return file_sso_auth_proto_rawDescGZIP(), []int{16}
|
||||
}
|
||||
|
||||
func (x *SystemCreateAccountResponse) GetAccountId() string {
|
||||
if x != nil {
|
||||
return x.AccountId
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
type SystemChangeStatusRequest struct {
|
||||
state protoimpl.MessageState `protogen:"open.v1"`
|
||||
AccountId string `protobuf:"bytes,1,opt,name=account_id,json=accountId,proto3" json:"account_id,omitempty"`
|
||||
Status string `protobuf:"bytes,2,opt,name=status,proto3" json:"status,omitempty"` // 'ACTIVE', 'BLOCKED', 'DELETED'
|
||||
unknownFields protoimpl.UnknownFields
|
||||
sizeCache protoimpl.SizeCache
|
||||
}
|
||||
|
||||
func (x *SystemChangeStatusRequest) Reset() {
|
||||
*x = SystemChangeStatusRequest{}
|
||||
mi := &file_sso_auth_proto_msgTypes[17]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
|
||||
func (x *SystemChangeStatusRequest) String() string {
|
||||
return protoimpl.X.MessageStringOf(x)
|
||||
}
|
||||
|
||||
func (*SystemChangeStatusRequest) ProtoMessage() {}
|
||||
|
||||
func (x *SystemChangeStatusRequest) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_sso_auth_proto_msgTypes[17]
|
||||
if x != nil {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
return ms
|
||||
}
|
||||
return mi.MessageOf(x)
|
||||
}
|
||||
|
||||
// Deprecated: Use SystemChangeStatusRequest.ProtoReflect.Descriptor instead.
|
||||
func (*SystemChangeStatusRequest) Descriptor() ([]byte, []int) {
|
||||
return file_sso_auth_proto_rawDescGZIP(), []int{17}
|
||||
}
|
||||
|
||||
func (x *SystemChangeStatusRequest) GetAccountId() string {
|
||||
if x != nil {
|
||||
return x.AccountId
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (x *SystemChangeStatusRequest) GetStatus() string {
|
||||
if x != nil {
|
||||
return x.Status
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
type SystemChangeStatusResponse struct {
|
||||
state protoimpl.MessageState `protogen:"open.v1"`
|
||||
Success bool `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"`
|
||||
unknownFields protoimpl.UnknownFields
|
||||
sizeCache protoimpl.SizeCache
|
||||
}
|
||||
|
||||
func (x *SystemChangeStatusResponse) Reset() {
|
||||
*x = SystemChangeStatusResponse{}
|
||||
mi := &file_sso_auth_proto_msgTypes[18]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
|
||||
func (x *SystemChangeStatusResponse) String() string {
|
||||
return protoimpl.X.MessageStringOf(x)
|
||||
}
|
||||
|
||||
func (*SystemChangeStatusResponse) ProtoMessage() {}
|
||||
|
||||
func (x *SystemChangeStatusResponse) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_sso_auth_proto_msgTypes[18]
|
||||
if x != nil {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
return ms
|
||||
}
|
||||
return mi.MessageOf(x)
|
||||
}
|
||||
|
||||
// Deprecated: Use SystemChangeStatusResponse.ProtoReflect.Descriptor instead.
|
||||
func (*SystemChangeStatusResponse) Descriptor() ([]byte, []int) {
|
||||
return file_sso_auth_proto_rawDescGZIP(), []int{18}
|
||||
}
|
||||
|
||||
func (x *SystemChangeStatusResponse) GetSuccess() bool {
|
||||
if x != nil {
|
||||
return x.Success
|
||||
}
|
||||
return false
|
||||
}
|
||||
|
||||
type SystemUpdatePasswordRequest struct {
|
||||
state protoimpl.MessageState `protogen:"open.v1"`
|
||||
AccountId string `protobuf:"bytes,1,opt,name=account_id,json=accountId,proto3" json:"account_id,omitempty"`
|
||||
NewPasswordHash string `protobuf:"bytes,2,opt,name=new_password_hash,json=newPasswordHash,proto3" json:"new_password_hash,omitempty"`
|
||||
unknownFields protoimpl.UnknownFields
|
||||
sizeCache protoimpl.SizeCache
|
||||
}
|
||||
|
||||
func (x *SystemUpdatePasswordRequest) Reset() {
|
||||
*x = SystemUpdatePasswordRequest{}
|
||||
mi := &file_sso_auth_proto_msgTypes[19]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
|
||||
func (x *SystemUpdatePasswordRequest) String() string {
|
||||
return protoimpl.X.MessageStringOf(x)
|
||||
}
|
||||
|
||||
func (*SystemUpdatePasswordRequest) ProtoMessage() {}
|
||||
|
||||
func (x *SystemUpdatePasswordRequest) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_sso_auth_proto_msgTypes[19]
|
||||
if x != nil {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
return ms
|
||||
}
|
||||
return mi.MessageOf(x)
|
||||
}
|
||||
|
||||
// Deprecated: Use SystemUpdatePasswordRequest.ProtoReflect.Descriptor instead.
|
||||
func (*SystemUpdatePasswordRequest) Descriptor() ([]byte, []int) {
|
||||
return file_sso_auth_proto_rawDescGZIP(), []int{19}
|
||||
}
|
||||
|
||||
func (x *SystemUpdatePasswordRequest) GetAccountId() string {
|
||||
if x != nil {
|
||||
return x.AccountId
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (x *SystemUpdatePasswordRequest) GetNewPasswordHash() string {
|
||||
if x != nil {
|
||||
return x.NewPasswordHash
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
type SystemUpdatePasswordResponse struct {
|
||||
state protoimpl.MessageState `protogen:"open.v1"`
|
||||
Success bool `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"`
|
||||
unknownFields protoimpl.UnknownFields
|
||||
sizeCache protoimpl.SizeCache
|
||||
}
|
||||
|
||||
func (x *SystemUpdatePasswordResponse) Reset() {
|
||||
*x = SystemUpdatePasswordResponse{}
|
||||
mi := &file_sso_auth_proto_msgTypes[20]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
|
||||
func (x *SystemUpdatePasswordResponse) String() string {
|
||||
return protoimpl.X.MessageStringOf(x)
|
||||
}
|
||||
|
||||
func (*SystemUpdatePasswordResponse) ProtoMessage() {}
|
||||
|
||||
func (x *SystemUpdatePasswordResponse) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_sso_auth_proto_msgTypes[20]
|
||||
if x != nil {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
return ms
|
||||
}
|
||||
return mi.MessageOf(x)
|
||||
}
|
||||
|
||||
// Deprecated: Use SystemUpdatePasswordResponse.ProtoReflect.Descriptor instead.
|
||||
func (*SystemUpdatePasswordResponse) Descriptor() ([]byte, []int) {
|
||||
return file_sso_auth_proto_rawDescGZIP(), []int{20}
|
||||
}
|
||||
|
||||
func (x *SystemUpdatePasswordResponse) GetSuccess() bool {
|
||||
if x != nil {
|
||||
return x.Success
|
||||
}
|
||||
return false
|
||||
}
|
||||
|
||||
type SystemUpdatePinRequest struct {
|
||||
state protoimpl.MessageState `protogen:"open.v1"`
|
||||
AccountId string `protobuf:"bytes,1,opt,name=account_id,json=accountId,proto3" json:"account_id,omitempty"`
|
||||
PinHash *string `protobuf:"bytes,2,opt,name=pin_hash,json=pinHash,proto3,oneof" json:"pin_hash,omitempty"` // null если удаляем
|
||||
unknownFields protoimpl.UnknownFields
|
||||
sizeCache protoimpl.SizeCache
|
||||
}
|
||||
|
||||
func (x *SystemUpdatePinRequest) Reset() {
|
||||
*x = SystemUpdatePinRequest{}
|
||||
mi := &file_sso_auth_proto_msgTypes[21]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
|
||||
func (x *SystemUpdatePinRequest) String() string {
|
||||
return protoimpl.X.MessageStringOf(x)
|
||||
}
|
||||
|
||||
func (*SystemUpdatePinRequest) ProtoMessage() {}
|
||||
|
||||
func (x *SystemUpdatePinRequest) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_sso_auth_proto_msgTypes[21]
|
||||
if x != nil {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
return ms
|
||||
}
|
||||
return mi.MessageOf(x)
|
||||
}
|
||||
|
||||
// Deprecated: Use SystemUpdatePinRequest.ProtoReflect.Descriptor instead.
|
||||
func (*SystemUpdatePinRequest) Descriptor() ([]byte, []int) {
|
||||
return file_sso_auth_proto_rawDescGZIP(), []int{21}
|
||||
}
|
||||
|
||||
func (x *SystemUpdatePinRequest) GetAccountId() string {
|
||||
if x != nil {
|
||||
return x.AccountId
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (x *SystemUpdatePinRequest) GetPinHash() string {
|
||||
if x != nil && x.PinHash != nil {
|
||||
return *x.PinHash
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
type SystemUpdatePinResponse struct {
|
||||
state protoimpl.MessageState `protogen:"open.v1"`
|
||||
Success bool `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"`
|
||||
unknownFields protoimpl.UnknownFields
|
||||
sizeCache protoimpl.SizeCache
|
||||
}
|
||||
|
||||
func (x *SystemUpdatePinResponse) Reset() {
|
||||
*x = SystemUpdatePinResponse{}
|
||||
mi := &file_sso_auth_proto_msgTypes[22]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
|
||||
func (x *SystemUpdatePinResponse) String() string {
|
||||
return protoimpl.X.MessageStringOf(x)
|
||||
}
|
||||
|
||||
func (*SystemUpdatePinResponse) ProtoMessage() {}
|
||||
|
||||
func (x *SystemUpdatePinResponse) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_sso_auth_proto_msgTypes[22]
|
||||
if x != nil {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
return ms
|
||||
}
|
||||
return mi.MessageOf(x)
|
||||
}
|
||||
|
||||
// Deprecated: Use SystemUpdatePinResponse.ProtoReflect.Descriptor instead.
|
||||
func (*SystemUpdatePinResponse) Descriptor() ([]byte, []int) {
|
||||
return file_sso_auth_proto_rawDescGZIP(), []int{22}
|
||||
}
|
||||
|
||||
func (x *SystemUpdatePinResponse) GetSuccess() bool {
|
||||
if x != nil {
|
||||
return x.Success
|
||||
}
|
||||
return false
|
||||
}
|
||||
|
||||
var File_sso_auth_proto protoreflect.FileDescriptor
|
||||
|
||||
const file_sso_auth_proto_rawDesc = "" +
|
||||
@@ -961,7 +1353,33 @@ const file_sso_auth_proto_rawDesc = "" +
|
||||
"targetHash\"N\n" +
|
||||
"\x18TerminateSessionResponse\x12\x18\n" +
|
||||
"\asuccess\x18\x01 \x01(\bR\asuccess\x12\x18\n" +
|
||||
"\amessage\x18\x02 \x01(\tR\amessage2\xcc\x04\n" +
|
||||
"\amessage\x18\x02 \x01(\tR\amessage\"v\n" +
|
||||
"\x1aSystemCreateAccountRequest\x12\x1a\n" +
|
||||
"\busername\x18\x01 \x01(\tR\busername\x12#\n" +
|
||||
"\rpassword_hash\x18\x02 \x01(\tR\fpasswordHash\x12\x17\n" +
|
||||
"\ais_ldap\x18\x03 \x01(\bR\x06isLdap\"<\n" +
|
||||
"\x1bSystemCreateAccountResponse\x12\x1d\n" +
|
||||
"\n" +
|
||||
"account_id\x18\x01 \x01(\tR\taccountId\"R\n" +
|
||||
"\x19SystemChangeStatusRequest\x12\x1d\n" +
|
||||
"\n" +
|
||||
"account_id\x18\x01 \x01(\tR\taccountId\x12\x16\n" +
|
||||
"\x06status\x18\x02 \x01(\tR\x06status\"6\n" +
|
||||
"\x1aSystemChangeStatusResponse\x12\x18\n" +
|
||||
"\asuccess\x18\x01 \x01(\bR\asuccess\"h\n" +
|
||||
"\x1bSystemUpdatePasswordRequest\x12\x1d\n" +
|
||||
"\n" +
|
||||
"account_id\x18\x01 \x01(\tR\taccountId\x12*\n" +
|
||||
"\x11new_password_hash\x18\x02 \x01(\tR\x0fnewPasswordHash\"8\n" +
|
||||
"\x1cSystemUpdatePasswordResponse\x12\x18\n" +
|
||||
"\asuccess\x18\x01 \x01(\bR\asuccess\"d\n" +
|
||||
"\x16SystemUpdatePinRequest\x12\x1d\n" +
|
||||
"\n" +
|
||||
"account_id\x18\x01 \x01(\tR\taccountId\x12\x1e\n" +
|
||||
"\bpin_hash\x18\x02 \x01(\tH\x00R\apinHash\x88\x01\x01B\v\n" +
|
||||
"\t_pin_hash\"3\n" +
|
||||
"\x17SystemUpdatePinResponse\x12\x18\n" +
|
||||
"\asuccess\x18\x01 \x01(\bR\asuccess2\xc8\a\n" +
|
||||
"\vAuthService\x126\n" +
|
||||
"\x05Login\x12\x15.auth.v1.LoginRequest\x1a\x16.auth.v1.LoginResponse\x12<\n" +
|
||||
"\aRefresh\x12\x17.auth.v1.RefreshRequest\x1a\x18.auth.v1.RefreshResponse\x12H\n" +
|
||||
@@ -970,7 +1388,11 @@ const file_sso_auth_proto_rawDesc = "" +
|
||||
"\x06Logout\x12\x16.auth.v1.LogoutRequest\x1a\x17.auth.v1.LogoutResponse\x12>\n" +
|
||||
"\vLogoutOther\x12\x16.auth.v1.LogoutRequest\x1a\x17.auth.v1.LogoutResponse\x12G\n" +
|
||||
"\vGetSessions\x12\x1a.auth.v1.GetSessionRequest\x1a\x1c.auth.v1.GetSessionsResponse\x12W\n" +
|
||||
"\x10TerminateSession\x12 .auth.v1.TerminateSessionRequest\x1a!.auth.v1.TerminateSessionResponseB*Z(git.lendry.ru/lendry-erp/proto.git/go;pbb\x06proto3"
|
||||
"\x10TerminateSession\x12 .auth.v1.TerminateSessionRequest\x1a!.auth.v1.TerminateSessionResponse\x12`\n" +
|
||||
"\x13SystemCreateAccount\x12#.auth.v1.SystemCreateAccountRequest\x1a$.auth.v1.SystemCreateAccountResponse\x12]\n" +
|
||||
"\x12SystemChangeStatus\x12\".auth.v1.SystemChangeStatusRequest\x1a#.auth.v1.SystemChangeStatusResponse\x12c\n" +
|
||||
"\x14SystemUpdatePassword\x12$.auth.v1.SystemUpdatePasswordRequest\x1a%.auth.v1.SystemUpdatePasswordResponse\x12T\n" +
|
||||
"\x0fSystemUpdatePin\x12\x1f.auth.v1.SystemUpdatePinRequest\x1a .auth.v1.SystemUpdatePinResponseB*Z(git.lendry.ru/lendry-erp/proto.git/go;pbb\x06proto3"
|
||||
|
||||
var (
|
||||
file_sso_auth_proto_rawDescOnce sync.Once
|
||||
@@ -984,23 +1406,31 @@ func file_sso_auth_proto_rawDescGZIP() []byte {
|
||||
return file_sso_auth_proto_rawDescData
|
||||
}
|
||||
|
||||
var file_sso_auth_proto_msgTypes = make([]protoimpl.MessageInfo, 15)
|
||||
var file_sso_auth_proto_msgTypes = make([]protoimpl.MessageInfo, 23)
|
||||
var file_sso_auth_proto_goTypes = []any{
|
||||
(*LoginRequest)(nil), // 0: auth.v1.LoginRequest
|
||||
(*LoginResponse)(nil), // 1: auth.v1.LoginResponse
|
||||
(*RefreshRequest)(nil), // 2: auth.v1.RefreshRequest
|
||||
(*RefreshResponse)(nil), // 3: auth.v1.RefreshResponse
|
||||
(*LogoutRequest)(nil), // 4: auth.v1.LogoutRequest
|
||||
(*LogoutResponse)(nil), // 5: auth.v1.LogoutResponse
|
||||
(*VerifyTokenRequest)(nil), // 6: auth.v1.VerifyTokenRequest
|
||||
(*VerifyTokenResponse)(nil), // 7: auth.v1.VerifyTokenResponse
|
||||
(*GetAccountRoleLevelRequest)(nil), // 8: auth.v1.GetAccountRoleLevelRequest
|
||||
(*GetAccountRoleLevelResponse)(nil), // 9: auth.v1.GetAccountRoleLevelResponse
|
||||
(*GetSessionRequest)(nil), // 10: auth.v1.GetSessionRequest
|
||||
(*SessionItem)(nil), // 11: auth.v1.SessionItem
|
||||
(*GetSessionsResponse)(nil), // 12: auth.v1.GetSessionsResponse
|
||||
(*TerminateSessionRequest)(nil), // 13: auth.v1.TerminateSessionRequest
|
||||
(*TerminateSessionResponse)(nil), // 14: auth.v1.TerminateSessionResponse
|
||||
(*LoginRequest)(nil), // 0: auth.v1.LoginRequest
|
||||
(*LoginResponse)(nil), // 1: auth.v1.LoginResponse
|
||||
(*RefreshRequest)(nil), // 2: auth.v1.RefreshRequest
|
||||
(*RefreshResponse)(nil), // 3: auth.v1.RefreshResponse
|
||||
(*LogoutRequest)(nil), // 4: auth.v1.LogoutRequest
|
||||
(*LogoutResponse)(nil), // 5: auth.v1.LogoutResponse
|
||||
(*VerifyTokenRequest)(nil), // 6: auth.v1.VerifyTokenRequest
|
||||
(*VerifyTokenResponse)(nil), // 7: auth.v1.VerifyTokenResponse
|
||||
(*GetAccountRoleLevelRequest)(nil), // 8: auth.v1.GetAccountRoleLevelRequest
|
||||
(*GetAccountRoleLevelResponse)(nil), // 9: auth.v1.GetAccountRoleLevelResponse
|
||||
(*GetSessionRequest)(nil), // 10: auth.v1.GetSessionRequest
|
||||
(*SessionItem)(nil), // 11: auth.v1.SessionItem
|
||||
(*GetSessionsResponse)(nil), // 12: auth.v1.GetSessionsResponse
|
||||
(*TerminateSessionRequest)(nil), // 13: auth.v1.TerminateSessionRequest
|
||||
(*TerminateSessionResponse)(nil), // 14: auth.v1.TerminateSessionResponse
|
||||
(*SystemCreateAccountRequest)(nil), // 15: auth.v1.SystemCreateAccountRequest
|
||||
(*SystemCreateAccountResponse)(nil), // 16: auth.v1.SystemCreateAccountResponse
|
||||
(*SystemChangeStatusRequest)(nil), // 17: auth.v1.SystemChangeStatusRequest
|
||||
(*SystemChangeStatusResponse)(nil), // 18: auth.v1.SystemChangeStatusResponse
|
||||
(*SystemUpdatePasswordRequest)(nil), // 19: auth.v1.SystemUpdatePasswordRequest
|
||||
(*SystemUpdatePasswordResponse)(nil), // 20: auth.v1.SystemUpdatePasswordResponse
|
||||
(*SystemUpdatePinRequest)(nil), // 21: auth.v1.SystemUpdatePinRequest
|
||||
(*SystemUpdatePinResponse)(nil), // 22: auth.v1.SystemUpdatePinResponse
|
||||
}
|
||||
var file_sso_auth_proto_depIdxs = []int32{
|
||||
11, // 0: auth.v1.GetSessionsResponse.sessions:type_name -> auth.v1.SessionItem
|
||||
@@ -1012,16 +1442,24 @@ var file_sso_auth_proto_depIdxs = []int32{
|
||||
4, // 6: auth.v1.AuthService.LogoutOther:input_type -> auth.v1.LogoutRequest
|
||||
10, // 7: auth.v1.AuthService.GetSessions:input_type -> auth.v1.GetSessionRequest
|
||||
13, // 8: auth.v1.AuthService.TerminateSession:input_type -> auth.v1.TerminateSessionRequest
|
||||
1, // 9: auth.v1.AuthService.Login:output_type -> auth.v1.LoginResponse
|
||||
3, // 10: auth.v1.AuthService.Refresh:output_type -> auth.v1.RefreshResponse
|
||||
7, // 11: auth.v1.AuthService.VerifyToken:output_type -> auth.v1.VerifyTokenResponse
|
||||
9, // 12: auth.v1.AuthService.GetAccountRoleLevel:output_type -> auth.v1.GetAccountRoleLevelResponse
|
||||
5, // 13: auth.v1.AuthService.Logout:output_type -> auth.v1.LogoutResponse
|
||||
5, // 14: auth.v1.AuthService.LogoutOther:output_type -> auth.v1.LogoutResponse
|
||||
12, // 15: auth.v1.AuthService.GetSessions:output_type -> auth.v1.GetSessionsResponse
|
||||
14, // 16: auth.v1.AuthService.TerminateSession:output_type -> auth.v1.TerminateSessionResponse
|
||||
9, // [9:17] is the sub-list for method output_type
|
||||
1, // [1:9] is the sub-list for method input_type
|
||||
15, // 9: auth.v1.AuthService.SystemCreateAccount:input_type -> auth.v1.SystemCreateAccountRequest
|
||||
17, // 10: auth.v1.AuthService.SystemChangeStatus:input_type -> auth.v1.SystemChangeStatusRequest
|
||||
19, // 11: auth.v1.AuthService.SystemUpdatePassword:input_type -> auth.v1.SystemUpdatePasswordRequest
|
||||
21, // 12: auth.v1.AuthService.SystemUpdatePin:input_type -> auth.v1.SystemUpdatePinRequest
|
||||
1, // 13: auth.v1.AuthService.Login:output_type -> auth.v1.LoginResponse
|
||||
3, // 14: auth.v1.AuthService.Refresh:output_type -> auth.v1.RefreshResponse
|
||||
7, // 15: auth.v1.AuthService.VerifyToken:output_type -> auth.v1.VerifyTokenResponse
|
||||
9, // 16: auth.v1.AuthService.GetAccountRoleLevel:output_type -> auth.v1.GetAccountRoleLevelResponse
|
||||
5, // 17: auth.v1.AuthService.Logout:output_type -> auth.v1.LogoutResponse
|
||||
5, // 18: auth.v1.AuthService.LogoutOther:output_type -> auth.v1.LogoutResponse
|
||||
12, // 19: auth.v1.AuthService.GetSessions:output_type -> auth.v1.GetSessionsResponse
|
||||
14, // 20: auth.v1.AuthService.TerminateSession:output_type -> auth.v1.TerminateSessionResponse
|
||||
16, // 21: auth.v1.AuthService.SystemCreateAccount:output_type -> auth.v1.SystemCreateAccountResponse
|
||||
18, // 22: auth.v1.AuthService.SystemChangeStatus:output_type -> auth.v1.SystemChangeStatusResponse
|
||||
20, // 23: auth.v1.AuthService.SystemUpdatePassword:output_type -> auth.v1.SystemUpdatePasswordResponse
|
||||
22, // 24: auth.v1.AuthService.SystemUpdatePin:output_type -> auth.v1.SystemUpdatePinResponse
|
||||
13, // [13:25] is the sub-list for method output_type
|
||||
1, // [1:13] is the sub-list for method input_type
|
||||
1, // [1:1] is the sub-list for extension type_name
|
||||
1, // [1:1] is the sub-list for extension extendee
|
||||
0, // [0:1] is the sub-list for field type_name
|
||||
@@ -1034,13 +1472,14 @@ func file_sso_auth_proto_init() {
|
||||
}
|
||||
file_sso_auth_proto_msgTypes[1].OneofWrappers = []any{}
|
||||
file_sso_auth_proto_msgTypes[7].OneofWrappers = []any{}
|
||||
file_sso_auth_proto_msgTypes[21].OneofWrappers = []any{}
|
||||
type x struct{}
|
||||
out := protoimpl.TypeBuilder{
|
||||
File: protoimpl.DescBuilder{
|
||||
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
||||
RawDescriptor: unsafe.Slice(unsafe.StringData(file_sso_auth_proto_rawDesc), len(file_sso_auth_proto_rawDesc)),
|
||||
NumEnums: 0,
|
||||
NumMessages: 15,
|
||||
NumMessages: 23,
|
||||
NumExtensions: 0,
|
||||
NumServices: 1,
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user