2023-07-09 11:16:52 +00:00
|
|
|
// Code generated by protoc-gen-go. DO NOT EDIT.
|
|
|
|
// versions:
|
|
|
|
// protoc-gen-go v1.30.0
|
|
|
|
// protoc v3.21.12
|
|
|
|
// source: authentication.proto
|
|
|
|
|
2023-07-17 13:51:31 +00:00
|
|
|
package gmproto
|
2023-07-09 11:16:52 +00:00
|
|
|
|
|
|
|
import (
|
|
|
|
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
|
|
|
|
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
|
|
|
|
reflect "reflect"
|
|
|
|
sync "sync"
|
|
|
|
)
|
|
|
|
|
2023-07-16 23:06:35 +00:00
|
|
|
import _ "embed"
|
|
|
|
|
2023-07-09 11:16:52 +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)
|
|
|
|
)
|
|
|
|
|
2023-07-17 23:57:20 +00:00
|
|
|
type BrowserType int32
|
|
|
|
|
|
|
|
const (
|
|
|
|
BrowserType_UNKNOWN_BROWSER_TYPE BrowserType = 0
|
|
|
|
BrowserType_OTHER BrowserType = 1
|
|
|
|
BrowserType_CHROME BrowserType = 2
|
|
|
|
BrowserType_FIREFOX BrowserType = 3
|
|
|
|
BrowserType_SAFARI BrowserType = 4
|
|
|
|
BrowserType_OPERA BrowserType = 5
|
|
|
|
BrowserType_IE BrowserType = 6
|
|
|
|
BrowserType_EDGE BrowserType = 7
|
|
|
|
)
|
|
|
|
|
|
|
|
// Enum value maps for BrowserType.
|
|
|
|
var (
|
|
|
|
BrowserType_name = map[int32]string{
|
|
|
|
0: "UNKNOWN_BROWSER_TYPE",
|
|
|
|
1: "OTHER",
|
|
|
|
2: "CHROME",
|
|
|
|
3: "FIREFOX",
|
|
|
|
4: "SAFARI",
|
|
|
|
5: "OPERA",
|
|
|
|
6: "IE",
|
|
|
|
7: "EDGE",
|
|
|
|
}
|
|
|
|
BrowserType_value = map[string]int32{
|
|
|
|
"UNKNOWN_BROWSER_TYPE": 0,
|
|
|
|
"OTHER": 1,
|
|
|
|
"CHROME": 2,
|
|
|
|
"FIREFOX": 3,
|
|
|
|
"SAFARI": 4,
|
|
|
|
"OPERA": 5,
|
|
|
|
"IE": 6,
|
|
|
|
"EDGE": 7,
|
|
|
|
}
|
|
|
|
)
|
|
|
|
|
|
|
|
func (x BrowserType) Enum() *BrowserType {
|
|
|
|
p := new(BrowserType)
|
|
|
|
*p = x
|
|
|
|
return p
|
|
|
|
}
|
|
|
|
|
|
|
|
func (x BrowserType) String() string {
|
|
|
|
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
|
|
|
|
}
|
|
|
|
|
|
|
|
func (BrowserType) Descriptor() protoreflect.EnumDescriptor {
|
|
|
|
return file_authentication_proto_enumTypes[0].Descriptor()
|
|
|
|
}
|
|
|
|
|
|
|
|
func (BrowserType) Type() protoreflect.EnumType {
|
|
|
|
return &file_authentication_proto_enumTypes[0]
|
|
|
|
}
|
|
|
|
|
|
|
|
func (x BrowserType) Number() protoreflect.EnumNumber {
|
|
|
|
return protoreflect.EnumNumber(x)
|
|
|
|
}
|
|
|
|
|
|
|
|
// Deprecated: Use BrowserType.Descriptor instead.
|
|
|
|
func (BrowserType) EnumDescriptor() ([]byte, []int) {
|
|
|
|
return file_authentication_proto_rawDescGZIP(), []int{0}
|
|
|
|
}
|
|
|
|
|
2023-08-24 08:16:08 +00:00
|
|
|
type DeviceType int32
|
|
|
|
|
|
|
|
const (
|
|
|
|
DeviceType_UNKNOWN_DEVICE_TYPE DeviceType = 0
|
|
|
|
DeviceType_WEB DeviceType = 1
|
|
|
|
DeviceType_TABLET DeviceType = 2
|
|
|
|
DeviceType_PWA DeviceType = 3
|
|
|
|
)
|
|
|
|
|
|
|
|
// Enum value maps for DeviceType.
|
|
|
|
var (
|
|
|
|
DeviceType_name = map[int32]string{
|
|
|
|
0: "UNKNOWN_DEVICE_TYPE",
|
|
|
|
1: "WEB",
|
|
|
|
2: "TABLET",
|
|
|
|
3: "PWA",
|
|
|
|
}
|
|
|
|
DeviceType_value = map[string]int32{
|
|
|
|
"UNKNOWN_DEVICE_TYPE": 0,
|
|
|
|
"WEB": 1,
|
|
|
|
"TABLET": 2,
|
|
|
|
"PWA": 3,
|
|
|
|
}
|
|
|
|
)
|
|
|
|
|
|
|
|
func (x DeviceType) Enum() *DeviceType {
|
|
|
|
p := new(DeviceType)
|
|
|
|
*p = x
|
|
|
|
return p
|
|
|
|
}
|
|
|
|
|
|
|
|
func (x DeviceType) String() string {
|
|
|
|
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
|
|
|
|
}
|
|
|
|
|
|
|
|
func (DeviceType) Descriptor() protoreflect.EnumDescriptor {
|
|
|
|
return file_authentication_proto_enumTypes[1].Descriptor()
|
|
|
|
}
|
|
|
|
|
|
|
|
func (DeviceType) Type() protoreflect.EnumType {
|
|
|
|
return &file_authentication_proto_enumTypes[1]
|
|
|
|
}
|
|
|
|
|
|
|
|
func (x DeviceType) Number() protoreflect.EnumNumber {
|
|
|
|
return protoreflect.EnumNumber(x)
|
|
|
|
}
|
|
|
|
|
|
|
|
// Deprecated: Use DeviceType.Descriptor instead.
|
|
|
|
func (DeviceType) EnumDescriptor() ([]byte, []int) {
|
|
|
|
return file_authentication_proto_rawDescGZIP(), []int{1}
|
|
|
|
}
|
|
|
|
|
2023-07-09 11:16:52 +00:00
|
|
|
type BrowserDetails struct {
|
|
|
|
state protoimpl.MessageState
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
|
2023-07-17 23:57:20 +00:00
|
|
|
UserAgent string `protobuf:"bytes,1,opt,name=userAgent,proto3" json:"userAgent,omitempty"`
|
|
|
|
BrowserType BrowserType `protobuf:"varint,2,opt,name=browserType,proto3,enum=authentication.BrowserType" json:"browserType,omitempty"`
|
|
|
|
OS string `protobuf:"bytes,3,opt,name=OS,proto3" json:"OS,omitempty"`
|
2023-08-24 08:16:08 +00:00
|
|
|
DeviceType DeviceType `protobuf:"varint,6,opt,name=deviceType,proto3,enum=authentication.DeviceType" json:"deviceType,omitempty"`
|
2023-07-09 11:16:52 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
func (x *BrowserDetails) Reset() {
|
|
|
|
*x = BrowserDetails{}
|
|
|
|
if protoimpl.UnsafeEnabled {
|
|
|
|
mi := &file_authentication_proto_msgTypes[0]
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
func (x *BrowserDetails) String() string {
|
|
|
|
return protoimpl.X.MessageStringOf(x)
|
|
|
|
}
|
|
|
|
|
|
|
|
func (*BrowserDetails) ProtoMessage() {}
|
|
|
|
|
|
|
|
func (x *BrowserDetails) ProtoReflect() protoreflect.Message {
|
|
|
|
mi := &file_authentication_proto_msgTypes[0]
|
|
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
if ms.LoadMessageInfo() == nil {
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
}
|
|
|
|
return ms
|
|
|
|
}
|
|
|
|
return mi.MessageOf(x)
|
|
|
|
}
|
|
|
|
|
|
|
|
// Deprecated: Use BrowserDetails.ProtoReflect.Descriptor instead.
|
|
|
|
func (*BrowserDetails) Descriptor() ([]byte, []int) {
|
|
|
|
return file_authentication_proto_rawDescGZIP(), []int{0}
|
|
|
|
}
|
|
|
|
|
|
|
|
func (x *BrowserDetails) GetUserAgent() string {
|
|
|
|
if x != nil {
|
|
|
|
return x.UserAgent
|
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
2023-07-17 23:57:20 +00:00
|
|
|
func (x *BrowserDetails) GetBrowserType() BrowserType {
|
2023-07-09 11:16:52 +00:00
|
|
|
if x != nil {
|
|
|
|
return x.BrowserType
|
|
|
|
}
|
2023-07-17 23:57:20 +00:00
|
|
|
return BrowserType_UNKNOWN_BROWSER_TYPE
|
2023-07-09 11:16:52 +00:00
|
|
|
}
|
|
|
|
|
2023-07-16 13:19:33 +00:00
|
|
|
func (x *BrowserDetails) GetOS() string {
|
2023-07-09 11:16:52 +00:00
|
|
|
if x != nil {
|
2023-07-16 13:19:33 +00:00
|
|
|
return x.OS
|
2023-07-09 11:16:52 +00:00
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
2023-08-24 08:16:08 +00:00
|
|
|
func (x *BrowserDetails) GetDeviceType() DeviceType {
|
2023-07-09 11:16:52 +00:00
|
|
|
if x != nil {
|
2023-08-24 08:16:08 +00:00
|
|
|
return x.DeviceType
|
2023-07-09 11:16:52 +00:00
|
|
|
}
|
2023-08-24 08:16:08 +00:00
|
|
|
return DeviceType_UNKNOWN_DEVICE_TYPE
|
2023-07-09 11:16:52 +00:00
|
|
|
}
|
|
|
|
|
2023-07-17 23:57:20 +00:00
|
|
|
type Device struct {
|
2023-07-09 11:16:52 +00:00
|
|
|
state protoimpl.MessageState
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
|
2023-07-17 23:57:20 +00:00
|
|
|
UserID int64 `protobuf:"varint,1,opt,name=userID,proto3" json:"userID,omitempty"`
|
|
|
|
SourceID string `protobuf:"bytes,2,opt,name=sourceID,proto3" json:"sourceID,omitempty"`
|
|
|
|
Network string `protobuf:"bytes,3,opt,name=network,proto3" json:"network,omitempty"`
|
2023-07-09 11:16:52 +00:00
|
|
|
}
|
|
|
|
|
2023-07-17 23:57:20 +00:00
|
|
|
func (x *Device) Reset() {
|
|
|
|
*x = Device{}
|
2023-07-09 11:16:52 +00:00
|
|
|
if protoimpl.UnsafeEnabled {
|
|
|
|
mi := &file_authentication_proto_msgTypes[1]
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2023-07-17 23:57:20 +00:00
|
|
|
func (x *Device) String() string {
|
2023-07-09 11:16:52 +00:00
|
|
|
return protoimpl.X.MessageStringOf(x)
|
|
|
|
}
|
|
|
|
|
2023-07-17 23:57:20 +00:00
|
|
|
func (*Device) ProtoMessage() {}
|
2023-07-09 11:16:52 +00:00
|
|
|
|
2023-07-17 23:57:20 +00:00
|
|
|
func (x *Device) ProtoReflect() protoreflect.Message {
|
2023-07-09 11:16:52 +00:00
|
|
|
mi := &file_authentication_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)
|
|
|
|
}
|
|
|
|
|
2023-07-17 23:57:20 +00:00
|
|
|
// Deprecated: Use Device.ProtoReflect.Descriptor instead.
|
|
|
|
func (*Device) Descriptor() ([]byte, []int) {
|
2023-07-09 11:16:52 +00:00
|
|
|
return file_authentication_proto_rawDescGZIP(), []int{1}
|
|
|
|
}
|
|
|
|
|
2023-07-17 23:57:20 +00:00
|
|
|
func (x *Device) GetUserID() int64 {
|
2023-07-09 11:16:52 +00:00
|
|
|
if x != nil {
|
2023-07-17 23:57:20 +00:00
|
|
|
return x.UserID
|
2023-07-09 11:16:52 +00:00
|
|
|
}
|
2023-07-17 23:57:20 +00:00
|
|
|
return 0
|
2023-07-09 11:16:52 +00:00
|
|
|
}
|
|
|
|
|
2023-07-17 23:57:20 +00:00
|
|
|
func (x *Device) GetSourceID() string {
|
2023-07-09 11:16:52 +00:00
|
|
|
if x != nil {
|
2023-07-17 23:57:20 +00:00
|
|
|
return x.SourceID
|
2023-07-09 11:16:52 +00:00
|
|
|
}
|
2023-07-17 23:57:20 +00:00
|
|
|
return ""
|
2023-07-09 11:16:52 +00:00
|
|
|
}
|
|
|
|
|
2023-07-17 23:57:20 +00:00
|
|
|
func (x *Device) GetNetwork() string {
|
|
|
|
if x != nil {
|
|
|
|
return x.Network
|
2023-07-09 11:16:52 +00:00
|
|
|
}
|
2023-07-17 23:57:20 +00:00
|
|
|
return ""
|
2023-07-09 11:16:52 +00:00
|
|
|
}
|
|
|
|
|
2023-07-17 23:57:20 +00:00
|
|
|
type ConfigVersion struct {
|
2023-07-09 11:16:52 +00:00
|
|
|
state protoimpl.MessageState
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
|
2023-07-17 23:57:20 +00:00
|
|
|
Year int32 `protobuf:"varint,3,opt,name=Year,proto3" json:"Year,omitempty"`
|
|
|
|
Month int32 `protobuf:"varint,4,opt,name=Month,proto3" json:"Month,omitempty"`
|
|
|
|
Day int32 `protobuf:"varint,5,opt,name=Day,proto3" json:"Day,omitempty"`
|
|
|
|
V1 int32 `protobuf:"varint,7,opt,name=V1,proto3" json:"V1,omitempty"`
|
|
|
|
V2 int32 `protobuf:"varint,9,opt,name=V2,proto3" json:"V2,omitempty"`
|
2023-07-09 11:16:52 +00:00
|
|
|
}
|
|
|
|
|
2023-07-17 23:57:20 +00:00
|
|
|
func (x *ConfigVersion) Reset() {
|
|
|
|
*x = ConfigVersion{}
|
2023-07-09 11:16:52 +00:00
|
|
|
if protoimpl.UnsafeEnabled {
|
2023-07-15 22:56:11 +00:00
|
|
|
mi := &file_authentication_proto_msgTypes[2]
|
2023-07-09 11:16:52 +00:00
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2023-07-17 23:57:20 +00:00
|
|
|
func (x *ConfigVersion) String() string {
|
2023-07-09 11:16:52 +00:00
|
|
|
return protoimpl.X.MessageStringOf(x)
|
|
|
|
}
|
|
|
|
|
2023-07-17 23:57:20 +00:00
|
|
|
func (*ConfigVersion) ProtoMessage() {}
|
2023-07-09 11:16:52 +00:00
|
|
|
|
2023-07-17 23:57:20 +00:00
|
|
|
func (x *ConfigVersion) ProtoReflect() protoreflect.Message {
|
2023-07-15 22:56:11 +00:00
|
|
|
mi := &file_authentication_proto_msgTypes[2]
|
2023-07-09 11:16:52 +00:00
|
|
|
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)
|
|
|
|
}
|
|
|
|
|
2023-07-17 23:57:20 +00:00
|
|
|
// Deprecated: Use ConfigVersion.ProtoReflect.Descriptor instead.
|
|
|
|
func (*ConfigVersion) Descriptor() ([]byte, []int) {
|
2023-07-15 22:56:11 +00:00
|
|
|
return file_authentication_proto_rawDescGZIP(), []int{2}
|
2023-07-09 11:16:52 +00:00
|
|
|
}
|
|
|
|
|
2023-07-17 23:57:20 +00:00
|
|
|
func (x *ConfigVersion) GetYear() int32 {
|
2023-07-09 11:16:52 +00:00
|
|
|
if x != nil {
|
2023-07-17 23:57:20 +00:00
|
|
|
return x.Year
|
2023-07-09 11:16:52 +00:00
|
|
|
}
|
|
|
|
return 0
|
|
|
|
}
|
|
|
|
|
2023-07-17 23:57:20 +00:00
|
|
|
func (x *ConfigVersion) GetMonth() int32 {
|
2023-07-09 11:16:52 +00:00
|
|
|
if x != nil {
|
2023-07-17 23:57:20 +00:00
|
|
|
return x.Month
|
2023-07-09 11:16:52 +00:00
|
|
|
}
|
2023-07-17 23:57:20 +00:00
|
|
|
return 0
|
2023-07-09 11:16:52 +00:00
|
|
|
}
|
|
|
|
|
2023-07-17 23:57:20 +00:00
|
|
|
func (x *ConfigVersion) GetDay() int32 {
|
|
|
|
if x != nil {
|
|
|
|
return x.Day
|
|
|
|
}
|
|
|
|
return 0
|
|
|
|
}
|
|
|
|
|
|
|
|
func (x *ConfigVersion) GetV1() int32 {
|
|
|
|
if x != nil {
|
|
|
|
return x.V1
|
|
|
|
}
|
|
|
|
return 0
|
|
|
|
}
|
|
|
|
|
|
|
|
func (x *ConfigVersion) GetV2() int32 {
|
|
|
|
if x != nil {
|
|
|
|
return x.V2
|
|
|
|
}
|
|
|
|
return 0
|
|
|
|
}
|
|
|
|
|
|
|
|
type AuthenticationContainer struct {
|
2023-07-09 11:16:52 +00:00
|
|
|
state protoimpl.MessageState
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
|
2023-07-17 23:57:20 +00:00
|
|
|
AuthMessage *AuthMessage `protobuf:"bytes,1,opt,name=authMessage,proto3" json:"authMessage,omitempty"`
|
|
|
|
BrowserDetails *BrowserDetails `protobuf:"bytes,3,opt,name=browserDetails,proto3" json:"browserDetails,omitempty"`
|
|
|
|
// Types that are assignable to Data:
|
|
|
|
//
|
|
|
|
// *AuthenticationContainer_KeyData
|
|
|
|
// *AuthenticationContainer_DeviceData
|
|
|
|
Data isAuthenticationContainer_Data `protobuf_oneof:"data"`
|
2023-07-09 11:16:52 +00:00
|
|
|
}
|
|
|
|
|
2023-07-17 23:57:20 +00:00
|
|
|
func (x *AuthenticationContainer) Reset() {
|
|
|
|
*x = AuthenticationContainer{}
|
2023-07-09 11:16:52 +00:00
|
|
|
if protoimpl.UnsafeEnabled {
|
2023-07-15 22:56:11 +00:00
|
|
|
mi := &file_authentication_proto_msgTypes[3]
|
2023-07-09 11:16:52 +00:00
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2023-07-17 23:57:20 +00:00
|
|
|
func (x *AuthenticationContainer) String() string {
|
2023-07-09 11:16:52 +00:00
|
|
|
return protoimpl.X.MessageStringOf(x)
|
|
|
|
}
|
|
|
|
|
2023-07-17 23:57:20 +00:00
|
|
|
func (*AuthenticationContainer) ProtoMessage() {}
|
2023-07-09 11:16:52 +00:00
|
|
|
|
2023-07-17 23:57:20 +00:00
|
|
|
func (x *AuthenticationContainer) ProtoReflect() protoreflect.Message {
|
2023-07-15 22:56:11 +00:00
|
|
|
mi := &file_authentication_proto_msgTypes[3]
|
2023-07-09 11:16:52 +00:00
|
|
|
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)
|
|
|
|
}
|
|
|
|
|
2023-07-17 23:57:20 +00:00
|
|
|
// Deprecated: Use AuthenticationContainer.ProtoReflect.Descriptor instead.
|
|
|
|
func (*AuthenticationContainer) Descriptor() ([]byte, []int) {
|
2023-07-15 22:56:11 +00:00
|
|
|
return file_authentication_proto_rawDescGZIP(), []int{3}
|
2023-07-09 11:16:52 +00:00
|
|
|
}
|
|
|
|
|
2023-07-17 23:57:20 +00:00
|
|
|
func (x *AuthenticationContainer) GetAuthMessage() *AuthMessage {
|
2023-07-09 11:16:52 +00:00
|
|
|
if x != nil {
|
2023-07-17 23:57:20 +00:00
|
|
|
return x.AuthMessage
|
2023-07-09 11:16:52 +00:00
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
2023-07-17 23:57:20 +00:00
|
|
|
func (x *AuthenticationContainer) GetBrowserDetails() *BrowserDetails {
|
2023-07-09 11:16:52 +00:00
|
|
|
if x != nil {
|
2023-07-17 23:57:20 +00:00
|
|
|
return x.BrowserDetails
|
2023-07-09 11:16:52 +00:00
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
2023-07-17 23:57:20 +00:00
|
|
|
func (m *AuthenticationContainer) GetData() isAuthenticationContainer_Data {
|
|
|
|
if m != nil {
|
|
|
|
return m.Data
|
2023-07-09 11:16:52 +00:00
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
2023-07-17 23:57:20 +00:00
|
|
|
func (x *AuthenticationContainer) GetKeyData() *KeyData {
|
|
|
|
if x, ok := x.GetData().(*AuthenticationContainer_KeyData); ok {
|
|
|
|
return x.KeyData
|
2023-07-09 11:16:52 +00:00
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
2023-07-17 23:57:20 +00:00
|
|
|
func (x *AuthenticationContainer) GetDeviceData() *CurrentDeviceData {
|
|
|
|
if x, ok := x.GetData().(*AuthenticationContainer_DeviceData); ok {
|
|
|
|
return x.DeviceData
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
|
|
|
type isAuthenticationContainer_Data interface {
|
|
|
|
isAuthenticationContainer_Data()
|
|
|
|
}
|
|
|
|
|
|
|
|
type AuthenticationContainer_KeyData struct {
|
|
|
|
KeyData *KeyData `protobuf:"bytes,4,opt,name=keyData,proto3,oneof"`
|
|
|
|
}
|
|
|
|
|
|
|
|
type AuthenticationContainer_DeviceData struct {
|
|
|
|
DeviceData *CurrentDeviceData `protobuf:"bytes,5,opt,name=deviceData,proto3,oneof"`
|
|
|
|
}
|
|
|
|
|
|
|
|
func (*AuthenticationContainer_KeyData) isAuthenticationContainer_Data() {}
|
|
|
|
|
|
|
|
func (*AuthenticationContainer_DeviceData) isAuthenticationContainer_Data() {}
|
|
|
|
|
|
|
|
type AuthMessage struct {
|
2023-07-09 11:16:52 +00:00
|
|
|
state protoimpl.MessageState
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
|
2023-07-17 23:57:20 +00:00
|
|
|
RequestID string `protobuf:"bytes,1,opt,name=requestID,proto3" json:"requestID,omitempty"`
|
|
|
|
Network *string `protobuf:"bytes,3,opt,name=network,proto3,oneof" json:"network,omitempty"`
|
|
|
|
TachyonAuthToken []byte `protobuf:"bytes,6,opt,name=tachyonAuthToken,proto3,oneof" json:"tachyonAuthToken,omitempty"`
|
|
|
|
ConfigVersion *ConfigVersion `protobuf:"bytes,7,opt,name=configVersion,proto3" json:"configVersion,omitempty"`
|
2023-07-09 11:16:52 +00:00
|
|
|
}
|
|
|
|
|
2023-07-17 23:57:20 +00:00
|
|
|
func (x *AuthMessage) Reset() {
|
|
|
|
*x = AuthMessage{}
|
2023-07-09 11:16:52 +00:00
|
|
|
if protoimpl.UnsafeEnabled {
|
2023-07-15 22:56:11 +00:00
|
|
|
mi := &file_authentication_proto_msgTypes[4]
|
2023-07-09 11:16:52 +00:00
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2023-07-17 23:57:20 +00:00
|
|
|
func (x *AuthMessage) String() string {
|
2023-07-09 11:16:52 +00:00
|
|
|
return protoimpl.X.MessageStringOf(x)
|
|
|
|
}
|
|
|
|
|
2023-07-17 23:57:20 +00:00
|
|
|
func (*AuthMessage) ProtoMessage() {}
|
2023-07-09 11:16:52 +00:00
|
|
|
|
2023-07-17 23:57:20 +00:00
|
|
|
func (x *AuthMessage) ProtoReflect() protoreflect.Message {
|
2023-07-15 22:56:11 +00:00
|
|
|
mi := &file_authentication_proto_msgTypes[4]
|
2023-07-09 11:16:52 +00:00
|
|
|
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)
|
|
|
|
}
|
|
|
|
|
2023-07-17 23:57:20 +00:00
|
|
|
// Deprecated: Use AuthMessage.ProtoReflect.Descriptor instead.
|
|
|
|
func (*AuthMessage) Descriptor() ([]byte, []int) {
|
2023-07-15 22:56:11 +00:00
|
|
|
return file_authentication_proto_rawDescGZIP(), []int{4}
|
2023-07-09 11:16:52 +00:00
|
|
|
}
|
|
|
|
|
2023-07-17 23:57:20 +00:00
|
|
|
func (x *AuthMessage) GetRequestID() string {
|
2023-07-09 11:16:52 +00:00
|
|
|
if x != nil {
|
2023-07-17 23:57:20 +00:00
|
|
|
return x.RequestID
|
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
|
|
|
func (x *AuthMessage) GetNetwork() string {
|
|
|
|
if x != nil && x.Network != nil {
|
|
|
|
return *x.Network
|
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
|
|
|
func (x *AuthMessage) GetTachyonAuthToken() []byte {
|
|
|
|
if x != nil {
|
|
|
|
return x.TachyonAuthToken
|
2023-07-09 11:16:52 +00:00
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
2023-07-17 23:57:20 +00:00
|
|
|
func (x *AuthMessage) GetConfigVersion() *ConfigVersion {
|
2023-07-09 11:16:52 +00:00
|
|
|
if x != nil {
|
2023-07-17 23:57:20 +00:00
|
|
|
return x.ConfigVersion
|
2023-07-09 11:16:52 +00:00
|
|
|
}
|
2023-07-17 23:57:20 +00:00
|
|
|
return nil
|
2023-07-09 11:16:52 +00:00
|
|
|
}
|
|
|
|
|
2023-07-17 23:57:20 +00:00
|
|
|
type RevokeRelayPairingRequest struct {
|
2023-07-09 11:16:52 +00:00
|
|
|
state protoimpl.MessageState
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
|
2023-07-17 23:57:20 +00:00
|
|
|
AuthMessage *AuthMessage `protobuf:"bytes,1,opt,name=authMessage,proto3" json:"authMessage,omitempty"`
|
|
|
|
Browser *Device `protobuf:"bytes,2,opt,name=browser,proto3" json:"browser,omitempty"`
|
2023-07-09 11:16:52 +00:00
|
|
|
}
|
|
|
|
|
2023-07-17 23:57:20 +00:00
|
|
|
func (x *RevokeRelayPairingRequest) Reset() {
|
|
|
|
*x = RevokeRelayPairingRequest{}
|
2023-07-09 11:16:52 +00:00
|
|
|
if protoimpl.UnsafeEnabled {
|
2023-07-15 22:56:11 +00:00
|
|
|
mi := &file_authentication_proto_msgTypes[5]
|
2023-07-09 11:16:52 +00:00
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2023-07-17 23:57:20 +00:00
|
|
|
func (x *RevokeRelayPairingRequest) String() string {
|
2023-07-09 11:16:52 +00:00
|
|
|
return protoimpl.X.MessageStringOf(x)
|
|
|
|
}
|
|
|
|
|
2023-07-17 23:57:20 +00:00
|
|
|
func (*RevokeRelayPairingRequest) ProtoMessage() {}
|
2023-07-09 11:16:52 +00:00
|
|
|
|
2023-07-17 23:57:20 +00:00
|
|
|
func (x *RevokeRelayPairingRequest) ProtoReflect() protoreflect.Message {
|
2023-07-15 22:56:11 +00:00
|
|
|
mi := &file_authentication_proto_msgTypes[5]
|
2023-07-09 11:16:52 +00:00
|
|
|
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)
|
|
|
|
}
|
|
|
|
|
2023-07-17 23:57:20 +00:00
|
|
|
// Deprecated: Use RevokeRelayPairingRequest.ProtoReflect.Descriptor instead.
|
|
|
|
func (*RevokeRelayPairingRequest) Descriptor() ([]byte, []int) {
|
2023-07-15 22:56:11 +00:00
|
|
|
return file_authentication_proto_rawDescGZIP(), []int{5}
|
2023-07-09 11:16:52 +00:00
|
|
|
}
|
|
|
|
|
2023-07-17 23:57:20 +00:00
|
|
|
func (x *RevokeRelayPairingRequest) GetAuthMessage() *AuthMessage {
|
|
|
|
if x != nil {
|
|
|
|
return x.AuthMessage
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
|
|
|
func (x *RevokeRelayPairingRequest) GetBrowser() *Device {
|
2023-07-09 11:16:52 +00:00
|
|
|
if x != nil {
|
|
|
|
return x.Browser
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
2023-07-17 23:57:20 +00:00
|
|
|
type RevokeRelayPairingResponse struct {
|
2023-07-09 11:16:52 +00:00
|
|
|
state protoimpl.MessageState
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
}
|
|
|
|
|
2023-07-17 23:57:20 +00:00
|
|
|
func (x *RevokeRelayPairingResponse) Reset() {
|
|
|
|
*x = RevokeRelayPairingResponse{}
|
2023-07-09 11:16:52 +00:00
|
|
|
if protoimpl.UnsafeEnabled {
|
2023-07-15 22:56:11 +00:00
|
|
|
mi := &file_authentication_proto_msgTypes[6]
|
2023-07-09 11:16:52 +00:00
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2023-07-17 23:57:20 +00:00
|
|
|
func (x *RevokeRelayPairingResponse) String() string {
|
2023-07-09 11:16:52 +00:00
|
|
|
return protoimpl.X.MessageStringOf(x)
|
|
|
|
}
|
|
|
|
|
2023-07-17 23:57:20 +00:00
|
|
|
func (*RevokeRelayPairingResponse) ProtoMessage() {}
|
2023-07-09 11:16:52 +00:00
|
|
|
|
2023-07-17 23:57:20 +00:00
|
|
|
func (x *RevokeRelayPairingResponse) ProtoReflect() protoreflect.Message {
|
2023-07-15 22:56:11 +00:00
|
|
|
mi := &file_authentication_proto_msgTypes[6]
|
2023-07-09 11:16:52 +00:00
|
|
|
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)
|
|
|
|
}
|
|
|
|
|
2023-07-17 23:57:20 +00:00
|
|
|
// Deprecated: Use RevokeRelayPairingResponse.ProtoReflect.Descriptor instead.
|
|
|
|
func (*RevokeRelayPairingResponse) Descriptor() ([]byte, []int) {
|
2023-07-15 22:56:11 +00:00
|
|
|
return file_authentication_proto_rawDescGZIP(), []int{6}
|
2023-07-09 11:16:52 +00:00
|
|
|
}
|
|
|
|
|
2023-07-17 23:57:20 +00:00
|
|
|
type RegisterRefreshRequest struct {
|
|
|
|
state protoimpl.MessageState
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
|
|
|
|
MessageAuth *AuthMessage `protobuf:"bytes,1,opt,name=messageAuth,proto3" json:"messageAuth,omitempty"`
|
|
|
|
CurrBrowserDevice *Device `protobuf:"bytes,2,opt,name=currBrowserDevice,proto3" json:"currBrowserDevice,omitempty"`
|
|
|
|
UnixTimestamp int64 `protobuf:"varint,3,opt,name=unixTimestamp,proto3" json:"unixTimestamp,omitempty"`
|
|
|
|
Signature []byte `protobuf:"bytes,4,opt,name=signature,proto3" json:"signature,omitempty"`
|
|
|
|
EmptyRefreshArr *RegisterRefreshRequest_NestedEmptyArr `protobuf:"bytes,13,opt,name=emptyRefreshArr,proto3" json:"emptyRefreshArr,omitempty"`
|
|
|
|
MessageType int32 `protobuf:"varint,16,opt,name=messageType,proto3" json:"messageType,omitempty"`
|
2023-07-09 11:16:52 +00:00
|
|
|
}
|
|
|
|
|
2023-07-17 23:57:20 +00:00
|
|
|
func (x *RegisterRefreshRequest) Reset() {
|
|
|
|
*x = RegisterRefreshRequest{}
|
|
|
|
if protoimpl.UnsafeEnabled {
|
|
|
|
mi := &file_authentication_proto_msgTypes[7]
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
ms.StoreMessageInfo(mi)
|
2023-07-09 11:16:52 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2023-07-17 23:57:20 +00:00
|
|
|
func (x *RegisterRefreshRequest) String() string {
|
|
|
|
return protoimpl.X.MessageStringOf(x)
|
|
|
|
}
|
|
|
|
|
|
|
|
func (*RegisterRefreshRequest) ProtoMessage() {}
|
|
|
|
|
|
|
|
func (x *RegisterRefreshRequest) ProtoReflect() protoreflect.Message {
|
|
|
|
mi := &file_authentication_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)
|
|
|
|
}
|
|
|
|
|
|
|
|
// Deprecated: Use RegisterRefreshRequest.ProtoReflect.Descriptor instead.
|
|
|
|
func (*RegisterRefreshRequest) Descriptor() ([]byte, []int) {
|
|
|
|
return file_authentication_proto_rawDescGZIP(), []int{7}
|
|
|
|
}
|
|
|
|
|
|
|
|
func (x *RegisterRefreshRequest) GetMessageAuth() *AuthMessage {
|
|
|
|
if x != nil {
|
|
|
|
return x.MessageAuth
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
|
|
|
func (x *RegisterRefreshRequest) GetCurrBrowserDevice() *Device {
|
|
|
|
if x != nil {
|
|
|
|
return x.CurrBrowserDevice
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
|
|
|
func (x *RegisterRefreshRequest) GetUnixTimestamp() int64 {
|
|
|
|
if x != nil {
|
|
|
|
return x.UnixTimestamp
|
|
|
|
}
|
|
|
|
return 0
|
|
|
|
}
|
|
|
|
|
|
|
|
func (x *RegisterRefreshRequest) GetSignature() []byte {
|
|
|
|
if x != nil {
|
|
|
|
return x.Signature
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
|
|
|
func (x *RegisterRefreshRequest) GetEmptyRefreshArr() *RegisterRefreshRequest_NestedEmptyArr {
|
|
|
|
if x != nil {
|
|
|
|
return x.EmptyRefreshArr
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
|
|
|
func (x *RegisterRefreshRequest) GetMessageType() int32 {
|
|
|
|
if x != nil {
|
|
|
|
return x.MessageType
|
|
|
|
}
|
|
|
|
return 0
|
|
|
|
}
|
|
|
|
|
|
|
|
type RegisterRefreshResponse struct {
|
|
|
|
state protoimpl.MessageState
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
|
|
|
|
TokenData *RegisterRefreshResponse_AuthKeyData `protobuf:"bytes,2,opt,name=tokenData,proto3" json:"tokenData,omitempty"`
|
|
|
|
}
|
|
|
|
|
|
|
|
func (x *RegisterRefreshResponse) Reset() {
|
|
|
|
*x = RegisterRefreshResponse{}
|
|
|
|
if protoimpl.UnsafeEnabled {
|
|
|
|
mi := &file_authentication_proto_msgTypes[8]
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
func (x *RegisterRefreshResponse) String() string {
|
|
|
|
return protoimpl.X.MessageStringOf(x)
|
|
|
|
}
|
|
|
|
|
|
|
|
func (*RegisterRefreshResponse) ProtoMessage() {}
|
|
|
|
|
|
|
|
func (x *RegisterRefreshResponse) ProtoReflect() protoreflect.Message {
|
|
|
|
mi := &file_authentication_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)
|
|
|
|
}
|
|
|
|
|
|
|
|
// Deprecated: Use RegisterRefreshResponse.ProtoReflect.Descriptor instead.
|
|
|
|
func (*RegisterRefreshResponse) Descriptor() ([]byte, []int) {
|
|
|
|
return file_authentication_proto_rawDescGZIP(), []int{8}
|
|
|
|
}
|
|
|
|
|
|
|
|
func (x *RegisterRefreshResponse) GetTokenData() *RegisterRefreshResponse_AuthKeyData {
|
|
|
|
if x != nil {
|
|
|
|
return x.TokenData
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
|
|
|
type RegisterPhoneRelayResponse struct {
|
|
|
|
state protoimpl.MessageState
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
|
|
|
|
Coordinates *CoordinateMessage `protobuf:"bytes,1,opt,name=coordinates,proto3" json:"coordinates,omitempty"`
|
|
|
|
Browser *Device `protobuf:"bytes,2,opt,name=browser,proto3" json:"browser,omitempty"`
|
|
|
|
PairingKey []byte `protobuf:"bytes,3,opt,name=pairingKey,proto3" json:"pairingKey,omitempty"`
|
|
|
|
ValidFor int64 `protobuf:"varint,4,opt,name=validFor,proto3" json:"validFor,omitempty"`
|
|
|
|
AuthKeyData *RegisterPhoneRelayResponse_AuthKeyData `protobuf:"bytes,5,opt,name=authKeyData,proto3" json:"authKeyData,omitempty"`
|
|
|
|
ResponseID string `protobuf:"bytes,6,opt,name=responseID,proto3" json:"responseID,omitempty"`
|
|
|
|
}
|
|
|
|
|
|
|
|
func (x *RegisterPhoneRelayResponse) Reset() {
|
|
|
|
*x = RegisterPhoneRelayResponse{}
|
|
|
|
if protoimpl.UnsafeEnabled {
|
|
|
|
mi := &file_authentication_proto_msgTypes[9]
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
func (x *RegisterPhoneRelayResponse) String() string {
|
|
|
|
return protoimpl.X.MessageStringOf(x)
|
|
|
|
}
|
|
|
|
|
|
|
|
func (*RegisterPhoneRelayResponse) ProtoMessage() {}
|
|
|
|
|
|
|
|
func (x *RegisterPhoneRelayResponse) ProtoReflect() protoreflect.Message {
|
|
|
|
mi := &file_authentication_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)
|
|
|
|
}
|
|
|
|
|
|
|
|
// Deprecated: Use RegisterPhoneRelayResponse.ProtoReflect.Descriptor instead.
|
|
|
|
func (*RegisterPhoneRelayResponse) Descriptor() ([]byte, []int) {
|
|
|
|
return file_authentication_proto_rawDescGZIP(), []int{9}
|
|
|
|
}
|
|
|
|
|
|
|
|
func (x *RegisterPhoneRelayResponse) GetCoordinates() *CoordinateMessage {
|
|
|
|
if x != nil {
|
|
|
|
return x.Coordinates
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
|
|
|
func (x *RegisterPhoneRelayResponse) GetBrowser() *Device {
|
|
|
|
if x != nil {
|
|
|
|
return x.Browser
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
|
|
|
func (x *RegisterPhoneRelayResponse) GetPairingKey() []byte {
|
|
|
|
if x != nil {
|
|
|
|
return x.PairingKey
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
|
|
|
func (x *RegisterPhoneRelayResponse) GetValidFor() int64 {
|
|
|
|
if x != nil {
|
|
|
|
return x.ValidFor
|
|
|
|
}
|
|
|
|
return 0
|
|
|
|
}
|
|
|
|
|
|
|
|
func (x *RegisterPhoneRelayResponse) GetAuthKeyData() *RegisterPhoneRelayResponse_AuthKeyData {
|
|
|
|
if x != nil {
|
|
|
|
return x.AuthKeyData
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
|
|
|
func (x *RegisterPhoneRelayResponse) GetResponseID() string {
|
|
|
|
if x != nil {
|
|
|
|
return x.ResponseID
|
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
|
|
|
type CoordinateMessage struct {
|
|
|
|
state protoimpl.MessageState
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
|
|
|
|
Coord1 int64 `protobuf:"varint,2,opt,name=coord1,proto3" json:"coord1,omitempty"`
|
|
|
|
}
|
|
|
|
|
|
|
|
func (x *CoordinateMessage) Reset() {
|
|
|
|
*x = CoordinateMessage{}
|
|
|
|
if protoimpl.UnsafeEnabled {
|
|
|
|
mi := &file_authentication_proto_msgTypes[10]
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
func (x *CoordinateMessage) String() string {
|
|
|
|
return protoimpl.X.MessageStringOf(x)
|
|
|
|
}
|
|
|
|
|
|
|
|
func (*CoordinateMessage) ProtoMessage() {}
|
|
|
|
|
|
|
|
func (x *CoordinateMessage) ProtoReflect() protoreflect.Message {
|
|
|
|
mi := &file_authentication_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)
|
|
|
|
}
|
|
|
|
|
|
|
|
// Deprecated: Use CoordinateMessage.ProtoReflect.Descriptor instead.
|
|
|
|
func (*CoordinateMessage) Descriptor() ([]byte, []int) {
|
|
|
|
return file_authentication_proto_rawDescGZIP(), []int{10}
|
|
|
|
}
|
|
|
|
|
|
|
|
func (x *CoordinateMessage) GetCoord1() int64 {
|
|
|
|
if x != nil {
|
|
|
|
return x.Coord1
|
|
|
|
}
|
|
|
|
return 0
|
|
|
|
}
|
|
|
|
|
|
|
|
type RefreshPhoneRelayResponse struct {
|
|
|
|
state protoimpl.MessageState
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
|
|
|
|
Coordinates *CoordinateMessage `protobuf:"bytes,1,opt,name=coordinates,proto3" json:"coordinates,omitempty"`
|
|
|
|
PairKey []byte `protobuf:"bytes,2,opt,name=pairKey,proto3" json:"pairKey,omitempty"`
|
|
|
|
ValidFor int64 `protobuf:"varint,3,opt,name=validFor,proto3" json:"validFor,omitempty"`
|
|
|
|
}
|
|
|
|
|
|
|
|
func (x *RefreshPhoneRelayResponse) Reset() {
|
|
|
|
*x = RefreshPhoneRelayResponse{}
|
|
|
|
if protoimpl.UnsafeEnabled {
|
|
|
|
mi := &file_authentication_proto_msgTypes[11]
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
func (x *RefreshPhoneRelayResponse) String() string {
|
|
|
|
return protoimpl.X.MessageStringOf(x)
|
|
|
|
}
|
|
|
|
|
|
|
|
func (*RefreshPhoneRelayResponse) ProtoMessage() {}
|
|
|
|
|
|
|
|
func (x *RefreshPhoneRelayResponse) ProtoReflect() protoreflect.Message {
|
|
|
|
mi := &file_authentication_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)
|
|
|
|
}
|
|
|
|
|
|
|
|
// Deprecated: Use RefreshPhoneRelayResponse.ProtoReflect.Descriptor instead.
|
|
|
|
func (*RefreshPhoneRelayResponse) Descriptor() ([]byte, []int) {
|
|
|
|
return file_authentication_proto_rawDescGZIP(), []int{11}
|
|
|
|
}
|
|
|
|
|
|
|
|
func (x *RefreshPhoneRelayResponse) GetCoordinates() *CoordinateMessage {
|
|
|
|
if x != nil {
|
|
|
|
return x.Coordinates
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
|
|
|
func (x *RefreshPhoneRelayResponse) GetPairKey() []byte {
|
|
|
|
if x != nil {
|
|
|
|
return x.PairKey
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
|
|
|
func (x *RefreshPhoneRelayResponse) GetValidFor() int64 {
|
|
|
|
if x != nil {
|
|
|
|
return x.ValidFor
|
|
|
|
}
|
|
|
|
return 0
|
|
|
|
}
|
|
|
|
|
|
|
|
type WebEncryptionKeyResponse struct {
|
|
|
|
state protoimpl.MessageState
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
|
|
|
|
Coordinates *CoordinateMessage `protobuf:"bytes,1,opt,name=coordinates,proto3" json:"coordinates,omitempty"`
|
|
|
|
Key []byte `protobuf:"bytes,2,opt,name=key,proto3" json:"key,omitempty"`
|
|
|
|
}
|
|
|
|
|
|
|
|
func (x *WebEncryptionKeyResponse) Reset() {
|
|
|
|
*x = WebEncryptionKeyResponse{}
|
|
|
|
if protoimpl.UnsafeEnabled {
|
|
|
|
mi := &file_authentication_proto_msgTypes[12]
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
func (x *WebEncryptionKeyResponse) String() string {
|
|
|
|
return protoimpl.X.MessageStringOf(x)
|
|
|
|
}
|
|
|
|
|
|
|
|
func (*WebEncryptionKeyResponse) ProtoMessage() {}
|
|
|
|
|
|
|
|
func (x *WebEncryptionKeyResponse) ProtoReflect() protoreflect.Message {
|
|
|
|
mi := &file_authentication_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)
|
|
|
|
}
|
|
|
|
|
|
|
|
// Deprecated: Use WebEncryptionKeyResponse.ProtoReflect.Descriptor instead.
|
|
|
|
func (*WebEncryptionKeyResponse) Descriptor() ([]byte, []int) {
|
|
|
|
return file_authentication_proto_rawDescGZIP(), []int{12}
|
|
|
|
}
|
|
|
|
|
|
|
|
func (x *WebEncryptionKeyResponse) GetCoordinates() *CoordinateMessage {
|
|
|
|
if x != nil {
|
|
|
|
return x.Coordinates
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
|
|
|
func (x *WebEncryptionKeyResponse) GetKey() []byte {
|
|
|
|
if x != nil {
|
|
|
|
return x.Key
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
2023-09-04 11:24:45 +00:00
|
|
|
type ErrorResponse struct {
|
|
|
|
state protoimpl.MessageState
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
|
|
|
|
Type int64 `protobuf:"varint,1,opt,name=type,proto3" json:"type,omitempty"` // 5?
|
|
|
|
Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"`
|
|
|
|
Class []*ErrorResponse_ErrorClass `protobuf:"bytes,3,rep,name=class,proto3" json:"class,omitempty"`
|
|
|
|
}
|
|
|
|
|
|
|
|
func (x *ErrorResponse) Reset() {
|
|
|
|
*x = ErrorResponse{}
|
|
|
|
if protoimpl.UnsafeEnabled {
|
|
|
|
mi := &file_authentication_proto_msgTypes[13]
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
func (x *ErrorResponse) String() string {
|
|
|
|
return protoimpl.X.MessageStringOf(x)
|
|
|
|
}
|
|
|
|
|
|
|
|
func (*ErrorResponse) ProtoMessage() {}
|
|
|
|
|
|
|
|
func (x *ErrorResponse) ProtoReflect() protoreflect.Message {
|
|
|
|
mi := &file_authentication_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)
|
|
|
|
}
|
|
|
|
|
|
|
|
// Deprecated: Use ErrorResponse.ProtoReflect.Descriptor instead.
|
|
|
|
func (*ErrorResponse) Descriptor() ([]byte, []int) {
|
|
|
|
return file_authentication_proto_rawDescGZIP(), []int{13}
|
|
|
|
}
|
|
|
|
|
|
|
|
func (x *ErrorResponse) GetType() int64 {
|
|
|
|
if x != nil {
|
|
|
|
return x.Type
|
|
|
|
}
|
|
|
|
return 0
|
|
|
|
}
|
|
|
|
|
|
|
|
func (x *ErrorResponse) GetMessage() string {
|
|
|
|
if x != nil {
|
|
|
|
return x.Message
|
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
|
|
|
func (x *ErrorResponse) GetClass() []*ErrorResponse_ErrorClass {
|
|
|
|
if x != nil {
|
|
|
|
return x.Class
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
2023-07-17 23:57:20 +00:00
|
|
|
type ECDSAKeys struct {
|
|
|
|
state protoimpl.MessageState
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
|
|
|
|
Field1 int64 `protobuf:"varint,1,opt,name=field1,proto3" json:"field1,omitempty"` // idk?
|
|
|
|
EncryptedKeys []byte `protobuf:"bytes,2,opt,name=encryptedKeys,proto3" json:"encryptedKeys,omitempty"`
|
|
|
|
}
|
|
|
|
|
|
|
|
func (x *ECDSAKeys) Reset() {
|
|
|
|
*x = ECDSAKeys{}
|
|
|
|
if protoimpl.UnsafeEnabled {
|
2023-09-04 11:24:45 +00:00
|
|
|
mi := &file_authentication_proto_msgTypes[14]
|
2023-07-17 23:57:20 +00:00
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
func (x *ECDSAKeys) String() string {
|
|
|
|
return protoimpl.X.MessageStringOf(x)
|
|
|
|
}
|
|
|
|
|
|
|
|
func (*ECDSAKeys) ProtoMessage() {}
|
|
|
|
|
|
|
|
func (x *ECDSAKeys) ProtoReflect() protoreflect.Message {
|
2023-09-04 11:24:45 +00:00
|
|
|
mi := &file_authentication_proto_msgTypes[14]
|
2023-07-17 23:57:20 +00:00
|
|
|
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 ECDSAKeys.ProtoReflect.Descriptor instead.
|
|
|
|
func (*ECDSAKeys) Descriptor() ([]byte, []int) {
|
2023-09-04 11:24:45 +00:00
|
|
|
return file_authentication_proto_rawDescGZIP(), []int{14}
|
2023-07-17 23:57:20 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
func (x *ECDSAKeys) GetField1() int64 {
|
|
|
|
if x != nil {
|
|
|
|
return x.Field1
|
|
|
|
}
|
|
|
|
return 0
|
|
|
|
}
|
|
|
|
|
|
|
|
func (x *ECDSAKeys) GetEncryptedKeys() []byte {
|
|
|
|
if x != nil {
|
|
|
|
return x.EncryptedKeys
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
|
|
|
type CurrentDeviceData struct {
|
|
|
|
state protoimpl.MessageState
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
|
|
|
|
Browser *Device `protobuf:"bytes,1,opt,name=browser,proto3" json:"browser,omitempty"`
|
|
|
|
}
|
|
|
|
|
|
|
|
func (x *CurrentDeviceData) Reset() {
|
|
|
|
*x = CurrentDeviceData{}
|
|
|
|
if protoimpl.UnsafeEnabled {
|
2023-09-04 11:24:45 +00:00
|
|
|
mi := &file_authentication_proto_msgTypes[15]
|
2023-07-17 23:57:20 +00:00
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
func (x *CurrentDeviceData) String() string {
|
|
|
|
return protoimpl.X.MessageStringOf(x)
|
|
|
|
}
|
|
|
|
|
|
|
|
func (*CurrentDeviceData) ProtoMessage() {}
|
|
|
|
|
|
|
|
func (x *CurrentDeviceData) ProtoReflect() protoreflect.Message {
|
2023-09-04 11:24:45 +00:00
|
|
|
mi := &file_authentication_proto_msgTypes[15]
|
2023-07-17 23:57:20 +00:00
|
|
|
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 CurrentDeviceData.ProtoReflect.Descriptor instead.
|
|
|
|
func (*CurrentDeviceData) Descriptor() ([]byte, []int) {
|
2023-09-04 11:24:45 +00:00
|
|
|
return file_authentication_proto_rawDescGZIP(), []int{15}
|
2023-07-17 23:57:20 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
func (x *CurrentDeviceData) GetBrowser() *Device {
|
|
|
|
if x != nil {
|
|
|
|
return x.Browser
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
|
|
|
type KeyData struct {
|
|
|
|
state protoimpl.MessageState
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
|
|
|
|
Mobile *Device `protobuf:"bytes,1,opt,name=mobile,proto3" json:"mobile,omitempty"`
|
|
|
|
EcdsaKeys *ECDSAKeys `protobuf:"bytes,6,opt,name=ecdsaKeys,proto3" json:"ecdsaKeys,omitempty"`
|
|
|
|
WebAuthKeyData *WebAuthKey `protobuf:"bytes,2,opt,name=webAuthKeyData,proto3" json:"webAuthKeyData,omitempty"`
|
|
|
|
Browser *Device `protobuf:"bytes,3,opt,name=browser,proto3" json:"browser,omitempty"`
|
|
|
|
}
|
|
|
|
|
|
|
|
func (x *KeyData) Reset() {
|
|
|
|
*x = KeyData{}
|
|
|
|
if protoimpl.UnsafeEnabled {
|
2023-09-04 11:24:45 +00:00
|
|
|
mi := &file_authentication_proto_msgTypes[16]
|
2023-07-17 23:57:20 +00:00
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
func (x *KeyData) String() string {
|
|
|
|
return protoimpl.X.MessageStringOf(x)
|
|
|
|
}
|
|
|
|
|
|
|
|
func (*KeyData) ProtoMessage() {}
|
|
|
|
|
|
|
|
func (x *KeyData) ProtoReflect() protoreflect.Message {
|
2023-09-04 11:24:45 +00:00
|
|
|
mi := &file_authentication_proto_msgTypes[16]
|
2023-07-17 23:57:20 +00:00
|
|
|
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 KeyData.ProtoReflect.Descriptor instead.
|
|
|
|
func (*KeyData) Descriptor() ([]byte, []int) {
|
2023-09-04 11:24:45 +00:00
|
|
|
return file_authentication_proto_rawDescGZIP(), []int{16}
|
2023-07-17 23:57:20 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
func (x *KeyData) GetMobile() *Device {
|
|
|
|
if x != nil {
|
|
|
|
return x.Mobile
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
|
|
|
func (x *KeyData) GetEcdsaKeys() *ECDSAKeys {
|
|
|
|
if x != nil {
|
|
|
|
return x.EcdsaKeys
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
|
|
|
func (x *KeyData) GetWebAuthKeyData() *WebAuthKey {
|
|
|
|
if x != nil {
|
|
|
|
return x.WebAuthKeyData
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
|
|
|
func (x *KeyData) GetBrowser() *Device {
|
|
|
|
if x != nil {
|
|
|
|
return x.Browser
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
|
|
|
type WebAuthKey struct {
|
|
|
|
state protoimpl.MessageState
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
|
|
|
|
WebAuthKey []byte `protobuf:"bytes,1,opt,name=webAuthKey,proto3" json:"webAuthKey,omitempty"`
|
|
|
|
ValidFor int64 `protobuf:"varint,2,opt,name=validFor,proto3" json:"validFor,omitempty"`
|
|
|
|
}
|
|
|
|
|
|
|
|
func (x *WebAuthKey) Reset() {
|
|
|
|
*x = WebAuthKey{}
|
|
|
|
if protoimpl.UnsafeEnabled {
|
2023-09-04 11:24:45 +00:00
|
|
|
mi := &file_authentication_proto_msgTypes[17]
|
2023-07-17 23:57:20 +00:00
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
func (x *WebAuthKey) String() string {
|
|
|
|
return protoimpl.X.MessageStringOf(x)
|
|
|
|
}
|
|
|
|
|
|
|
|
func (*WebAuthKey) ProtoMessage() {}
|
|
|
|
|
|
|
|
func (x *WebAuthKey) ProtoReflect() protoreflect.Message {
|
2023-09-04 11:24:45 +00:00
|
|
|
mi := &file_authentication_proto_msgTypes[17]
|
2023-07-17 23:57:20 +00:00
|
|
|
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 WebAuthKey.ProtoReflect.Descriptor instead.
|
|
|
|
func (*WebAuthKey) Descriptor() ([]byte, []int) {
|
2023-09-04 11:24:45 +00:00
|
|
|
return file_authentication_proto_rawDescGZIP(), []int{17}
|
2023-07-17 23:57:20 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
func (x *WebAuthKey) GetWebAuthKey() []byte {
|
|
|
|
if x != nil {
|
|
|
|
return x.WebAuthKey
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
|
|
|
func (x *WebAuthKey) GetValidFor() int64 {
|
|
|
|
if x != nil {
|
|
|
|
return x.ValidFor
|
|
|
|
}
|
|
|
|
return 0
|
|
|
|
}
|
|
|
|
|
|
|
|
type URLData struct {
|
|
|
|
state protoimpl.MessageState
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
|
|
|
|
PairingKey []byte `protobuf:"bytes,1,opt,name=pairingKey,proto3" json:"pairingKey,omitempty"`
|
|
|
|
AESKey []byte `protobuf:"bytes,2,opt,name=AESKey,proto3" json:"AESKey,omitempty"`
|
|
|
|
HMACKey []byte `protobuf:"bytes,3,opt,name=HMACKey,proto3" json:"HMACKey,omitempty"`
|
|
|
|
}
|
|
|
|
|
|
|
|
func (x *URLData) Reset() {
|
|
|
|
*x = URLData{}
|
|
|
|
if protoimpl.UnsafeEnabled {
|
2023-09-04 11:24:45 +00:00
|
|
|
mi := &file_authentication_proto_msgTypes[18]
|
2023-07-17 23:57:20 +00:00
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
func (x *URLData) String() string {
|
|
|
|
return protoimpl.X.MessageStringOf(x)
|
|
|
|
}
|
|
|
|
|
|
|
|
func (*URLData) ProtoMessage() {}
|
|
|
|
|
|
|
|
func (x *URLData) ProtoReflect() protoreflect.Message {
|
2023-09-04 11:24:45 +00:00
|
|
|
mi := &file_authentication_proto_msgTypes[18]
|
2023-07-17 23:57:20 +00:00
|
|
|
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 URLData.ProtoReflect.Descriptor instead.
|
|
|
|
func (*URLData) Descriptor() ([]byte, []int) {
|
2023-09-04 11:24:45 +00:00
|
|
|
return file_authentication_proto_rawDescGZIP(), []int{18}
|
2023-07-17 23:57:20 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
func (x *URLData) GetPairingKey() []byte {
|
|
|
|
if x != nil {
|
|
|
|
return x.PairingKey
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
|
|
|
func (x *URLData) GetAESKey() []byte {
|
|
|
|
if x != nil {
|
|
|
|
return x.AESKey
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
|
|
|
func (x *URLData) GetHMACKey() []byte {
|
|
|
|
if x != nil {
|
|
|
|
return x.HMACKey
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
|
|
|
type TokenData struct {
|
|
|
|
state protoimpl.MessageState
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
|
|
|
|
TachyonAuthToken []byte `protobuf:"bytes,1,opt,name=tachyonAuthToken,proto3" json:"tachyonAuthToken,omitempty"`
|
|
|
|
TTL int64 `protobuf:"varint,2,opt,name=TTL,proto3" json:"TTL,omitempty"`
|
|
|
|
}
|
|
|
|
|
|
|
|
func (x *TokenData) Reset() {
|
|
|
|
*x = TokenData{}
|
|
|
|
if protoimpl.UnsafeEnabled {
|
2023-09-04 11:24:45 +00:00
|
|
|
mi := &file_authentication_proto_msgTypes[19]
|
2023-07-17 23:57:20 +00:00
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
func (x *TokenData) String() string {
|
|
|
|
return protoimpl.X.MessageStringOf(x)
|
|
|
|
}
|
|
|
|
|
|
|
|
func (*TokenData) ProtoMessage() {}
|
|
|
|
|
|
|
|
func (x *TokenData) ProtoReflect() protoreflect.Message {
|
2023-09-04 11:24:45 +00:00
|
|
|
mi := &file_authentication_proto_msgTypes[19]
|
2023-07-17 23:57:20 +00:00
|
|
|
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 TokenData.ProtoReflect.Descriptor instead.
|
|
|
|
func (*TokenData) Descriptor() ([]byte, []int) {
|
2023-09-04 11:24:45 +00:00
|
|
|
return file_authentication_proto_rawDescGZIP(), []int{19}
|
2023-07-17 23:57:20 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
func (x *TokenData) GetTachyonAuthToken() []byte {
|
|
|
|
if x != nil {
|
|
|
|
return x.TachyonAuthToken
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
|
|
|
func (x *TokenData) GetTTL() int64 {
|
|
|
|
if x != nil {
|
|
|
|
return x.TTL
|
|
|
|
}
|
|
|
|
return 0
|
|
|
|
}
|
|
|
|
|
|
|
|
type PairedData struct {
|
|
|
|
state protoimpl.MessageState
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
|
|
|
|
Mobile *Device `protobuf:"bytes,1,opt,name=mobile,proto3" json:"mobile,omitempty"`
|
|
|
|
TokenData *TokenData `protobuf:"bytes,2,opt,name=tokenData,proto3" json:"tokenData,omitempty"`
|
|
|
|
Browser *Device `protobuf:"bytes,3,opt,name=browser,proto3" json:"browser,omitempty"`
|
|
|
|
}
|
|
|
|
|
|
|
|
func (x *PairedData) Reset() {
|
|
|
|
*x = PairedData{}
|
|
|
|
if protoimpl.UnsafeEnabled {
|
2023-09-04 11:24:45 +00:00
|
|
|
mi := &file_authentication_proto_msgTypes[20]
|
2023-07-17 23:57:20 +00:00
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
func (x *PairedData) String() string {
|
|
|
|
return protoimpl.X.MessageStringOf(x)
|
|
|
|
}
|
|
|
|
|
|
|
|
func (*PairedData) ProtoMessage() {}
|
|
|
|
|
|
|
|
func (x *PairedData) ProtoReflect() protoreflect.Message {
|
2023-09-04 11:24:45 +00:00
|
|
|
mi := &file_authentication_proto_msgTypes[20]
|
2023-07-17 23:57:20 +00:00
|
|
|
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 PairedData.ProtoReflect.Descriptor instead.
|
|
|
|
func (*PairedData) Descriptor() ([]byte, []int) {
|
2023-09-04 11:24:45 +00:00
|
|
|
return file_authentication_proto_rawDescGZIP(), []int{20}
|
2023-07-17 23:57:20 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
func (x *PairedData) GetMobile() *Device {
|
|
|
|
if x != nil {
|
|
|
|
return x.Mobile
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
|
|
|
func (x *PairedData) GetTokenData() *TokenData {
|
|
|
|
if x != nil {
|
|
|
|
return x.TokenData
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
|
|
|
func (x *PairedData) GetBrowser() *Device {
|
|
|
|
if x != nil {
|
|
|
|
return x.Browser
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
|
|
|
type RevokePairData struct {
|
|
|
|
state protoimpl.MessageState
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
|
|
|
|
RevokedDevice *Device `protobuf:"bytes,1,opt,name=revokedDevice,proto3" json:"revokedDevice,omitempty"`
|
|
|
|
}
|
|
|
|
|
|
|
|
func (x *RevokePairData) Reset() {
|
|
|
|
*x = RevokePairData{}
|
|
|
|
if protoimpl.UnsafeEnabled {
|
2023-09-04 11:24:45 +00:00
|
|
|
mi := &file_authentication_proto_msgTypes[21]
|
2023-07-17 23:57:20 +00:00
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
func (x *RevokePairData) String() string {
|
|
|
|
return protoimpl.X.MessageStringOf(x)
|
|
|
|
}
|
|
|
|
|
|
|
|
func (*RevokePairData) ProtoMessage() {}
|
|
|
|
|
|
|
|
func (x *RevokePairData) ProtoReflect() protoreflect.Message {
|
2023-09-04 11:24:45 +00:00
|
|
|
mi := &file_authentication_proto_msgTypes[21]
|
2023-07-17 23:57:20 +00:00
|
|
|
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 RevokePairData.ProtoReflect.Descriptor instead.
|
|
|
|
func (*RevokePairData) Descriptor() ([]byte, []int) {
|
2023-09-04 11:24:45 +00:00
|
|
|
return file_authentication_proto_rawDescGZIP(), []int{21}
|
2023-07-17 23:57:20 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
func (x *RevokePairData) GetRevokedDevice() *Device {
|
|
|
|
if x != nil {
|
|
|
|
return x.RevokedDevice
|
2023-07-09 11:16:52 +00:00
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
2023-07-17 23:57:20 +00:00
|
|
|
type RegisterRefreshRequest_NestedEmptyArr struct {
|
2023-07-09 11:16:52 +00:00
|
|
|
state protoimpl.MessageState
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
|
2023-07-17 23:57:20 +00:00
|
|
|
EmptyArr *EmptyArr `protobuf:"bytes,9,opt,name=emptyArr,proto3" json:"emptyArr,omitempty"`
|
2023-07-09 11:16:52 +00:00
|
|
|
}
|
|
|
|
|
2023-07-17 23:57:20 +00:00
|
|
|
func (x *RegisterRefreshRequest_NestedEmptyArr) Reset() {
|
|
|
|
*x = RegisterRefreshRequest_NestedEmptyArr{}
|
2023-07-09 11:16:52 +00:00
|
|
|
if protoimpl.UnsafeEnabled {
|
2023-09-04 11:24:45 +00:00
|
|
|
mi := &file_authentication_proto_msgTypes[22]
|
2023-07-09 11:16:52 +00:00
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2023-07-17 23:57:20 +00:00
|
|
|
func (x *RegisterRefreshRequest_NestedEmptyArr) String() string {
|
2023-07-09 11:16:52 +00:00
|
|
|
return protoimpl.X.MessageStringOf(x)
|
|
|
|
}
|
|
|
|
|
2023-07-17 23:57:20 +00:00
|
|
|
func (*RegisterRefreshRequest_NestedEmptyArr) ProtoMessage() {}
|
2023-07-09 11:16:52 +00:00
|
|
|
|
2023-07-17 23:57:20 +00:00
|
|
|
func (x *RegisterRefreshRequest_NestedEmptyArr) ProtoReflect() protoreflect.Message {
|
2023-09-04 11:24:45 +00:00
|
|
|
mi := &file_authentication_proto_msgTypes[22]
|
2023-07-09 11:16:52 +00:00
|
|
|
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)
|
|
|
|
}
|
|
|
|
|
2023-07-17 23:57:20 +00:00
|
|
|
// Deprecated: Use RegisterRefreshRequest_NestedEmptyArr.ProtoReflect.Descriptor instead.
|
|
|
|
func (*RegisterRefreshRequest_NestedEmptyArr) Descriptor() ([]byte, []int) {
|
|
|
|
return file_authentication_proto_rawDescGZIP(), []int{7, 0}
|
2023-07-09 11:16:52 +00:00
|
|
|
}
|
|
|
|
|
2023-07-17 23:57:20 +00:00
|
|
|
func (x *RegisterRefreshRequest_NestedEmptyArr) GetEmptyArr() *EmptyArr {
|
2023-07-09 11:16:52 +00:00
|
|
|
if x != nil {
|
2023-07-17 23:57:20 +00:00
|
|
|
return x.EmptyArr
|
2023-07-09 11:16:52 +00:00
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
2023-07-17 23:57:20 +00:00
|
|
|
type RegisterRefreshResponse_AuthKeyData struct {
|
2023-07-09 11:16:52 +00:00
|
|
|
state protoimpl.MessageState
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
|
2023-07-17 23:57:20 +00:00
|
|
|
TachyonAuthToken []byte `protobuf:"bytes,1,opt,name=tachyonAuthToken,proto3" json:"tachyonAuthToken,omitempty"`
|
|
|
|
ValidFor string `protobuf:"bytes,2,opt,name=validFor,proto3" json:"validFor,omitempty"`
|
2023-07-09 11:16:52 +00:00
|
|
|
}
|
|
|
|
|
2023-07-17 23:57:20 +00:00
|
|
|
func (x *RegisterRefreshResponse_AuthKeyData) Reset() {
|
|
|
|
*x = RegisterRefreshResponse_AuthKeyData{}
|
2023-07-09 11:16:52 +00:00
|
|
|
if protoimpl.UnsafeEnabled {
|
2023-09-04 11:24:45 +00:00
|
|
|
mi := &file_authentication_proto_msgTypes[23]
|
2023-07-09 11:16:52 +00:00
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2023-07-17 23:57:20 +00:00
|
|
|
func (x *RegisterRefreshResponse_AuthKeyData) String() string {
|
2023-07-09 11:16:52 +00:00
|
|
|
return protoimpl.X.MessageStringOf(x)
|
|
|
|
}
|
|
|
|
|
2023-07-17 23:57:20 +00:00
|
|
|
func (*RegisterRefreshResponse_AuthKeyData) ProtoMessage() {}
|
2023-07-09 11:16:52 +00:00
|
|
|
|
2023-07-17 23:57:20 +00:00
|
|
|
func (x *RegisterRefreshResponse_AuthKeyData) ProtoReflect() protoreflect.Message {
|
2023-09-04 11:24:45 +00:00
|
|
|
mi := &file_authentication_proto_msgTypes[23]
|
2023-07-09 11:16:52 +00:00
|
|
|
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)
|
|
|
|
}
|
|
|
|
|
2023-07-17 23:57:20 +00:00
|
|
|
// Deprecated: Use RegisterRefreshResponse_AuthKeyData.ProtoReflect.Descriptor instead.
|
|
|
|
func (*RegisterRefreshResponse_AuthKeyData) Descriptor() ([]byte, []int) {
|
|
|
|
return file_authentication_proto_rawDescGZIP(), []int{8, 0}
|
2023-07-09 11:16:52 +00:00
|
|
|
}
|
|
|
|
|
2023-07-17 23:57:20 +00:00
|
|
|
func (x *RegisterRefreshResponse_AuthKeyData) GetTachyonAuthToken() []byte {
|
2023-07-09 11:16:52 +00:00
|
|
|
if x != nil {
|
2023-07-17 23:57:20 +00:00
|
|
|
return x.TachyonAuthToken
|
2023-07-09 11:16:52 +00:00
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
2023-07-17 23:57:20 +00:00
|
|
|
func (x *RegisterRefreshResponse_AuthKeyData) GetValidFor() string {
|
2023-07-09 11:16:52 +00:00
|
|
|
if x != nil {
|
2023-07-17 23:57:20 +00:00
|
|
|
return x.ValidFor
|
2023-07-09 11:16:52 +00:00
|
|
|
}
|
2023-07-17 23:57:20 +00:00
|
|
|
return ""
|
2023-07-09 11:16:52 +00:00
|
|
|
}
|
|
|
|
|
2023-07-17 23:57:20 +00:00
|
|
|
type RegisterPhoneRelayResponse_AuthKeyData struct {
|
2023-07-09 11:16:52 +00:00
|
|
|
state protoimpl.MessageState
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
|
2023-07-17 23:57:20 +00:00
|
|
|
TachyonAuthToken []byte `protobuf:"bytes,1,opt,name=tachyonAuthToken,proto3" json:"tachyonAuthToken,omitempty"`
|
|
|
|
ValidFor int64 `protobuf:"varint,2,opt,name=validFor,proto3" json:"validFor,omitempty"`
|
2023-07-09 11:16:52 +00:00
|
|
|
}
|
|
|
|
|
2023-07-17 23:57:20 +00:00
|
|
|
func (x *RegisterPhoneRelayResponse_AuthKeyData) Reset() {
|
|
|
|
*x = RegisterPhoneRelayResponse_AuthKeyData{}
|
2023-07-09 11:16:52 +00:00
|
|
|
if protoimpl.UnsafeEnabled {
|
2023-09-04 11:24:45 +00:00
|
|
|
mi := &file_authentication_proto_msgTypes[24]
|
2023-07-09 11:16:52 +00:00
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2023-07-17 23:57:20 +00:00
|
|
|
func (x *RegisterPhoneRelayResponse_AuthKeyData) String() string {
|
2023-07-09 11:16:52 +00:00
|
|
|
return protoimpl.X.MessageStringOf(x)
|
|
|
|
}
|
|
|
|
|
2023-07-17 23:57:20 +00:00
|
|
|
func (*RegisterPhoneRelayResponse_AuthKeyData) ProtoMessage() {}
|
2023-07-09 11:16:52 +00:00
|
|
|
|
2023-07-17 23:57:20 +00:00
|
|
|
func (x *RegisterPhoneRelayResponse_AuthKeyData) ProtoReflect() protoreflect.Message {
|
2023-09-04 11:24:45 +00:00
|
|
|
mi := &file_authentication_proto_msgTypes[24]
|
2023-07-09 11:16:52 +00:00
|
|
|
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)
|
|
|
|
}
|
|
|
|
|
2023-07-17 23:57:20 +00:00
|
|
|
// Deprecated: Use RegisterPhoneRelayResponse_AuthKeyData.ProtoReflect.Descriptor instead.
|
|
|
|
func (*RegisterPhoneRelayResponse_AuthKeyData) Descriptor() ([]byte, []int) {
|
|
|
|
return file_authentication_proto_rawDescGZIP(), []int{9, 0}
|
2023-07-09 11:16:52 +00:00
|
|
|
}
|
|
|
|
|
2023-07-17 23:57:20 +00:00
|
|
|
func (x *RegisterPhoneRelayResponse_AuthKeyData) GetTachyonAuthToken() []byte {
|
2023-07-09 11:16:52 +00:00
|
|
|
if x != nil {
|
2023-07-17 23:57:20 +00:00
|
|
|
return x.TachyonAuthToken
|
2023-07-09 11:16:52 +00:00
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
2023-07-17 23:57:20 +00:00
|
|
|
func (x *RegisterPhoneRelayResponse_AuthKeyData) GetValidFor() int64 {
|
|
|
|
if x != nil {
|
|
|
|
return x.ValidFor
|
|
|
|
}
|
|
|
|
return 0
|
|
|
|
}
|
|
|
|
|
2023-09-04 11:24:45 +00:00
|
|
|
type ErrorResponse_ErrorClass struct {
|
|
|
|
state protoimpl.MessageState
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
|
|
|
|
Class string `protobuf:"bytes,1,opt,name=class,proto3" json:"class,omitempty"` // 2: {1: 1}
|
|
|
|
}
|
|
|
|
|
|
|
|
func (x *ErrorResponse_ErrorClass) Reset() {
|
|
|
|
*x = ErrorResponse_ErrorClass{}
|
|
|
|
if protoimpl.UnsafeEnabled {
|
|
|
|
mi := &file_authentication_proto_msgTypes[25]
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
func (x *ErrorResponse_ErrorClass) String() string {
|
|
|
|
return protoimpl.X.MessageStringOf(x)
|
|
|
|
}
|
|
|
|
|
|
|
|
func (*ErrorResponse_ErrorClass) ProtoMessage() {}
|
|
|
|
|
|
|
|
func (x *ErrorResponse_ErrorClass) ProtoReflect() protoreflect.Message {
|
|
|
|
mi := &file_authentication_proto_msgTypes[25]
|
|
|
|
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 ErrorResponse_ErrorClass.ProtoReflect.Descriptor instead.
|
|
|
|
func (*ErrorResponse_ErrorClass) Descriptor() ([]byte, []int) {
|
|
|
|
return file_authentication_proto_rawDescGZIP(), []int{13, 0}
|
|
|
|
}
|
|
|
|
|
|
|
|
func (x *ErrorResponse_ErrorClass) GetClass() string {
|
|
|
|
if x != nil {
|
|
|
|
return x.Class
|
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
2023-07-09 11:16:52 +00:00
|
|
|
var File_authentication_proto protoreflect.FileDescriptor
|
|
|
|
|
2023-07-16 23:06:35 +00:00
|
|
|
//go:embed authentication.pb.raw
|
|
|
|
var file_authentication_proto_rawDesc []byte
|
2023-07-09 11:16:52 +00:00
|
|
|
|
|
|
|
var (
|
|
|
|
file_authentication_proto_rawDescOnce sync.Once
|
|
|
|
file_authentication_proto_rawDescData = file_authentication_proto_rawDesc
|
|
|
|
)
|
|
|
|
|
|
|
|
func file_authentication_proto_rawDescGZIP() []byte {
|
|
|
|
file_authentication_proto_rawDescOnce.Do(func() {
|
|
|
|
file_authentication_proto_rawDescData = protoimpl.X.CompressGZIP(file_authentication_proto_rawDescData)
|
|
|
|
})
|
|
|
|
return file_authentication_proto_rawDescData
|
|
|
|
}
|
|
|
|
|
2023-08-24 08:16:08 +00:00
|
|
|
var file_authentication_proto_enumTypes = make([]protoimpl.EnumInfo, 2)
|
2023-09-04 11:24:45 +00:00
|
|
|
var file_authentication_proto_msgTypes = make([]protoimpl.MessageInfo, 26)
|
2023-07-09 11:16:52 +00:00
|
|
|
var file_authentication_proto_goTypes = []interface{}{
|
2023-07-17 23:57:20 +00:00
|
|
|
(BrowserType)(0), // 0: authentication.BrowserType
|
2023-08-24 08:16:08 +00:00
|
|
|
(DeviceType)(0), // 1: authentication.DeviceType
|
|
|
|
(*BrowserDetails)(nil), // 2: authentication.BrowserDetails
|
|
|
|
(*Device)(nil), // 3: authentication.Device
|
|
|
|
(*ConfigVersion)(nil), // 4: authentication.ConfigVersion
|
|
|
|
(*AuthenticationContainer)(nil), // 5: authentication.AuthenticationContainer
|
|
|
|
(*AuthMessage)(nil), // 6: authentication.AuthMessage
|
|
|
|
(*RevokeRelayPairingRequest)(nil), // 7: authentication.RevokeRelayPairingRequest
|
|
|
|
(*RevokeRelayPairingResponse)(nil), // 8: authentication.RevokeRelayPairingResponse
|
|
|
|
(*RegisterRefreshRequest)(nil), // 9: authentication.RegisterRefreshRequest
|
|
|
|
(*RegisterRefreshResponse)(nil), // 10: authentication.RegisterRefreshResponse
|
|
|
|
(*RegisterPhoneRelayResponse)(nil), // 11: authentication.RegisterPhoneRelayResponse
|
|
|
|
(*CoordinateMessage)(nil), // 12: authentication.CoordinateMessage
|
|
|
|
(*RefreshPhoneRelayResponse)(nil), // 13: authentication.RefreshPhoneRelayResponse
|
|
|
|
(*WebEncryptionKeyResponse)(nil), // 14: authentication.WebEncryptionKeyResponse
|
2023-09-04 11:24:45 +00:00
|
|
|
(*ErrorResponse)(nil), // 15: authentication.ErrorResponse
|
|
|
|
(*ECDSAKeys)(nil), // 16: authentication.ECDSAKeys
|
|
|
|
(*CurrentDeviceData)(nil), // 17: authentication.CurrentDeviceData
|
|
|
|
(*KeyData)(nil), // 18: authentication.KeyData
|
|
|
|
(*WebAuthKey)(nil), // 19: authentication.WebAuthKey
|
|
|
|
(*URLData)(nil), // 20: authentication.URLData
|
|
|
|
(*TokenData)(nil), // 21: authentication.TokenData
|
|
|
|
(*PairedData)(nil), // 22: authentication.PairedData
|
|
|
|
(*RevokePairData)(nil), // 23: authentication.RevokePairData
|
|
|
|
(*RegisterRefreshRequest_NestedEmptyArr)(nil), // 24: authentication.RegisterRefreshRequest.NestedEmptyArr
|
|
|
|
(*RegisterRefreshResponse_AuthKeyData)(nil), // 25: authentication.RegisterRefreshResponse.AuthKeyData
|
|
|
|
(*RegisterPhoneRelayResponse_AuthKeyData)(nil), // 26: authentication.RegisterPhoneRelayResponse.AuthKeyData
|
|
|
|
(*ErrorResponse_ErrorClass)(nil), // 27: authentication.ErrorResponse.ErrorClass
|
|
|
|
(*EmptyArr)(nil), // 28: util.EmptyArr
|
2023-07-09 11:16:52 +00:00
|
|
|
}
|
|
|
|
var file_authentication_proto_depIdxs = []int32{
|
2023-07-17 23:57:20 +00:00
|
|
|
0, // 0: authentication.BrowserDetails.browserType:type_name -> authentication.BrowserType
|
2023-08-24 08:16:08 +00:00
|
|
|
1, // 1: authentication.BrowserDetails.deviceType:type_name -> authentication.DeviceType
|
|
|
|
6, // 2: authentication.AuthenticationContainer.authMessage:type_name -> authentication.AuthMessage
|
|
|
|
2, // 3: authentication.AuthenticationContainer.browserDetails:type_name -> authentication.BrowserDetails
|
2023-09-04 11:24:45 +00:00
|
|
|
18, // 4: authentication.AuthenticationContainer.keyData:type_name -> authentication.KeyData
|
|
|
|
17, // 5: authentication.AuthenticationContainer.deviceData:type_name -> authentication.CurrentDeviceData
|
2023-08-24 08:16:08 +00:00
|
|
|
4, // 6: authentication.AuthMessage.configVersion:type_name -> authentication.ConfigVersion
|
|
|
|
6, // 7: authentication.RevokeRelayPairingRequest.authMessage:type_name -> authentication.AuthMessage
|
|
|
|
3, // 8: authentication.RevokeRelayPairingRequest.browser:type_name -> authentication.Device
|
|
|
|
6, // 9: authentication.RegisterRefreshRequest.messageAuth:type_name -> authentication.AuthMessage
|
|
|
|
3, // 10: authentication.RegisterRefreshRequest.currBrowserDevice:type_name -> authentication.Device
|
2023-09-04 11:24:45 +00:00
|
|
|
24, // 11: authentication.RegisterRefreshRequest.emptyRefreshArr:type_name -> authentication.RegisterRefreshRequest.NestedEmptyArr
|
|
|
|
25, // 12: authentication.RegisterRefreshResponse.tokenData:type_name -> authentication.RegisterRefreshResponse.AuthKeyData
|
2023-08-24 08:16:08 +00:00
|
|
|
12, // 13: authentication.RegisterPhoneRelayResponse.coordinates:type_name -> authentication.CoordinateMessage
|
|
|
|
3, // 14: authentication.RegisterPhoneRelayResponse.browser:type_name -> authentication.Device
|
2023-09-04 11:24:45 +00:00
|
|
|
26, // 15: authentication.RegisterPhoneRelayResponse.authKeyData:type_name -> authentication.RegisterPhoneRelayResponse.AuthKeyData
|
2023-08-24 08:16:08 +00:00
|
|
|
12, // 16: authentication.RefreshPhoneRelayResponse.coordinates:type_name -> authentication.CoordinateMessage
|
|
|
|
12, // 17: authentication.WebEncryptionKeyResponse.coordinates:type_name -> authentication.CoordinateMessage
|
2023-09-04 11:24:45 +00:00
|
|
|
27, // 18: authentication.ErrorResponse.class:type_name -> authentication.ErrorResponse.ErrorClass
|
|
|
|
3, // 19: authentication.CurrentDeviceData.browser:type_name -> authentication.Device
|
|
|
|
3, // 20: authentication.KeyData.mobile:type_name -> authentication.Device
|
|
|
|
16, // 21: authentication.KeyData.ecdsaKeys:type_name -> authentication.ECDSAKeys
|
|
|
|
19, // 22: authentication.KeyData.webAuthKeyData:type_name -> authentication.WebAuthKey
|
|
|
|
3, // 23: authentication.KeyData.browser:type_name -> authentication.Device
|
|
|
|
3, // 24: authentication.PairedData.mobile:type_name -> authentication.Device
|
|
|
|
21, // 25: authentication.PairedData.tokenData:type_name -> authentication.TokenData
|
|
|
|
3, // 26: authentication.PairedData.browser:type_name -> authentication.Device
|
|
|
|
3, // 27: authentication.RevokePairData.revokedDevice:type_name -> authentication.Device
|
|
|
|
28, // 28: authentication.RegisterRefreshRequest.NestedEmptyArr.emptyArr:type_name -> util.EmptyArr
|
|
|
|
29, // [29:29] is the sub-list for method output_type
|
|
|
|
29, // [29:29] is the sub-list for method input_type
|
|
|
|
29, // [29:29] is the sub-list for extension type_name
|
|
|
|
29, // [29:29] is the sub-list for extension extendee
|
|
|
|
0, // [0:29] is the sub-list for field type_name
|
2023-07-09 11:16:52 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
func init() { file_authentication_proto_init() }
|
|
|
|
func file_authentication_proto_init() {
|
|
|
|
if File_authentication_proto != nil {
|
|
|
|
return
|
|
|
|
}
|
2023-07-17 23:57:20 +00:00
|
|
|
file_util_proto_init()
|
2023-07-09 11:16:52 +00:00
|
|
|
if !protoimpl.UnsafeEnabled {
|
|
|
|
file_authentication_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
|
|
|
|
switch v := v.(*BrowserDetails); i {
|
|
|
|
case 0:
|
|
|
|
return &v.state
|
|
|
|
case 1:
|
|
|
|
return &v.sizeCache
|
|
|
|
case 2:
|
|
|
|
return &v.unknownFields
|
|
|
|
default:
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
}
|
|
|
|
file_authentication_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
|
2023-07-17 23:57:20 +00:00
|
|
|
switch v := v.(*Device); i {
|
2023-07-09 11:16:52 +00:00
|
|
|
case 0:
|
|
|
|
return &v.state
|
|
|
|
case 1:
|
|
|
|
return &v.sizeCache
|
|
|
|
case 2:
|
|
|
|
return &v.unknownFields
|
|
|
|
default:
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
}
|
|
|
|
file_authentication_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
|
2023-07-17 23:57:20 +00:00
|
|
|
switch v := v.(*ConfigVersion); i {
|
2023-07-09 11:16:52 +00:00
|
|
|
case 0:
|
|
|
|
return &v.state
|
|
|
|
case 1:
|
|
|
|
return &v.sizeCache
|
|
|
|
case 2:
|
|
|
|
return &v.unknownFields
|
|
|
|
default:
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
}
|
2023-07-15 22:56:11 +00:00
|
|
|
file_authentication_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
|
2023-07-17 23:57:20 +00:00
|
|
|
switch v := v.(*AuthenticationContainer); i {
|
2023-07-09 11:16:52 +00:00
|
|
|
case 0:
|
|
|
|
return &v.state
|
|
|
|
case 1:
|
|
|
|
return &v.sizeCache
|
|
|
|
case 2:
|
|
|
|
return &v.unknownFields
|
|
|
|
default:
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
}
|
2023-07-15 22:56:11 +00:00
|
|
|
file_authentication_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
|
2023-07-17 23:57:20 +00:00
|
|
|
switch v := v.(*AuthMessage); i {
|
2023-07-09 11:16:52 +00:00
|
|
|
case 0:
|
|
|
|
return &v.state
|
|
|
|
case 1:
|
|
|
|
return &v.sizeCache
|
|
|
|
case 2:
|
|
|
|
return &v.unknownFields
|
|
|
|
default:
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
}
|
2023-07-15 22:56:11 +00:00
|
|
|
file_authentication_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
|
2023-07-17 23:57:20 +00:00
|
|
|
switch v := v.(*RevokeRelayPairingRequest); i {
|
2023-07-09 11:16:52 +00:00
|
|
|
case 0:
|
|
|
|
return &v.state
|
|
|
|
case 1:
|
|
|
|
return &v.sizeCache
|
|
|
|
case 2:
|
|
|
|
return &v.unknownFields
|
|
|
|
default:
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
}
|
2023-07-15 22:56:11 +00:00
|
|
|
file_authentication_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
|
2023-07-17 23:57:20 +00:00
|
|
|
switch v := v.(*RevokeRelayPairingResponse); i {
|
2023-07-09 11:16:52 +00:00
|
|
|
case 0:
|
|
|
|
return &v.state
|
|
|
|
case 1:
|
|
|
|
return &v.sizeCache
|
|
|
|
case 2:
|
|
|
|
return &v.unknownFields
|
|
|
|
default:
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
}
|
2023-07-15 22:56:11 +00:00
|
|
|
file_authentication_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} {
|
2023-07-17 23:57:20 +00:00
|
|
|
switch v := v.(*RegisterRefreshRequest); i {
|
2023-07-09 11:16:52 +00:00
|
|
|
case 0:
|
|
|
|
return &v.state
|
|
|
|
case 1:
|
|
|
|
return &v.sizeCache
|
|
|
|
case 2:
|
|
|
|
return &v.unknownFields
|
|
|
|
default:
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
}
|
2023-07-15 22:56:11 +00:00
|
|
|
file_authentication_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} {
|
2023-07-17 23:57:20 +00:00
|
|
|
switch v := v.(*RegisterRefreshResponse); i {
|
2023-07-09 11:16:52 +00:00
|
|
|
case 0:
|
|
|
|
return &v.state
|
|
|
|
case 1:
|
|
|
|
return &v.sizeCache
|
|
|
|
case 2:
|
|
|
|
return &v.unknownFields
|
|
|
|
default:
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
}
|
2023-07-15 22:56:11 +00:00
|
|
|
file_authentication_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} {
|
2023-07-17 23:57:20 +00:00
|
|
|
switch v := v.(*RegisterPhoneRelayResponse); i {
|
|
|
|
case 0:
|
|
|
|
return &v.state
|
|
|
|
case 1:
|
|
|
|
return &v.sizeCache
|
|
|
|
case 2:
|
|
|
|
return &v.unknownFields
|
|
|
|
default:
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
}
|
|
|
|
file_authentication_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} {
|
|
|
|
switch v := v.(*CoordinateMessage); i {
|
|
|
|
case 0:
|
|
|
|
return &v.state
|
|
|
|
case 1:
|
|
|
|
return &v.sizeCache
|
|
|
|
case 2:
|
|
|
|
return &v.unknownFields
|
|
|
|
default:
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
}
|
|
|
|
file_authentication_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} {
|
|
|
|
switch v := v.(*RefreshPhoneRelayResponse); i {
|
|
|
|
case 0:
|
|
|
|
return &v.state
|
|
|
|
case 1:
|
|
|
|
return &v.sizeCache
|
|
|
|
case 2:
|
|
|
|
return &v.unknownFields
|
|
|
|
default:
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
}
|
|
|
|
file_authentication_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} {
|
|
|
|
switch v := v.(*WebEncryptionKeyResponse); i {
|
|
|
|
case 0:
|
|
|
|
return &v.state
|
|
|
|
case 1:
|
|
|
|
return &v.sizeCache
|
|
|
|
case 2:
|
|
|
|
return &v.unknownFields
|
|
|
|
default:
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
}
|
|
|
|
file_authentication_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} {
|
2023-09-04 11:24:45 +00:00
|
|
|
switch v := v.(*ErrorResponse); i {
|
2023-07-17 23:57:20 +00:00
|
|
|
case 0:
|
|
|
|
return &v.state
|
|
|
|
case 1:
|
|
|
|
return &v.sizeCache
|
|
|
|
case 2:
|
|
|
|
return &v.unknownFields
|
|
|
|
default:
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
}
|
|
|
|
file_authentication_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} {
|
2023-09-04 11:24:45 +00:00
|
|
|
switch v := v.(*ECDSAKeys); i {
|
2023-07-17 23:57:20 +00:00
|
|
|
case 0:
|
|
|
|
return &v.state
|
|
|
|
case 1:
|
|
|
|
return &v.sizeCache
|
|
|
|
case 2:
|
|
|
|
return &v.unknownFields
|
|
|
|
default:
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
}
|
|
|
|
file_authentication_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} {
|
2023-09-04 11:24:45 +00:00
|
|
|
switch v := v.(*CurrentDeviceData); i {
|
2023-07-17 23:57:20 +00:00
|
|
|
case 0:
|
|
|
|
return &v.state
|
|
|
|
case 1:
|
|
|
|
return &v.sizeCache
|
|
|
|
case 2:
|
|
|
|
return &v.unknownFields
|
|
|
|
default:
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
}
|
|
|
|
file_authentication_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} {
|
2023-09-04 11:24:45 +00:00
|
|
|
switch v := v.(*KeyData); i {
|
2023-07-17 23:57:20 +00:00
|
|
|
case 0:
|
|
|
|
return &v.state
|
|
|
|
case 1:
|
|
|
|
return &v.sizeCache
|
|
|
|
case 2:
|
|
|
|
return &v.unknownFields
|
|
|
|
default:
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
}
|
|
|
|
file_authentication_proto_msgTypes[17].Exporter = func(v interface{}, i int) interface{} {
|
2023-09-04 11:24:45 +00:00
|
|
|
switch v := v.(*WebAuthKey); i {
|
2023-07-17 23:57:20 +00:00
|
|
|
case 0:
|
|
|
|
return &v.state
|
|
|
|
case 1:
|
|
|
|
return &v.sizeCache
|
|
|
|
case 2:
|
|
|
|
return &v.unknownFields
|
|
|
|
default:
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
}
|
|
|
|
file_authentication_proto_msgTypes[18].Exporter = func(v interface{}, i int) interface{} {
|
2023-09-04 11:24:45 +00:00
|
|
|
switch v := v.(*URLData); i {
|
2023-07-17 23:57:20 +00:00
|
|
|
case 0:
|
|
|
|
return &v.state
|
|
|
|
case 1:
|
|
|
|
return &v.sizeCache
|
|
|
|
case 2:
|
|
|
|
return &v.unknownFields
|
|
|
|
default:
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
}
|
|
|
|
file_authentication_proto_msgTypes[19].Exporter = func(v interface{}, i int) interface{} {
|
2023-09-04 11:24:45 +00:00
|
|
|
switch v := v.(*TokenData); i {
|
2023-07-17 23:57:20 +00:00
|
|
|
case 0:
|
|
|
|
return &v.state
|
|
|
|
case 1:
|
|
|
|
return &v.sizeCache
|
|
|
|
case 2:
|
|
|
|
return &v.unknownFields
|
|
|
|
default:
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
}
|
|
|
|
file_authentication_proto_msgTypes[20].Exporter = func(v interface{}, i int) interface{} {
|
2023-09-04 11:24:45 +00:00
|
|
|
switch v := v.(*PairedData); i {
|
2023-07-09 11:16:52 +00:00
|
|
|
case 0:
|
|
|
|
return &v.state
|
|
|
|
case 1:
|
|
|
|
return &v.sizeCache
|
|
|
|
case 2:
|
|
|
|
return &v.unknownFields
|
|
|
|
default:
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
}
|
2023-07-17 23:57:20 +00:00
|
|
|
file_authentication_proto_msgTypes[21].Exporter = func(v interface{}, i int) interface{} {
|
2023-09-04 11:24:45 +00:00
|
|
|
switch v := v.(*RevokePairData); i {
|
2023-07-17 23:57:20 +00:00
|
|
|
case 0:
|
|
|
|
return &v.state
|
|
|
|
case 1:
|
|
|
|
return &v.sizeCache
|
|
|
|
case 2:
|
|
|
|
return &v.unknownFields
|
|
|
|
default:
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
}
|
|
|
|
file_authentication_proto_msgTypes[22].Exporter = func(v interface{}, i int) interface{} {
|
2023-09-04 11:24:45 +00:00
|
|
|
switch v := v.(*RegisterRefreshRequest_NestedEmptyArr); i {
|
2023-07-17 23:57:20 +00:00
|
|
|
case 0:
|
|
|
|
return &v.state
|
|
|
|
case 1:
|
|
|
|
return &v.sizeCache
|
|
|
|
case 2:
|
|
|
|
return &v.unknownFields
|
|
|
|
default:
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
}
|
|
|
|
file_authentication_proto_msgTypes[23].Exporter = func(v interface{}, i int) interface{} {
|
2023-09-04 11:24:45 +00:00
|
|
|
switch v := v.(*RegisterRefreshResponse_AuthKeyData); i {
|
|
|
|
case 0:
|
|
|
|
return &v.state
|
|
|
|
case 1:
|
|
|
|
return &v.sizeCache
|
|
|
|
case 2:
|
|
|
|
return &v.unknownFields
|
|
|
|
default:
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
}
|
|
|
|
file_authentication_proto_msgTypes[24].Exporter = func(v interface{}, i int) interface{} {
|
2023-07-17 23:57:20 +00:00
|
|
|
switch v := v.(*RegisterPhoneRelayResponse_AuthKeyData); i {
|
|
|
|
case 0:
|
|
|
|
return &v.state
|
|
|
|
case 1:
|
|
|
|
return &v.sizeCache
|
|
|
|
case 2:
|
|
|
|
return &v.unknownFields
|
|
|
|
default:
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
}
|
2023-09-04 11:24:45 +00:00
|
|
|
file_authentication_proto_msgTypes[25].Exporter = func(v interface{}, i int) interface{} {
|
|
|
|
switch v := v.(*ErrorResponse_ErrorClass); i {
|
|
|
|
case 0:
|
|
|
|
return &v.state
|
|
|
|
case 1:
|
|
|
|
return &v.sizeCache
|
|
|
|
case 2:
|
|
|
|
return &v.unknownFields
|
|
|
|
default:
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
}
|
2023-07-09 11:16:52 +00:00
|
|
|
}
|
2023-07-17 23:57:20 +00:00
|
|
|
file_authentication_proto_msgTypes[3].OneofWrappers = []interface{}{
|
2023-07-09 11:16:52 +00:00
|
|
|
(*AuthenticationContainer_KeyData)(nil),
|
|
|
|
(*AuthenticationContainer_DeviceData)(nil),
|
|
|
|
}
|
2023-07-17 23:57:20 +00:00
|
|
|
file_authentication_proto_msgTypes[4].OneofWrappers = []interface{}{}
|
2023-07-09 11:16:52 +00:00
|
|
|
type x struct{}
|
|
|
|
out := protoimpl.TypeBuilder{
|
|
|
|
File: protoimpl.DescBuilder{
|
|
|
|
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
|
|
|
RawDescriptor: file_authentication_proto_rawDesc,
|
2023-08-24 08:16:08 +00:00
|
|
|
NumEnums: 2,
|
2023-09-04 11:24:45 +00:00
|
|
|
NumMessages: 26,
|
2023-07-09 11:16:52 +00:00
|
|
|
NumExtensions: 0,
|
|
|
|
NumServices: 0,
|
|
|
|
},
|
|
|
|
GoTypes: file_authentication_proto_goTypes,
|
|
|
|
DependencyIndexes: file_authentication_proto_depIdxs,
|
2023-07-17 23:57:20 +00:00
|
|
|
EnumInfos: file_authentication_proto_enumTypes,
|
2023-07-09 11:16:52 +00:00
|
|
|
MessageInfos: file_authentication_proto_msgTypes,
|
|
|
|
}.Build()
|
|
|
|
File_authentication_proto = out.File
|
|
|
|
file_authentication_proto_rawDesc = nil
|
|
|
|
file_authentication_proto_goTypes = nil
|
|
|
|
file_authentication_proto_depIdxs = nil
|
|
|
|
}
|