login

package
v0.5.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 15, 2023 License: GPL-3.0 Imports: 3 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

View Source
var AuthenticationState_name = map[int32]string{
	1: "LOGIN",
	2: "LEGAL",
	3: "AUTHENTICATOR",
	4: "DONE",
}
View Source
var AuthenticationState_value = map[string]int32{
	"LOGIN":         1,
	"LEGAL":         2,
	"AUTHENTICATOR": 3,
	"DONE":          4,
}
View Source
var FormType_name = map[int32]string{
	1: "LOGIN_FORM",
}
View Source
var FormType_value = map[string]int32{
	"LOGIN_FORM": 1,
}

Functions

This section is empty.

Types

type AuthenticationState

type AuthenticationState int32
const (
	AuthenticationState_LOGIN         AuthenticationState = 1
	AuthenticationState_LEGAL         AuthenticationState = 2
	AuthenticationState_AUTHENTICATOR AuthenticationState = 3
	AuthenticationState_DONE          AuthenticationState = 4
)

func (AuthenticationState) Enum

func (AuthenticationState) EnumDescriptor

func (AuthenticationState) EnumDescriptor() ([]byte, []int)

func (AuthenticationState) String

func (x AuthenticationState) String() string

func (*AuthenticationState) UnmarshalJSON

func (x *AuthenticationState) UnmarshalJSON(data []byte) error

type ErrorResponse

type ErrorResponse struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*ErrorResponse) Descriptor

func (*ErrorResponse) Descriptor() ([]byte, []int)

func (*ErrorResponse) ProtoMessage

func (*ErrorResponse) ProtoMessage()

func (*ErrorResponse) Reset

func (m *ErrorResponse) Reset()

func (*ErrorResponse) String

func (m *ErrorResponse) String() string

func (*ErrorResponse) XXX_DiscardUnknown

func (m *ErrorResponse) XXX_DiscardUnknown()

func (*ErrorResponse) XXX_Marshal

func (m *ErrorResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ErrorResponse) XXX_Merge

func (m *ErrorResponse) XXX_Merge(src proto.Message)

func (*ErrorResponse) XXX_Size

func (m *ErrorResponse) XXX_Size() int

func (*ErrorResponse) XXX_Unmarshal

func (m *ErrorResponse) XXX_Unmarshal(b []byte) error

type FormInput

type FormInput struct {
	InputId              *string  `protobuf:"bytes,1,req,name=input_id,json=inputId" json:"input_id,omitempty"`
	Type                 *string  `protobuf:"bytes,2,req,name=type" json:"type,omitempty"`
	Label                *string  `protobuf:"bytes,3,req,name=label" json:"label,omitempty"`
	MaxLength            *uint32  `protobuf:"varint,4,opt,name=max_length,json=maxLength" json:"max_length,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*FormInput) Descriptor

func (*FormInput) Descriptor() ([]byte, []int)

func (*FormInput) GetInputId

func (m *FormInput) GetInputId() string

func (*FormInput) GetLabel

func (m *FormInput) GetLabel() string

func (*FormInput) GetMaxLength

func (m *FormInput) GetMaxLength() uint32

func (*FormInput) GetType

func (m *FormInput) GetType() string

func (*FormInput) ProtoMessage

func (*FormInput) ProtoMessage()

func (*FormInput) Reset

func (m *FormInput) Reset()

func (*FormInput) String

func (m *FormInput) String() string

func (*FormInput) XXX_DiscardUnknown

func (m *FormInput) XXX_DiscardUnknown()

func (*FormInput) XXX_Marshal

func (m *FormInput) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*FormInput) XXX_Merge

func (m *FormInput) XXX_Merge(src proto.Message)

func (*FormInput) XXX_Size

func (m *FormInput) XXX_Size() int

func (*FormInput) XXX_Unmarshal

func (m *FormInput) XXX_Unmarshal(b []byte) error

type FormInputValue

type FormInputValue struct {
	InputId              *string  `protobuf:"bytes,1,req,name=input_id,json=inputId" json:"input_id,omitempty"`
	Value                *string  `protobuf:"bytes,2,req,name=value" json:"value,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*FormInputValue) Descriptor

func (*FormInputValue) Descriptor() ([]byte, []int)

func (*FormInputValue) GetInputId

func (m *FormInputValue) GetInputId() string

func (*FormInputValue) GetValue

func (m *FormInputValue) GetValue() string

func (*FormInputValue) ProtoMessage

func (*FormInputValue) ProtoMessage()

func (*FormInputValue) Reset

func (m *FormInputValue) Reset()

func (*FormInputValue) String

func (m *FormInputValue) String() string

func (*FormInputValue) XXX_DiscardUnknown

func (m *FormInputValue) XXX_DiscardUnknown()

func (*FormInputValue) XXX_Marshal

func (m *FormInputValue) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*FormInputValue) XXX_Merge

func (m *FormInputValue) XXX_Merge(src proto.Message)

func (*FormInputValue) XXX_Size

func (m *FormInputValue) XXX_Size() int

func (*FormInputValue) XXX_Unmarshal

func (m *FormInputValue) XXX_Unmarshal(b []byte) error

type FormInputs

type FormInputs struct {
	Type                 *FormType    `protobuf:"varint,1,req,name=type,enum=Battlenet.JSON.Login.FormType" json:"type,omitempty"`
	Inputs               []*FormInput `protobuf:"bytes,2,rep,name=inputs" json:"inputs,omitempty"`
	XXX_NoUnkeyedLiteral struct{}     `json:"-"`
	XXX_unrecognized     []byte       `json:"-"`
	XXX_sizecache        int32        `json:"-"`
}

func (*FormInputs) Descriptor

func (*FormInputs) Descriptor() ([]byte, []int)

func (*FormInputs) GetInputs

func (m *FormInputs) GetInputs() []*FormInput

func (*FormInputs) GetType

func (m *FormInputs) GetType() FormType

func (*FormInputs) ProtoMessage

func (*FormInputs) ProtoMessage()

func (*FormInputs) Reset

func (m *FormInputs) Reset()

func (*FormInputs) String

func (m *FormInputs) String() string

func (*FormInputs) XXX_DiscardUnknown

func (m *FormInputs) XXX_DiscardUnknown()

func (*FormInputs) XXX_Marshal

func (m *FormInputs) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*FormInputs) XXX_Merge

func (m *FormInputs) XXX_Merge(src proto.Message)

func (*FormInputs) XXX_Size

func (m *FormInputs) XXX_Size() int

func (*FormInputs) XXX_Unmarshal

func (m *FormInputs) XXX_Unmarshal(b []byte) error

type FormType

type FormType int32
const (
	FormType_LOGIN_FORM FormType = 1
)

func (FormType) Enum

func (x FormType) Enum() *FormType

func (FormType) EnumDescriptor

func (FormType) EnumDescriptor() ([]byte, []int)

func (FormType) String

func (x FormType) String() string

func (*FormType) UnmarshalJSON

func (x *FormType) UnmarshalJSON(data []byte) error

type GameAccountInfo

type GameAccountInfo struct {
	DisplayName          *string  `protobuf:"bytes,1,req,name=display_name,json=displayName" json:"display_name,omitempty"`
	Expansion            *uint32  `protobuf:"varint,2,req,name=expansion" json:"expansion,omitempty"`
	IsSuspended          *bool    `protobuf:"varint,3,opt,name=is_suspended,json=isSuspended" json:"is_suspended,omitempty"`
	IsBanned             *bool    `protobuf:"varint,4,opt,name=is_banned,json=isBanned" json:"is_banned,omitempty"`
	SuspensionExpires    *uint64  `protobuf:"varint,5,opt,name=suspension_expires,json=suspensionExpires" json:"suspension_expires,omitempty"`
	SuspensionReason     *string  `protobuf:"bytes,6,opt,name=suspension_reason,json=suspensionReason" json:"suspension_reason,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*GameAccountInfo) Descriptor

func (*GameAccountInfo) Descriptor() ([]byte, []int)

func (*GameAccountInfo) GetDisplayName

func (m *GameAccountInfo) GetDisplayName() string

func (*GameAccountInfo) GetExpansion

func (m *GameAccountInfo) GetExpansion() uint32

func (*GameAccountInfo) GetIsBanned

func (m *GameAccountInfo) GetIsBanned() bool

func (*GameAccountInfo) GetIsSuspended

func (m *GameAccountInfo) GetIsSuspended() bool

func (*GameAccountInfo) GetSuspensionExpires

func (m *GameAccountInfo) GetSuspensionExpires() uint64

func (*GameAccountInfo) GetSuspensionReason

func (m *GameAccountInfo) GetSuspensionReason() string

func (*GameAccountInfo) ProtoMessage

func (*GameAccountInfo) ProtoMessage()

func (*GameAccountInfo) Reset

func (m *GameAccountInfo) Reset()

func (*GameAccountInfo) String

func (m *GameAccountInfo) String() string

func (*GameAccountInfo) XXX_DiscardUnknown

func (m *GameAccountInfo) XXX_DiscardUnknown()

func (*GameAccountInfo) XXX_Marshal

func (m *GameAccountInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GameAccountInfo) XXX_Merge

func (m *GameAccountInfo) XXX_Merge(src proto.Message)

func (*GameAccountInfo) XXX_Size

func (m *GameAccountInfo) XXX_Size() int

func (*GameAccountInfo) XXX_Unmarshal

func (m *GameAccountInfo) XXX_Unmarshal(b []byte) error

type GameAccountList

type GameAccountList struct {
	GameAccounts         []*GameAccountInfo `protobuf:"bytes,1,rep,name=game_accounts,json=gameAccounts" json:"game_accounts,omitempty"`
	XXX_NoUnkeyedLiteral struct{}           `json:"-"`
	XXX_unrecognized     []byte             `json:"-"`
	XXX_sizecache        int32              `json:"-"`
}

func (*GameAccountList) Descriptor

func (*GameAccountList) Descriptor() ([]byte, []int)

func (*GameAccountList) GetGameAccounts

func (m *GameAccountList) GetGameAccounts() []*GameAccountInfo

func (*GameAccountList) ProtoMessage

func (*GameAccountList) ProtoMessage()

func (*GameAccountList) Reset

func (m *GameAccountList) Reset()

func (*GameAccountList) String

func (m *GameAccountList) String() string

func (*GameAccountList) XXX_DiscardUnknown

func (m *GameAccountList) XXX_DiscardUnknown()

func (*GameAccountList) XXX_Marshal

func (m *GameAccountList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GameAccountList) XXX_Merge

func (m *GameAccountList) XXX_Merge(src proto.Message)

func (*GameAccountList) XXX_Size

func (m *GameAccountList) XXX_Size() int

func (*GameAccountList) XXX_Unmarshal

func (m *GameAccountList) XXX_Unmarshal(b []byte) error

type LoginForm

type LoginForm struct {
	PlatformId           *string           `protobuf:"bytes,1,req,name=platform_id,json=platformId" json:"platform_id,omitempty"`
	ProgramId            *string           `protobuf:"bytes,2,req,name=program_id,json=programId" json:"program_id,omitempty"`
	Version              *string           `protobuf:"bytes,3,req,name=version" json:"version,omitempty"`
	Inputs               []*FormInputValue `protobuf:"bytes,4,rep,name=inputs" json:"inputs,omitempty"`
	XXX_NoUnkeyedLiteral struct{}          `json:"-"`
	XXX_unrecognized     []byte            `json:"-"`
	XXX_sizecache        int32             `json:"-"`
}

func (*LoginForm) Descriptor

func (*LoginForm) Descriptor() ([]byte, []int)

func (*LoginForm) GetInputs

func (m *LoginForm) GetInputs() []*FormInputValue

func (*LoginForm) GetPlatformId

func (m *LoginForm) GetPlatformId() string

func (*LoginForm) GetProgramId

func (m *LoginForm) GetProgramId() string

func (*LoginForm) GetVersion

func (m *LoginForm) GetVersion() string

func (*LoginForm) ProtoMessage

func (*LoginForm) ProtoMessage()

func (*LoginForm) Reset

func (m *LoginForm) Reset()

func (*LoginForm) String

func (m *LoginForm) String() string

func (*LoginForm) XXX_DiscardUnknown

func (m *LoginForm) XXX_DiscardUnknown()

func (*LoginForm) XXX_Marshal

func (m *LoginForm) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*LoginForm) XXX_Merge

func (m *LoginForm) XXX_Merge(src proto.Message)

func (*LoginForm) XXX_Size

func (m *LoginForm) XXX_Size() int

func (*LoginForm) XXX_Unmarshal

func (m *LoginForm) XXX_Unmarshal(b []byte) error

type LoginRefreshResult

type LoginRefreshResult struct {
	LoginTicketExpiry    *uint64  `protobuf:"varint,1,req,name=login_ticket_expiry,json=loginTicketExpiry" json:"login_ticket_expiry,omitempty"`
	IsExpired            *bool    `protobuf:"varint,2,opt,name=is_expired,json=isExpired" json:"is_expired,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*LoginRefreshResult) Descriptor

func (*LoginRefreshResult) Descriptor() ([]byte, []int)

func (*LoginRefreshResult) GetIsExpired

func (m *LoginRefreshResult) GetIsExpired() bool

func (*LoginRefreshResult) GetLoginTicketExpiry

func (m *LoginRefreshResult) GetLoginTicketExpiry() uint64

func (*LoginRefreshResult) ProtoMessage

func (*LoginRefreshResult) ProtoMessage()

func (*LoginRefreshResult) Reset

func (m *LoginRefreshResult) Reset()

func (*LoginRefreshResult) String

func (m *LoginRefreshResult) String() string

func (*LoginRefreshResult) XXX_DiscardUnknown

func (m *LoginRefreshResult) XXX_DiscardUnknown()

func (*LoginRefreshResult) XXX_Marshal

func (m *LoginRefreshResult) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*LoginRefreshResult) XXX_Merge

func (m *LoginRefreshResult) XXX_Merge(src proto.Message)

func (*LoginRefreshResult) XXX_Size

func (m *LoginRefreshResult) XXX_Size() int

func (*LoginRefreshResult) XXX_Unmarshal

func (m *LoginRefreshResult) XXX_Unmarshal(b []byte) error

type LoginResult

type LoginResult struct {
	AuthenticationState  *AuthenticationState `` /* 158-byte string literal not displayed */
	ErrorCode            *string              `protobuf:"bytes,2,opt,name=error_code,json=errorCode" json:"error_code,omitempty"`
	ErrorMessage         *string              `protobuf:"bytes,3,opt,name=error_message,json=errorMessage" json:"error_message,omitempty"`
	Url                  *string              `protobuf:"bytes,4,opt,name=url" json:"url,omitempty"`
	LoginTicket          *string              `protobuf:"bytes,5,opt,name=login_ticket,json=loginTicket" json:"login_ticket,omitempty"`
	XXX_NoUnkeyedLiteral struct{}             `json:"-"`
	XXX_unrecognized     []byte               `json:"-"`
	XXX_sizecache        int32                `json:"-"`
}

func (*LoginResult) Descriptor

func (*LoginResult) Descriptor() ([]byte, []int)

func (*LoginResult) GetAuthenticationState

func (m *LoginResult) GetAuthenticationState() AuthenticationState

func (*LoginResult) GetErrorCode

func (m *LoginResult) GetErrorCode() string

func (*LoginResult) GetErrorMessage

func (m *LoginResult) GetErrorMessage() string

func (*LoginResult) GetLoginTicket

func (m *LoginResult) GetLoginTicket() string

func (*LoginResult) GetUrl

func (m *LoginResult) GetUrl() string

func (*LoginResult) ProtoMessage

func (*LoginResult) ProtoMessage()

func (*LoginResult) Reset

func (m *LoginResult) Reset()

func (*LoginResult) String

func (m *LoginResult) String() string

func (*LoginResult) XXX_DiscardUnknown

func (m *LoginResult) XXX_DiscardUnknown()

func (*LoginResult) XXX_Marshal

func (m *LoginResult) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*LoginResult) XXX_Merge

func (m *LoginResult) XXX_Merge(src proto.Message)

func (*LoginResult) XXX_Size

func (m *LoginResult) XXX_Size() int

func (*LoginResult) XXX_Unmarshal

func (m *LoginResult) XXX_Unmarshal(b []byte) error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL