gmessages/libgm/gmproto/authentication.pb.go

1965 lines
54 KiB
Go
Raw Normal View History

// 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
import (
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
reflect "reflect"
sync "sync"
)
import _ "embed"
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}
}
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"`
SomeBool bool `protobuf:"varint,6,opt,name=someBool,proto3" json:"someBool,omitempty"`
}
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 {
if x != nil {
return x.BrowserType
}
2023-07-17 23:57:20 +00:00
return BrowserType_UNKNOWN_BROWSER_TYPE
}
2023-07-16 13:19:33 +00:00
func (x *BrowserDetails) GetOS() string {
if x != nil {
2023-07-16 13:19:33 +00:00
return x.OS
}
return ""
}
func (x *BrowserDetails) GetSomeBool() bool {
if x != nil {
return x.SomeBool
}
return false
}
2023-07-17 23:57:20 +00:00
type Device struct {
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-17 23:57:20 +00:00
func (x *Device) Reset() {
*x = Device{}
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 {
return protoimpl.X.MessageStringOf(x)
}
2023-07-17 23:57:20 +00:00
func (*Device) ProtoMessage() {}
2023-07-17 23:57:20 +00:00
func (x *Device) ProtoReflect() protoreflect.Message {
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) {
return file_authentication_proto_rawDescGZIP(), []int{1}
}
2023-07-17 23:57:20 +00:00
func (x *Device) GetUserID() int64 {
if x != nil {
2023-07-17 23:57:20 +00:00
return x.UserID
}
2023-07-17 23:57:20 +00:00
return 0
}
2023-07-17 23:57:20 +00:00
func (x *Device) GetSourceID() string {
if x != nil {
2023-07-17 23:57:20 +00:00
return x.SourceID
}
2023-07-17 23:57:20 +00:00
return ""
}
2023-07-17 23:57:20 +00:00
func (x *Device) GetNetwork() string {
if x != nil {
return x.Network
}
2023-07-17 23:57:20 +00:00
return ""
}
2023-07-17 23:57:20 +00:00
type ConfigVersion struct {
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-17 23:57:20 +00:00
func (x *ConfigVersion) Reset() {
*x = ConfigVersion{}
if protoimpl.UnsafeEnabled {
2023-07-15 22:56:11 +00:00
mi := &file_authentication_proto_msgTypes[2]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
2023-07-17 23:57:20 +00:00
func (x *ConfigVersion) String() string {
return protoimpl.X.MessageStringOf(x)
}
2023-07-17 23:57:20 +00:00
func (*ConfigVersion) ProtoMessage() {}
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]
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-17 23:57:20 +00:00
func (x *ConfigVersion) GetYear() int32 {
if x != nil {
2023-07-17 23:57:20 +00:00
return x.Year
}
return 0
}
2023-07-17 23:57:20 +00:00
func (x *ConfigVersion) GetMonth() int32 {
if x != nil {
2023-07-17 23:57:20 +00:00
return x.Month
}
2023-07-17 23:57:20 +00:00
return 0
}
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 {
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-17 23:57:20 +00:00
func (x *AuthenticationContainer) Reset() {
*x = AuthenticationContainer{}
if protoimpl.UnsafeEnabled {
2023-07-15 22:56:11 +00:00
mi := &file_authentication_proto_msgTypes[3]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
2023-07-17 23:57:20 +00:00
func (x *AuthenticationContainer) String() string {
return protoimpl.X.MessageStringOf(x)
}
2023-07-17 23:57:20 +00:00
func (*AuthenticationContainer) ProtoMessage() {}
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]
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-17 23:57:20 +00:00
func (x *AuthenticationContainer) GetAuthMessage() *AuthMessage {
if x != nil {
2023-07-17 23:57:20 +00:00
return x.AuthMessage
}
return nil
}
2023-07-17 23:57:20 +00:00
func (x *AuthenticationContainer) GetBrowserDetails() *BrowserDetails {
if x != nil {
2023-07-17 23:57:20 +00:00
return x.BrowserDetails
}
return nil
}
2023-07-17 23:57:20 +00:00
func (m *AuthenticationContainer) GetData() isAuthenticationContainer_Data {
if m != nil {
return m.Data
}
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
}
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 {
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-17 23:57:20 +00:00
func (x *AuthMessage) Reset() {
*x = AuthMessage{}
if protoimpl.UnsafeEnabled {
2023-07-15 22:56:11 +00:00
mi := &file_authentication_proto_msgTypes[4]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
2023-07-17 23:57:20 +00:00
func (x *AuthMessage) String() string {
return protoimpl.X.MessageStringOf(x)
}
2023-07-17 23:57:20 +00:00
func (*AuthMessage) ProtoMessage() {}
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]
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-17 23:57:20 +00:00
func (x *AuthMessage) GetRequestID() string {
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
}
return nil
}
2023-07-17 23:57:20 +00:00
func (x *AuthMessage) GetConfigVersion() *ConfigVersion {
if x != nil {
2023-07-17 23:57:20 +00:00
return x.ConfigVersion
}
2023-07-17 23:57:20 +00:00
return nil
}
2023-07-17 23:57:20 +00:00
type RevokeRelayPairingRequest struct {
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-17 23:57:20 +00:00
func (x *RevokeRelayPairingRequest) Reset() {
*x = RevokeRelayPairingRequest{}
if protoimpl.UnsafeEnabled {
2023-07-15 22:56:11 +00:00
mi := &file_authentication_proto_msgTypes[5]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
2023-07-17 23:57:20 +00:00
func (x *RevokeRelayPairingRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
2023-07-17 23:57:20 +00:00
func (*RevokeRelayPairingRequest) ProtoMessage() {}
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]
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-17 23:57:20 +00:00
func (x *RevokeRelayPairingRequest) GetAuthMessage() *AuthMessage {
if x != nil {
return x.AuthMessage
}
return nil
}
func (x *RevokeRelayPairingRequest) GetBrowser() *Device {
if x != nil {
return x.Browser
}
return nil
}
2023-07-17 23:57:20 +00:00
type RevokeRelayPairingResponse struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
}
2023-07-17 23:57:20 +00:00
func (x *RevokeRelayPairingResponse) Reset() {
*x = RevokeRelayPairingResponse{}
if protoimpl.UnsafeEnabled {
2023-07-15 22:56:11 +00:00
mi := &file_authentication_proto_msgTypes[6]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
2023-07-17 23:57:20 +00:00
func (x *RevokeRelayPairingResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
2023-07-17 23:57:20 +00:00
func (*RevokeRelayPairingResponse) ProtoMessage() {}
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]
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-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-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-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
}
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 {
mi := &file_authentication_proto_msgTypes[13]
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 {
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 ECDSAKeys.ProtoReflect.Descriptor instead.
func (*ECDSAKeys) Descriptor() ([]byte, []int) {
return file_authentication_proto_rawDescGZIP(), []int{13}
}
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 {
mi := &file_authentication_proto_msgTypes[14]
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 {
mi := &file_authentication_proto_msgTypes[14]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use CurrentDeviceData.ProtoReflect.Descriptor instead.
func (*CurrentDeviceData) Descriptor() ([]byte, []int) {
return file_authentication_proto_rawDescGZIP(), []int{14}
}
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 {
mi := &file_authentication_proto_msgTypes[15]
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 {
mi := &file_authentication_proto_msgTypes[15]
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) {
return file_authentication_proto_rawDescGZIP(), []int{15}
}
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 {
mi := &file_authentication_proto_msgTypes[16]
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 {
mi := &file_authentication_proto_msgTypes[16]
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) {
return file_authentication_proto_rawDescGZIP(), []int{16}
}
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 {
mi := &file_authentication_proto_msgTypes[17]
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 {
mi := &file_authentication_proto_msgTypes[17]
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) {
return file_authentication_proto_rawDescGZIP(), []int{17}
}
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 {
mi := &file_authentication_proto_msgTypes[18]
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 {
mi := &file_authentication_proto_msgTypes[18]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use TokenData.ProtoReflect.Descriptor instead.
func (*TokenData) Descriptor() ([]byte, []int) {
return file_authentication_proto_rawDescGZIP(), []int{18}
}
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 {
mi := &file_authentication_proto_msgTypes[19]
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 {
mi := &file_authentication_proto_msgTypes[19]
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) {
return file_authentication_proto_rawDescGZIP(), []int{19}
}
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 {
mi := &file_authentication_proto_msgTypes[20]
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 {
mi := &file_authentication_proto_msgTypes[20]
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) {
return file_authentication_proto_rawDescGZIP(), []int{20}
}
func (x *RevokePairData) GetRevokedDevice() *Device {
if x != nil {
return x.RevokedDevice
}
return nil
}
2023-07-17 23:57:20 +00:00
type RegisterRefreshRequest_NestedEmptyArr struct {
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-17 23:57:20 +00:00
func (x *RegisterRefreshRequest_NestedEmptyArr) Reset() {
*x = RegisterRefreshRequest_NestedEmptyArr{}
if protoimpl.UnsafeEnabled {
2023-07-17 23:57:20 +00:00
mi := &file_authentication_proto_msgTypes[21]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
2023-07-17 23:57:20 +00:00
func (x *RegisterRefreshRequest_NestedEmptyArr) String() string {
return protoimpl.X.MessageStringOf(x)
}
2023-07-17 23:57:20 +00:00
func (*RegisterRefreshRequest_NestedEmptyArr) ProtoMessage() {}
2023-07-17 23:57:20 +00:00
func (x *RegisterRefreshRequest_NestedEmptyArr) ProtoReflect() protoreflect.Message {
mi := &file_authentication_proto_msgTypes[21]
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-17 23:57:20 +00:00
func (x *RegisterRefreshRequest_NestedEmptyArr) GetEmptyArr() *EmptyArr {
if x != nil {
2023-07-17 23:57:20 +00:00
return x.EmptyArr
}
return nil
}
2023-07-17 23:57:20 +00:00
type RegisterRefreshResponse_AuthKeyData struct {
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-17 23:57:20 +00:00
func (x *RegisterRefreshResponse_AuthKeyData) Reset() {
*x = RegisterRefreshResponse_AuthKeyData{}
if protoimpl.UnsafeEnabled {
2023-07-17 23:57:20 +00:00
mi := &file_authentication_proto_msgTypes[22]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
2023-07-17 23:57:20 +00:00
func (x *RegisterRefreshResponse_AuthKeyData) String() string {
return protoimpl.X.MessageStringOf(x)
}
2023-07-17 23:57:20 +00:00
func (*RegisterRefreshResponse_AuthKeyData) ProtoMessage() {}
2023-07-17 23:57:20 +00:00
func (x *RegisterRefreshResponse_AuthKeyData) ProtoReflect() protoreflect.Message {
mi := &file_authentication_proto_msgTypes[22]
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-17 23:57:20 +00:00
func (x *RegisterRefreshResponse_AuthKeyData) GetTachyonAuthToken() []byte {
if x != nil {
2023-07-17 23:57:20 +00:00
return x.TachyonAuthToken
}
return nil
}
2023-07-17 23:57:20 +00:00
func (x *RegisterRefreshResponse_AuthKeyData) GetValidFor() string {
if x != nil {
2023-07-17 23:57:20 +00:00
return x.ValidFor
}
2023-07-17 23:57:20 +00:00
return ""
}
2023-07-17 23:57:20 +00:00
type RegisterPhoneRelayResponse_AuthKeyData struct {
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-17 23:57:20 +00:00
func (x *RegisterPhoneRelayResponse_AuthKeyData) Reset() {
*x = RegisterPhoneRelayResponse_AuthKeyData{}
if protoimpl.UnsafeEnabled {
2023-07-17 23:57:20 +00:00
mi := &file_authentication_proto_msgTypes[23]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
2023-07-17 23:57:20 +00:00
func (x *RegisterPhoneRelayResponse_AuthKeyData) String() string {
return protoimpl.X.MessageStringOf(x)
}
2023-07-17 23:57:20 +00:00
func (*RegisterPhoneRelayResponse_AuthKeyData) ProtoMessage() {}
2023-07-17 23:57:20 +00:00
func (x *RegisterPhoneRelayResponse_AuthKeyData) ProtoReflect() protoreflect.Message {
mi := &file_authentication_proto_msgTypes[23]
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-17 23:57:20 +00:00
func (x *RegisterPhoneRelayResponse_AuthKeyData) GetTachyonAuthToken() []byte {
if x != nil {
2023-07-17 23:57:20 +00:00
return x.TachyonAuthToken
}
return nil
}
2023-07-17 23:57:20 +00:00
func (x *RegisterPhoneRelayResponse_AuthKeyData) GetValidFor() int64 {
if x != nil {
return x.ValidFor
}
return 0
}
var File_authentication_proto protoreflect.FileDescriptor
//go:embed authentication.pb.raw
var file_authentication_proto_rawDesc []byte
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-07-17 23:57:20 +00:00
var file_authentication_proto_enumTypes = make([]protoimpl.EnumInfo, 1)
var file_authentication_proto_msgTypes = make([]protoimpl.MessageInfo, 24)
var file_authentication_proto_goTypes = []interface{}{
2023-07-17 23:57:20 +00:00
(BrowserType)(0), // 0: authentication.BrowserType
(*BrowserDetails)(nil), // 1: authentication.BrowserDetails
(*Device)(nil), // 2: authentication.Device
(*ConfigVersion)(nil), // 3: authentication.ConfigVersion
(*AuthenticationContainer)(nil), // 4: authentication.AuthenticationContainer
(*AuthMessage)(nil), // 5: authentication.AuthMessage
(*RevokeRelayPairingRequest)(nil), // 6: authentication.RevokeRelayPairingRequest
(*RevokeRelayPairingResponse)(nil), // 7: authentication.RevokeRelayPairingResponse
(*RegisterRefreshRequest)(nil), // 8: authentication.RegisterRefreshRequest
(*RegisterRefreshResponse)(nil), // 9: authentication.RegisterRefreshResponse
(*RegisterPhoneRelayResponse)(nil), // 10: authentication.RegisterPhoneRelayResponse
(*CoordinateMessage)(nil), // 11: authentication.CoordinateMessage
(*RefreshPhoneRelayResponse)(nil), // 12: authentication.RefreshPhoneRelayResponse
(*WebEncryptionKeyResponse)(nil), // 13: authentication.WebEncryptionKeyResponse
(*ECDSAKeys)(nil), // 14: authentication.ECDSAKeys
(*CurrentDeviceData)(nil), // 15: authentication.CurrentDeviceData
(*KeyData)(nil), // 16: authentication.KeyData
(*WebAuthKey)(nil), // 17: authentication.WebAuthKey
(*URLData)(nil), // 18: authentication.URLData
(*TokenData)(nil), // 19: authentication.TokenData
(*PairedData)(nil), // 20: authentication.PairedData
(*RevokePairData)(nil), // 21: authentication.RevokePairData
(*RegisterRefreshRequest_NestedEmptyArr)(nil), // 22: authentication.RegisterRefreshRequest.NestedEmptyArr
(*RegisterRefreshResponse_AuthKeyData)(nil), // 23: authentication.RegisterRefreshResponse.AuthKeyData
(*RegisterPhoneRelayResponse_AuthKeyData)(nil), // 24: authentication.RegisterPhoneRelayResponse.AuthKeyData
(*EmptyArr)(nil), // 25: util.EmptyArr
}
var file_authentication_proto_depIdxs = []int32{
2023-07-17 23:57:20 +00:00
0, // 0: authentication.BrowserDetails.browserType:type_name -> authentication.BrowserType
5, // 1: authentication.AuthenticationContainer.authMessage:type_name -> authentication.AuthMessage
1, // 2: authentication.AuthenticationContainer.browserDetails:type_name -> authentication.BrowserDetails
16, // 3: authentication.AuthenticationContainer.keyData:type_name -> authentication.KeyData
15, // 4: authentication.AuthenticationContainer.deviceData:type_name -> authentication.CurrentDeviceData
3, // 5: authentication.AuthMessage.configVersion:type_name -> authentication.ConfigVersion
5, // 6: authentication.RevokeRelayPairingRequest.authMessage:type_name -> authentication.AuthMessage
2, // 7: authentication.RevokeRelayPairingRequest.browser:type_name -> authentication.Device
5, // 8: authentication.RegisterRefreshRequest.messageAuth:type_name -> authentication.AuthMessage
2, // 9: authentication.RegisterRefreshRequest.currBrowserDevice:type_name -> authentication.Device
22, // 10: authentication.RegisterRefreshRequest.emptyRefreshArr:type_name -> authentication.RegisterRefreshRequest.NestedEmptyArr
23, // 11: authentication.RegisterRefreshResponse.tokenData:type_name -> authentication.RegisterRefreshResponse.AuthKeyData
11, // 12: authentication.RegisterPhoneRelayResponse.coordinates:type_name -> authentication.CoordinateMessage
2, // 13: authentication.RegisterPhoneRelayResponse.browser:type_name -> authentication.Device
24, // 14: authentication.RegisterPhoneRelayResponse.authKeyData:type_name -> authentication.RegisterPhoneRelayResponse.AuthKeyData
11, // 15: authentication.RefreshPhoneRelayResponse.coordinates:type_name -> authentication.CoordinateMessage
11, // 16: authentication.WebEncryptionKeyResponse.coordinates:type_name -> authentication.CoordinateMessage
2, // 17: authentication.CurrentDeviceData.browser:type_name -> authentication.Device
2, // 18: authentication.KeyData.mobile:type_name -> authentication.Device
14, // 19: authentication.KeyData.ecdsaKeys:type_name -> authentication.ECDSAKeys
17, // 20: authentication.KeyData.webAuthKeyData:type_name -> authentication.WebAuthKey
2, // 21: authentication.KeyData.browser:type_name -> authentication.Device
2, // 22: authentication.PairedData.mobile:type_name -> authentication.Device
19, // 23: authentication.PairedData.tokenData:type_name -> authentication.TokenData
2, // 24: authentication.PairedData.browser:type_name -> authentication.Device
2, // 25: authentication.RevokePairData.revokedDevice:type_name -> authentication.Device
25, // 26: authentication.RegisterRefreshRequest.NestedEmptyArr.emptyArr:type_name -> util.EmptyArr
27, // [27:27] is the sub-list for method output_type
27, // [27:27] is the sub-list for method input_type
27, // [27:27] is the sub-list for extension type_name
27, // [27:27] is the sub-list for extension extendee
0, // [0:27] is the sub-list for field type_name
}
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()
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 {
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 {
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 {
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 {
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 {
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 {
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 {
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 {
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{} {
switch v := v.(*ECDSAKeys); i {
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{} {
switch v := v.(*CurrentDeviceData); i {
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{} {
switch v := v.(*KeyData); i {
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{} {
switch v := v.(*WebAuthKey); i {
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{} {
switch v := v.(*URLData); i {
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{} {
switch v := v.(*TokenData); i {
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{} {
switch v := v.(*PairedData); i {
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{} {
switch v := v.(*RevokePairData); i {
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{} {
switch v := v.(*RegisterRefreshRequest_NestedEmptyArr); i {
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{} {
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[23].Exporter = func(v interface{}, i int) interface{} {
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-07-17 23:57:20 +00:00
file_authentication_proto_msgTypes[3].OneofWrappers = []interface{}{
(*AuthenticationContainer_KeyData)(nil),
(*AuthenticationContainer_DeviceData)(nil),
}
2023-07-17 23:57:20 +00:00
file_authentication_proto_msgTypes[4].OneofWrappers = []interface{}{}
type x struct{}
out := protoimpl.TypeBuilder{
File: protoimpl.DescBuilder{
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
RawDescriptor: file_authentication_proto_rawDesc,
2023-07-17 23:57:20 +00:00
NumEnums: 1,
NumMessages: 24,
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,
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
}