AuthService

package
v0.0.0-...-a9baca4 Latest Latest
Warning

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

Go to latest
Published: Nov 2, 2025 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var AuthServiceConfirmE2EELoginResult_Success_DEFAULT string
View Source
var AuthServiceVerifyQrcodeResult_Success_DEFAULT string

Functions

This section is empty.

Types

type AuthService

type AuthService interface {
	// Parameters:
	//  - Provider
	GetRSAKeyInfo(ctx context.Context, provider IdentityProvider) (_r *RSAKey, _err error)
	Logout(ctx context.Context) (_err error)
	LogoutZ(ctx context.Context) (_err error)
	LogoutV2(ctx context.Context) (_err error)
	// Parameters:
	//  - Request
	LoginZ(ctx context.Context, request *LoginRequest) (_r *LoginResult_, _err error)
	// Parameters:
	//  - Request
	LoginV2(ctx context.Context, request *LoginRequest) (_r *LoginResult_, _err error)
	// Parameters:
	//  - Verifier
	//  - DeviceSecret
	ConfirmE2EELogin(ctx context.Context, verifier string, deviceSecret []byte) (_r string, _err error)
	// Parameters:
	//  - Verifier
	//  - PinCode
	VerifyQrcode(ctx context.Context, verifier string, pinCode string) (_r string, _err error)
}

type AuthServiceClient

type AuthServiceClient struct {
	// contains filtered or unexported fields
}

func NewAuthServiceClient

func NewAuthServiceClient(c thrift.TClient) *AuthServiceClient

func NewAuthServiceClientProtocol

func NewAuthServiceClientProtocol(t thrift.TTransport, iprot thrift.TProtocol, oprot thrift.TProtocol) *AuthServiceClient

func (*AuthServiceClient) Client_

func (p *AuthServiceClient) Client_() thrift.TClient

func (*AuthServiceClient) ConfirmE2EELogin

func (p *AuthServiceClient) ConfirmE2EELogin(ctx context.Context, verifier string, deviceSecret []byte) (_r string, _err error)

Parameters:

  • Verifier
  • DeviceSecret

func (*AuthServiceClient) GetRSAKeyInfo

func (p *AuthServiceClient) GetRSAKeyInfo(ctx context.Context, provider IdentityProvider) (_r *RSAKey, _err error)

Parameters:

  • Provider

func (*AuthServiceClient) LastResponseMeta_

func (p *AuthServiceClient) LastResponseMeta_() thrift.ResponseMeta

func (*AuthServiceClient) LoginV2

func (p *AuthServiceClient) LoginV2(ctx context.Context, request *LoginRequest) (_r *LoginResult_, _err error)

Parameters:

  • Request

func (*AuthServiceClient) LoginZ

func (p *AuthServiceClient) LoginZ(ctx context.Context, request *LoginRequest) (_r *LoginResult_, _err error)

Parameters:

  • Request

func (*AuthServiceClient) Logout

func (p *AuthServiceClient) Logout(ctx context.Context) (_err error)

func (*AuthServiceClient) LogoutV2

func (p *AuthServiceClient) LogoutV2(ctx context.Context) (_err error)

func (*AuthServiceClient) LogoutZ

func (p *AuthServiceClient) LogoutZ(ctx context.Context) (_err error)

func (*AuthServiceClient) SetLastResponseMeta_

func (p *AuthServiceClient) SetLastResponseMeta_(meta thrift.ResponseMeta)

func (*AuthServiceClient) VerifyQrcode

func (p *AuthServiceClient) VerifyQrcode(ctx context.Context, verifier string, pinCode string) (_r string, _err error)

Parameters:

  • Verifier
  • PinCode

type AuthServiceConfirmE2EELoginArgs

type AuthServiceConfirmE2EELoginArgs struct {
	Verifier     string `thrift:"verifier,1" db:"verifier" json:"verifier"`
	DeviceSecret []byte `thrift:"deviceSecret,2" db:"deviceSecret" json:"deviceSecret"`
}

Attributes:

  • Verifier
  • DeviceSecret

func NewAuthServiceConfirmE2EELoginArgs

func NewAuthServiceConfirmE2EELoginArgs() *AuthServiceConfirmE2EELoginArgs

func (*AuthServiceConfirmE2EELoginArgs) GetDeviceSecret

func (p *AuthServiceConfirmE2EELoginArgs) GetDeviceSecret() []byte

func (*AuthServiceConfirmE2EELoginArgs) GetVerifier

func (p *AuthServiceConfirmE2EELoginArgs) GetVerifier() string

func (*AuthServiceConfirmE2EELoginArgs) Read

func (*AuthServiceConfirmE2EELoginArgs) ReadField1

func (*AuthServiceConfirmE2EELoginArgs) ReadField2

func (*AuthServiceConfirmE2EELoginArgs) String

func (*AuthServiceConfirmE2EELoginArgs) Write

type AuthServiceConfirmE2EELoginResult

type AuthServiceConfirmE2EELoginResult struct {
	Success *string        `thrift:"success,0" db:"success" json:"success,omitempty"`
	E       *TalkException `thrift:"e,1" db:"e" json:"e,omitempty"`
}

Attributes:

  • Success
  • E

func NewAuthServiceConfirmE2EELoginResult

func NewAuthServiceConfirmE2EELoginResult() *AuthServiceConfirmE2EELoginResult

func (*AuthServiceConfirmE2EELoginResult) GetE

func (*AuthServiceConfirmE2EELoginResult) GetSuccess

func (p *AuthServiceConfirmE2EELoginResult) GetSuccess() string

func (*AuthServiceConfirmE2EELoginResult) IsSetE

func (*AuthServiceConfirmE2EELoginResult) IsSetSuccess

func (p *AuthServiceConfirmE2EELoginResult) IsSetSuccess() bool

func (*AuthServiceConfirmE2EELoginResult) Read

func (*AuthServiceConfirmE2EELoginResult) ReadField0

func (*AuthServiceConfirmE2EELoginResult) ReadField1

func (*AuthServiceConfirmE2EELoginResult) String

func (*AuthServiceConfirmE2EELoginResult) Write

type AuthServiceGetRSAKeyInfoArgs

type AuthServiceGetRSAKeyInfoArgs struct {
	// unused field # 1
	Provider IdentityProvider `thrift:"provider,2" db:"provider" json:"provider"`
}

Attributes:

  • Provider

func NewAuthServiceGetRSAKeyInfoArgs

func NewAuthServiceGetRSAKeyInfoArgs() *AuthServiceGetRSAKeyInfoArgs

func (*AuthServiceGetRSAKeyInfoArgs) GetProvider

func (*AuthServiceGetRSAKeyInfoArgs) Read

func (*AuthServiceGetRSAKeyInfoArgs) ReadField2

func (*AuthServiceGetRSAKeyInfoArgs) String

func (*AuthServiceGetRSAKeyInfoArgs) Write

type AuthServiceGetRSAKeyInfoResult

type AuthServiceGetRSAKeyInfoResult struct {
	Success *RSAKey        `thrift:"success,0" db:"success" json:"success,omitempty"`
	E       *TalkException `thrift:"e,1" db:"e" json:"e,omitempty"`
}

Attributes:

  • Success
  • E

func NewAuthServiceGetRSAKeyInfoResult

func NewAuthServiceGetRSAKeyInfoResult() *AuthServiceGetRSAKeyInfoResult

func (*AuthServiceGetRSAKeyInfoResult) GetE

func (*AuthServiceGetRSAKeyInfoResult) GetSuccess

func (p *AuthServiceGetRSAKeyInfoResult) GetSuccess() *RSAKey

func (*AuthServiceGetRSAKeyInfoResult) IsSetE

func (*AuthServiceGetRSAKeyInfoResult) IsSetSuccess

func (p *AuthServiceGetRSAKeyInfoResult) IsSetSuccess() bool

func (*AuthServiceGetRSAKeyInfoResult) Read

func (*AuthServiceGetRSAKeyInfoResult) ReadField0

func (*AuthServiceGetRSAKeyInfoResult) ReadField1

func (*AuthServiceGetRSAKeyInfoResult) String

func (*AuthServiceGetRSAKeyInfoResult) Write

type AuthServiceLoginV2Args

type AuthServiceLoginV2Args struct {
	// unused field # 1
	Request *LoginRequest `thrift:"request,2" db:"request" json:"request"`
}

Attributes:

  • Request

func NewAuthServiceLoginV2Args

func NewAuthServiceLoginV2Args() *AuthServiceLoginV2Args

func (*AuthServiceLoginV2Args) GetRequest

func (p *AuthServiceLoginV2Args) GetRequest() *LoginRequest

func (*AuthServiceLoginV2Args) IsSetRequest

func (p *AuthServiceLoginV2Args) IsSetRequest() bool

func (*AuthServiceLoginV2Args) Read

func (*AuthServiceLoginV2Args) ReadField2

func (p *AuthServiceLoginV2Args) ReadField2(ctx context.Context, iprot thrift.TProtocol) error

func (*AuthServiceLoginV2Args) String

func (p *AuthServiceLoginV2Args) String() string

func (*AuthServiceLoginV2Args) Write

type AuthServiceLoginV2Result

type AuthServiceLoginV2Result struct {
	Success *LoginResult_  `thrift:"success,0" db:"success" json:"success,omitempty"`
	E       *TalkException `thrift:"e,1" db:"e" json:"e,omitempty"`
}

Attributes:

  • Success
  • E

func NewAuthServiceLoginV2Result

func NewAuthServiceLoginV2Result() *AuthServiceLoginV2Result

func (*AuthServiceLoginV2Result) GetE

func (*AuthServiceLoginV2Result) GetSuccess

func (p *AuthServiceLoginV2Result) GetSuccess() *LoginResult_

func (*AuthServiceLoginV2Result) IsSetE

func (p *AuthServiceLoginV2Result) IsSetE() bool

func (*AuthServiceLoginV2Result) IsSetSuccess

func (p *AuthServiceLoginV2Result) IsSetSuccess() bool

func (*AuthServiceLoginV2Result) Read

func (*AuthServiceLoginV2Result) ReadField0

func (p *AuthServiceLoginV2Result) ReadField0(ctx context.Context, iprot thrift.TProtocol) error

func (*AuthServiceLoginV2Result) ReadField1

func (p *AuthServiceLoginV2Result) ReadField1(ctx context.Context, iprot thrift.TProtocol) error

func (*AuthServiceLoginV2Result) String

func (p *AuthServiceLoginV2Result) String() string

func (*AuthServiceLoginV2Result) Write

type AuthServiceLoginZArgs

type AuthServiceLoginZArgs struct {
	// unused field # 1
	Request *LoginRequest `thrift:"request,2" db:"request" json:"request"`
}

Attributes:

  • Request

func NewAuthServiceLoginZArgs

func NewAuthServiceLoginZArgs() *AuthServiceLoginZArgs

func (*AuthServiceLoginZArgs) GetRequest

func (p *AuthServiceLoginZArgs) GetRequest() *LoginRequest

func (*AuthServiceLoginZArgs) IsSetRequest

func (p *AuthServiceLoginZArgs) IsSetRequest() bool

func (*AuthServiceLoginZArgs) Read

func (*AuthServiceLoginZArgs) ReadField2

func (p *AuthServiceLoginZArgs) ReadField2(ctx context.Context, iprot thrift.TProtocol) error

func (*AuthServiceLoginZArgs) String

func (p *AuthServiceLoginZArgs) String() string

func (*AuthServiceLoginZArgs) Write

type AuthServiceLoginZResult

type AuthServiceLoginZResult struct {
	Success *LoginResult_  `thrift:"success,0" db:"success" json:"success,omitempty"`
	E       *TalkException `thrift:"e,1" db:"e" json:"e,omitempty"`
}

Attributes:

  • Success
  • E

func NewAuthServiceLoginZResult

func NewAuthServiceLoginZResult() *AuthServiceLoginZResult

func (*AuthServiceLoginZResult) GetE

func (*AuthServiceLoginZResult) GetSuccess

func (p *AuthServiceLoginZResult) GetSuccess() *LoginResult_

func (*AuthServiceLoginZResult) IsSetE

func (p *AuthServiceLoginZResult) IsSetE() bool

func (*AuthServiceLoginZResult) IsSetSuccess

func (p *AuthServiceLoginZResult) IsSetSuccess() bool

func (*AuthServiceLoginZResult) Read

func (*AuthServiceLoginZResult) ReadField0

func (p *AuthServiceLoginZResult) ReadField0(ctx context.Context, iprot thrift.TProtocol) error

func (*AuthServiceLoginZResult) ReadField1

func (p *AuthServiceLoginZResult) ReadField1(ctx context.Context, iprot thrift.TProtocol) error

func (*AuthServiceLoginZResult) String

func (p *AuthServiceLoginZResult) String() string

func (*AuthServiceLoginZResult) Write

type AuthServiceLogoutArgs

type AuthServiceLogoutArgs struct {
}

func NewAuthServiceLogoutArgs

func NewAuthServiceLogoutArgs() *AuthServiceLogoutArgs

func (*AuthServiceLogoutArgs) Read

func (*AuthServiceLogoutArgs) String

func (p *AuthServiceLogoutArgs) String() string

func (*AuthServiceLogoutArgs) Write

type AuthServiceLogoutResult

type AuthServiceLogoutResult struct {
	E *TalkException `thrift:"e,1" db:"e" json:"e,omitempty"`
}

Attributes:

  • E

func NewAuthServiceLogoutResult

func NewAuthServiceLogoutResult() *AuthServiceLogoutResult

func (*AuthServiceLogoutResult) GetE

func (*AuthServiceLogoutResult) IsSetE

func (p *AuthServiceLogoutResult) IsSetE() bool

func (*AuthServiceLogoutResult) Read

func (*AuthServiceLogoutResult) ReadField1

func (p *AuthServiceLogoutResult) ReadField1(ctx context.Context, iprot thrift.TProtocol) error

func (*AuthServiceLogoutResult) String

func (p *AuthServiceLogoutResult) String() string

func (*AuthServiceLogoutResult) Write

type AuthServiceLogoutV2Args

type AuthServiceLogoutV2Args struct {
}

func NewAuthServiceLogoutV2Args

func NewAuthServiceLogoutV2Args() *AuthServiceLogoutV2Args

func (*AuthServiceLogoutV2Args) Read

func (*AuthServiceLogoutV2Args) String

func (p *AuthServiceLogoutV2Args) String() string

func (*AuthServiceLogoutV2Args) Write

type AuthServiceLogoutV2Result

type AuthServiceLogoutV2Result struct {
	E *TalkException `thrift:"e,1" db:"e" json:"e,omitempty"`
}

Attributes:

  • E

func NewAuthServiceLogoutV2Result

func NewAuthServiceLogoutV2Result() *AuthServiceLogoutV2Result

func (*AuthServiceLogoutV2Result) GetE

func (*AuthServiceLogoutV2Result) IsSetE

func (p *AuthServiceLogoutV2Result) IsSetE() bool

func (*AuthServiceLogoutV2Result) Read

func (*AuthServiceLogoutV2Result) ReadField1

func (p *AuthServiceLogoutV2Result) ReadField1(ctx context.Context, iprot thrift.TProtocol) error

func (*AuthServiceLogoutV2Result) String

func (p *AuthServiceLogoutV2Result) String() string

func (*AuthServiceLogoutV2Result) Write

type AuthServiceLogoutZArgs

type AuthServiceLogoutZArgs struct {
}

func NewAuthServiceLogoutZArgs

func NewAuthServiceLogoutZArgs() *AuthServiceLogoutZArgs

func (*AuthServiceLogoutZArgs) Read

func (*AuthServiceLogoutZArgs) String

func (p *AuthServiceLogoutZArgs) String() string

func (*AuthServiceLogoutZArgs) Write

type AuthServiceLogoutZResult

type AuthServiceLogoutZResult struct {
	E *TalkException `thrift:"e,1" db:"e" json:"e,omitempty"`
}

Attributes:

  • E

func NewAuthServiceLogoutZResult

func NewAuthServiceLogoutZResult() *AuthServiceLogoutZResult

func (*AuthServiceLogoutZResult) GetE

func (*AuthServiceLogoutZResult) IsSetE

func (p *AuthServiceLogoutZResult) IsSetE() bool

func (*AuthServiceLogoutZResult) Read

func (*AuthServiceLogoutZResult) ReadField1

func (p *AuthServiceLogoutZResult) ReadField1(ctx context.Context, iprot thrift.TProtocol) error

func (*AuthServiceLogoutZResult) String

func (p *AuthServiceLogoutZResult) String() string

func (*AuthServiceLogoutZResult) Write

type AuthServiceProcessor

type AuthServiceProcessor struct {
	// contains filtered or unexported fields
}

func NewAuthServiceProcessor

func NewAuthServiceProcessor(handler AuthService) *AuthServiceProcessor

func (*AuthServiceProcessor) AddToProcessorMap

func (p *AuthServiceProcessor) AddToProcessorMap(key string, processor thrift.TProcessorFunction)

func (*AuthServiceProcessor) GetProcessorFunction

func (p *AuthServiceProcessor) GetProcessorFunction(key string) (processor thrift.TProcessorFunction, ok bool)

func (*AuthServiceProcessor) Process

func (p *AuthServiceProcessor) Process(ctx context.Context, iprot, oprot thrift.TProtocol) (success bool, err thrift.TException)

func (*AuthServiceProcessor) ProcessorMap

func (p *AuthServiceProcessor) ProcessorMap() map[string]thrift.TProcessorFunction

type AuthServiceVerifyQrcodeArgs

type AuthServiceVerifyQrcodeArgs struct {
	// unused field # 1
	Verifier string `thrift:"verifier,2" db:"verifier" json:"verifier"`
	PinCode  string `thrift:"pinCode,3" db:"pinCode" json:"pinCode"`
}

Attributes:

  • Verifier
  • PinCode

func NewAuthServiceVerifyQrcodeArgs

func NewAuthServiceVerifyQrcodeArgs() *AuthServiceVerifyQrcodeArgs

func (*AuthServiceVerifyQrcodeArgs) GetPinCode

func (p *AuthServiceVerifyQrcodeArgs) GetPinCode() string

func (*AuthServiceVerifyQrcodeArgs) GetVerifier

func (p *AuthServiceVerifyQrcodeArgs) GetVerifier() string

func (*AuthServiceVerifyQrcodeArgs) Read

func (*AuthServiceVerifyQrcodeArgs) ReadField2

func (*AuthServiceVerifyQrcodeArgs) ReadField3

func (*AuthServiceVerifyQrcodeArgs) String

func (p *AuthServiceVerifyQrcodeArgs) String() string

func (*AuthServiceVerifyQrcodeArgs) Write

type AuthServiceVerifyQrcodeResult

type AuthServiceVerifyQrcodeResult struct {
	Success *string        `thrift:"success,0" db:"success" json:"success,omitempty"`
	E       *TalkException `thrift:"e,1" db:"e" json:"e,omitempty"`
}

Attributes:

  • Success
  • E

func NewAuthServiceVerifyQrcodeResult

func NewAuthServiceVerifyQrcodeResult() *AuthServiceVerifyQrcodeResult

func (*AuthServiceVerifyQrcodeResult) GetE

func (*AuthServiceVerifyQrcodeResult) GetSuccess

func (p *AuthServiceVerifyQrcodeResult) GetSuccess() string

func (*AuthServiceVerifyQrcodeResult) IsSetE

func (p *AuthServiceVerifyQrcodeResult) IsSetE() bool

func (*AuthServiceVerifyQrcodeResult) IsSetSuccess

func (p *AuthServiceVerifyQrcodeResult) IsSetSuccess() bool

func (*AuthServiceVerifyQrcodeResult) Read

func (*AuthServiceVerifyQrcodeResult) ReadField0

func (*AuthServiceVerifyQrcodeResult) ReadField1

func (*AuthServiceVerifyQrcodeResult) String

func (*AuthServiceVerifyQrcodeResult) Write

type IdentityProvider

type IdentityProvider int64
const (
	IdentityProvider_UNKNOWN    IdentityProvider = 0
	IdentityProvider_LINE       IdentityProvider = 1
	IdentityProvider_NAVER_KR   IdentityProvider = 2
	IdentityProvider_LINE_PHONE IdentityProvider = 3
)

func IdentityProviderFromString

func IdentityProviderFromString(s string) (IdentityProvider, error)

func IdentityProviderPtr

func IdentityProviderPtr(v IdentityProvider) *IdentityProvider

func (IdentityProvider) MarshalText

func (p IdentityProvider) MarshalText() ([]byte, error)

func (*IdentityProvider) Scan

func (p *IdentityProvider) Scan(value interface{}) error

func (IdentityProvider) String

func (p IdentityProvider) String() string

func (*IdentityProvider) UnmarshalText

func (p *IdentityProvider) UnmarshalText(text []byte) error

func (*IdentityProvider) Value

func (p *IdentityProvider) Value() (driver.Value, error)

type LoginRequest

type LoginRequest struct {
	Type             int32            `thrift:"type,1" db:"type" json:"type"`
	IdentityProvider IdentityProvider `thrift:"identityProvider,2" db:"identityProvider" json:"identityProvider"`
	Identifier       string           `thrift:"identifier,3" db:"identifier" json:"identifier"`
	Password         string           `thrift:"password,4" db:"password" json:"password"`
	KeepLoggedIn     bool             `thrift:"keepLoggedIn,5" db:"keepLoggedIn" json:"keepLoggedIn"`
	AccessLocation   string           `thrift:"accessLocation,6" db:"accessLocation" json:"accessLocation"`
	SystemName       string           `thrift:"systemName,7" db:"systemName" json:"systemName"`
	Certificate      string           `thrift:"certificate,8" db:"certificate" json:"certificate"`
	Verifier         string           `thrift:"verifier,9" db:"verifier" json:"verifier"`
	Secret           []byte           `thrift:"secret,10" db:"secret" json:"secret"`
	E2eeVersion      int32            `thrift:"e2eeVersion,11" db:"e2eeVersion" json:"e2eeVersion"`
	ModelName        string           `thrift:"modelName,12" db:"modelName" json:"modelName"`
}

Attributes:

  • Type
  • IdentityProvider
  • Identifier
  • Password
  • KeepLoggedIn
  • AccessLocation
  • SystemName
  • Certificate
  • Verifier
  • Secret
  • E2eeVersion
  • ModelName
var AuthServiceLoginV2Args_Request_DEFAULT *LoginRequest
var AuthServiceLoginZArgs_Request_DEFAULT *LoginRequest

func NewLoginRequest

func NewLoginRequest() *LoginRequest

func (*LoginRequest) Equals

func (p *LoginRequest) Equals(other *LoginRequest) bool

func (*LoginRequest) GetAccessLocation

func (p *LoginRequest) GetAccessLocation() string

func (*LoginRequest) GetCertificate

func (p *LoginRequest) GetCertificate() string

func (*LoginRequest) GetE2eeVersion

func (p *LoginRequest) GetE2eeVersion() int32

func (*LoginRequest) GetIdentifier

func (p *LoginRequest) GetIdentifier() string

func (*LoginRequest) GetIdentityProvider

func (p *LoginRequest) GetIdentityProvider() IdentityProvider

func (*LoginRequest) GetKeepLoggedIn

func (p *LoginRequest) GetKeepLoggedIn() bool

func (*LoginRequest) GetModelName

func (p *LoginRequest) GetModelName() string

func (*LoginRequest) GetPassword

func (p *LoginRequest) GetPassword() string

func (*LoginRequest) GetSecret

func (p *LoginRequest) GetSecret() []byte

func (*LoginRequest) GetSystemName

func (p *LoginRequest) GetSystemName() string

func (*LoginRequest) GetType

func (p *LoginRequest) GetType() int32

func (*LoginRequest) GetVerifier

func (p *LoginRequest) GetVerifier() string

func (*LoginRequest) Read

func (p *LoginRequest) Read(ctx context.Context, iprot thrift.TProtocol) error

func (*LoginRequest) ReadField1

func (p *LoginRequest) ReadField1(ctx context.Context, iprot thrift.TProtocol) error

func (*LoginRequest) ReadField2

func (p *LoginRequest) ReadField2(ctx context.Context, iprot thrift.TProtocol) error

func (*LoginRequest) ReadField3

func (p *LoginRequest) ReadField3(ctx context.Context, iprot thrift.TProtocol) error

func (*LoginRequest) ReadField4

func (p *LoginRequest) ReadField4(ctx context.Context, iprot thrift.TProtocol) error

func (*LoginRequest) ReadField5

func (p *LoginRequest) ReadField5(ctx context.Context, iprot thrift.TProtocol) error

func (*LoginRequest) ReadField6

func (p *LoginRequest) ReadField6(ctx context.Context, iprot thrift.TProtocol) error

func (*LoginRequest) ReadField7

func (p *LoginRequest) ReadField7(ctx context.Context, iprot thrift.TProtocol) error

func (*LoginRequest) ReadField8

func (p *LoginRequest) ReadField8(ctx context.Context, iprot thrift.TProtocol) error

func (*LoginRequest) ReadField9

func (p *LoginRequest) ReadField9(ctx context.Context, iprot thrift.TProtocol) error

func (*LoginRequest) ReadField10

func (p *LoginRequest) ReadField10(ctx context.Context, iprot thrift.TProtocol) error

func (*LoginRequest) ReadField11

func (p *LoginRequest) ReadField11(ctx context.Context, iprot thrift.TProtocol) error

func (*LoginRequest) ReadField12

func (p *LoginRequest) ReadField12(ctx context.Context, iprot thrift.TProtocol) error

func (*LoginRequest) String

func (p *LoginRequest) String() string

func (*LoginRequest) Validate

func (p *LoginRequest) Validate() error

func (*LoginRequest) Write

func (p *LoginRequest) Write(ctx context.Context, oprot thrift.TProtocol) error

type LoginResultType

type LoginResultType int64
const (
	LoginResultType_SUCCESS                LoginResultType = 1
	LoginResultType_REQUIRE_QRCODE         LoginResultType = 2
	LoginResultType_REQUIRE_DEVICE_CONFIRM LoginResultType = 3
	LoginResultType_REQUIRE_SMS_CONFIRM    LoginResultType = 4
)

func LoginResultTypeFromString

func LoginResultTypeFromString(s string) (LoginResultType, error)

func LoginResultTypePtr

func LoginResultTypePtr(v LoginResultType) *LoginResultType

func (LoginResultType) MarshalText

func (p LoginResultType) MarshalText() ([]byte, error)

func (*LoginResultType) Scan

func (p *LoginResultType) Scan(value interface{}) error

func (LoginResultType) String

func (p LoginResultType) String() string

func (*LoginResultType) UnmarshalText

func (p *LoginResultType) UnmarshalText(text []byte) error

func (*LoginResultType) Value

func (p *LoginResultType) Value() (driver.Value, error)

type LoginResult_

type LoginResult_ struct {
	AuthToken            string                   `thrift:"authToken,1" db:"authToken" json:"authToken"`
	Certificate          string                   `thrift:"certificate,2" db:"certificate" json:"certificate"`
	Verifier             string                   `thrift:"verifier,3" db:"verifier" json:"verifier"`
	PinCode              string                   `thrift:"pinCode,4" db:"pinCode" json:"pinCode"`
	Type                 LoginResultType          `thrift:"type,5" db:"type" json:"type"`
	LastPrimaryBindTime  int64                    `thrift:"lastPrimaryBindTime,6" db:"lastPrimaryBindTime" json:"lastPrimaryBindTime"`
	DisplayMessage       string                   `thrift:"displayMessage,7" db:"displayMessage" json:"displayMessage"`
	SessionForSMSConfirm *VerificationSessionData `thrift:"sessionForSMSConfirm,8" db:"sessionForSMSConfirm" json:"sessionForSMSConfirm"`
	TokenV3IssueResult_  *TokenV3IssueResult_     `thrift:"tokenV3IssueResult,9" db:"tokenV3IssueResult" json:"tokenV3IssueResult"`
	Mid                  string                   `thrift:"mid,10" db:"mid" json:"mid"`
}

Attributes:

  • AuthToken
  • Certificate
  • Verifier
  • PinCode
  • Type
  • LastPrimaryBindTime
  • DisplayMessage
  • SessionForSMSConfirm
  • TokenV3IssueResult_
  • Mid
var AuthServiceLoginV2Result_Success_DEFAULT *LoginResult_
var AuthServiceLoginZResult_Success_DEFAULT *LoginResult_

func NewLoginResult_

func NewLoginResult_() *LoginResult_

func (*LoginResult_) Equals

func (p *LoginResult_) Equals(other *LoginResult_) bool

func (*LoginResult_) GetAuthToken

func (p *LoginResult_) GetAuthToken() string

func (*LoginResult_) GetCertificate

func (p *LoginResult_) GetCertificate() string

func (*LoginResult_) GetDisplayMessage

func (p *LoginResult_) GetDisplayMessage() string

func (*LoginResult_) GetLastPrimaryBindTime

func (p *LoginResult_) GetLastPrimaryBindTime() int64

func (*LoginResult_) GetMid

func (p *LoginResult_) GetMid() string

func (*LoginResult_) GetPinCode

func (p *LoginResult_) GetPinCode() string

func (*LoginResult_) GetSessionForSMSConfirm

func (p *LoginResult_) GetSessionForSMSConfirm() *VerificationSessionData

func (*LoginResult_) GetTokenV3IssueResult_

func (p *LoginResult_) GetTokenV3IssueResult_() *TokenV3IssueResult_

func (*LoginResult_) GetType

func (p *LoginResult_) GetType() LoginResultType

func (*LoginResult_) GetVerifier

func (p *LoginResult_) GetVerifier() string

func (*LoginResult_) IsSetSessionForSMSConfirm

func (p *LoginResult_) IsSetSessionForSMSConfirm() bool

func (*LoginResult_) IsSetTokenV3IssueResult_

func (p *LoginResult_) IsSetTokenV3IssueResult_() bool

func (*LoginResult_) Read

func (p *LoginResult_) Read(ctx context.Context, iprot thrift.TProtocol) error

func (*LoginResult_) ReadField1

func (p *LoginResult_) ReadField1(ctx context.Context, iprot thrift.TProtocol) error

func (*LoginResult_) ReadField2

func (p *LoginResult_) ReadField2(ctx context.Context, iprot thrift.TProtocol) error

func (*LoginResult_) ReadField3

func (p *LoginResult_) ReadField3(ctx context.Context, iprot thrift.TProtocol) error

func (*LoginResult_) ReadField4

func (p *LoginResult_) ReadField4(ctx context.Context, iprot thrift.TProtocol) error

func (*LoginResult_) ReadField5

func (p *LoginResult_) ReadField5(ctx context.Context, iprot thrift.TProtocol) error

func (*LoginResult_) ReadField6

func (p *LoginResult_) ReadField6(ctx context.Context, iprot thrift.TProtocol) error

func (*LoginResult_) ReadField7

func (p *LoginResult_) ReadField7(ctx context.Context, iprot thrift.TProtocol) error

func (*LoginResult_) ReadField8

func (p *LoginResult_) ReadField8(ctx context.Context, iprot thrift.TProtocol) error

func (*LoginResult_) ReadField9

func (p *LoginResult_) ReadField9(ctx context.Context, iprot thrift.TProtocol) error

func (*LoginResult_) ReadField10

func (p *LoginResult_) ReadField10(ctx context.Context, iprot thrift.TProtocol) error

func (*LoginResult_) String

func (p *LoginResult_) String() string

func (*LoginResult_) Validate

func (p *LoginResult_) Validate() error

func (*LoginResult_) Write

func (p *LoginResult_) Write(ctx context.Context, oprot thrift.TProtocol) error

type RSAKey

type RSAKey struct {
	Keynm      string `thrift:"keynm,1" db:"keynm" json:"keynm"`
	Nvalue     string `thrift:"nvalue,2" db:"nvalue" json:"nvalue"`
	Evalue     string `thrift:"evalue,3" db:"evalue" json:"evalue"`
	SessionKey string `thrift:"sessionKey,4" db:"sessionKey" json:"sessionKey"`
}

Attributes:

  • Keynm
  • Nvalue
  • Evalue
  • SessionKey
var AuthServiceGetRSAKeyInfoResult_Success_DEFAULT *RSAKey

func NewRSAKey

func NewRSAKey() *RSAKey

func (*RSAKey) Equals

func (p *RSAKey) Equals(other *RSAKey) bool

func (*RSAKey) GetEvalue

func (p *RSAKey) GetEvalue() string

func (*RSAKey) GetKeynm

func (p *RSAKey) GetKeynm() string

func (*RSAKey) GetNvalue

func (p *RSAKey) GetNvalue() string

func (*RSAKey) GetSessionKey

func (p *RSAKey) GetSessionKey() string

func (*RSAKey) Read

func (p *RSAKey) Read(ctx context.Context, iprot thrift.TProtocol) error

func (*RSAKey) ReadField1

func (p *RSAKey) ReadField1(ctx context.Context, iprot thrift.TProtocol) error

func (*RSAKey) ReadField2

func (p *RSAKey) ReadField2(ctx context.Context, iprot thrift.TProtocol) error

func (*RSAKey) ReadField3

func (p *RSAKey) ReadField3(ctx context.Context, iprot thrift.TProtocol) error

func (*RSAKey) ReadField4

func (p *RSAKey) ReadField4(ctx context.Context, iprot thrift.TProtocol) error

func (*RSAKey) String

func (p *RSAKey) String() string

func (*RSAKey) Validate

func (p *RSAKey) Validate() error

func (*RSAKey) Write

func (p *RSAKey) Write(ctx context.Context, oprot thrift.TProtocol) error

type RefreshApiRetryPolicy

type RefreshApiRetryPolicy struct {
	InitialDelayInMillis int64   `thrift:"initialDelayInMillis,1" db:"initialDelayInMillis" json:"initialDelayInMillis"`
	MaxDelayInMillis     int64   `thrift:"maxDelayInMillis,2" db:"maxDelayInMillis" json:"maxDelayInMillis"`
	Multiplier           float64 `thrift:"multiplier,3" db:"multiplier" json:"multiplier"`
	JitterRate           float64 `thrift:"jitterRate,4" db:"jitterRate" json:"jitterRate"`
}

Attributes:

  • InitialDelayInMillis
  • MaxDelayInMillis
  • Multiplier
  • JitterRate
var TokenV3IssueResult__RefreshApiRetryPolicy_DEFAULT *RefreshApiRetryPolicy

func NewRefreshApiRetryPolicy

func NewRefreshApiRetryPolicy() *RefreshApiRetryPolicy

func (*RefreshApiRetryPolicy) Equals

func (*RefreshApiRetryPolicy) GetInitialDelayInMillis

func (p *RefreshApiRetryPolicy) GetInitialDelayInMillis() int64

func (*RefreshApiRetryPolicy) GetJitterRate

func (p *RefreshApiRetryPolicy) GetJitterRate() float64

func (*RefreshApiRetryPolicy) GetMaxDelayInMillis

func (p *RefreshApiRetryPolicy) GetMaxDelayInMillis() int64

func (*RefreshApiRetryPolicy) GetMultiplier

func (p *RefreshApiRetryPolicy) GetMultiplier() float64

func (*RefreshApiRetryPolicy) Read

func (*RefreshApiRetryPolicy) ReadField1

func (p *RefreshApiRetryPolicy) ReadField1(ctx context.Context, iprot thrift.TProtocol) error

func (*RefreshApiRetryPolicy) ReadField2

func (p *RefreshApiRetryPolicy) ReadField2(ctx context.Context, iprot thrift.TProtocol) error

func (*RefreshApiRetryPolicy) ReadField3

func (p *RefreshApiRetryPolicy) ReadField3(ctx context.Context, iprot thrift.TProtocol) error

func (*RefreshApiRetryPolicy) ReadField4

func (p *RefreshApiRetryPolicy) ReadField4(ctx context.Context, iprot thrift.TProtocol) error

func (*RefreshApiRetryPolicy) String

func (p *RefreshApiRetryPolicy) String() string

func (*RefreshApiRetryPolicy) Validate

func (p *RefreshApiRetryPolicy) Validate() error

func (*RefreshApiRetryPolicy) Write

type TalkErrorCode

type TalkErrorCode int64
const (
	TalkErrorCode_ILLEGAL_ARGUMENT                                      TalkErrorCode = 0
	TalkErrorCode_AUTHENTICATION_FAILED                                 TalkErrorCode = 1
	TalkErrorCode_DB_FAILED                                             TalkErrorCode = 2
	TalkErrorCode_INVALID_STATE                                         TalkErrorCode = 3
	TalkErrorCode_EXCESSIVE_ACCESS                                      TalkErrorCode = 4
	TalkErrorCode_NOT_FOUND                                             TalkErrorCode = 5
	TalkErrorCode_INVALID_MID                                           TalkErrorCode = 9
	TalkErrorCode_NOT_A_MEMBER                                          TalkErrorCode = 10
	TalkErrorCode_INVALID_LENGTH                                        TalkErrorCode = 6
	TalkErrorCode_NOT_AVAILABLE_USER                                    TalkErrorCode = 7
	TalkErrorCode_NOT_AUTHORIZED_DEVICE                                 TalkErrorCode = 8
	TalkErrorCode_NOT_AUTHORIZED_SESSION                                TalkErrorCode = 14
	TalkErrorCode_INCOMPATIBLE_APP_VERSION                              TalkErrorCode = 11
	TalkErrorCode_NOT_READY                                             TalkErrorCode = 12
	TalkErrorCode_NOT_AVAILABLE_SESSION                                 TalkErrorCode = 13
	TalkErrorCode_SYSTEM_ERROR                                          TalkErrorCode = 15
	TalkErrorCode_NO_AVAILABLE_VERIFICATION_METHOD                      TalkErrorCode = 16
	TalkErrorCode_NOT_AUTHENTICATED                                     TalkErrorCode = 17
	TalkErrorCode_INVALID_IDENTITY_CREDENTIAL                           TalkErrorCode = 18
	TalkErrorCode_NOT_AVAILABLE_IDENTITY_IDENTIFIER                     TalkErrorCode = 19
	TalkErrorCode_INTERNAL_ERROR                                        TalkErrorCode = 20
	TalkErrorCode_NO_SUCH_IDENTITY_IDENFIER                             TalkErrorCode = 21
	TalkErrorCode_DEACTIVATED_ACCOUNT_BOUND_TO_THIS_IDENTITY            TalkErrorCode = 22
	TalkErrorCode_ILLEGAL_IDENTITY_CREDENTIAL                           TalkErrorCode = 23
	TalkErrorCode_UNKNOWN_CHANNEL                                       TalkErrorCode = 24
	TalkErrorCode_NO_SUCH_MESSAGE_BOX                                   TalkErrorCode = 25
	TalkErrorCode_NOT_AVAILABLE_MESSAGE_BOX                             TalkErrorCode = 26
	TalkErrorCode_CHANNEL_DOES_NOT_MATCH                                TalkErrorCode = 27
	TalkErrorCode_NOT_YOUR_MESSAGE                                      TalkErrorCode = 28
	TalkErrorCode_MESSAGE_DEFINED_ERROR                                 TalkErrorCode = 29
	TalkErrorCode_USER_CANNOT_ACCEPT_PRESENTS                           TalkErrorCode = 30
	TalkErrorCode_USER_NOT_STICKER_OWNER                                TalkErrorCode = 32
	TalkErrorCode_MAINTENANCE_ERROR                                     TalkErrorCode = 33
	TalkErrorCode_ACCOUNT_NOT_MATCHED                                   TalkErrorCode = 34
	TalkErrorCode_ABUSE_BLOCK                                           TalkErrorCode = 35
	TalkErrorCode_NOT_FRIEND                                            TalkErrorCode = 36
	TalkErrorCode_NOT_ALLOWED_CALL                                      TalkErrorCode = 37
	TalkErrorCode_BLOCK_FRIEND                                          TalkErrorCode = 38
	TalkErrorCode_INCOMPATIBLE_VOIP_VERSION                             TalkErrorCode = 39
	TalkErrorCode_INVALID_SNS_ACCESS_TOKEN                              TalkErrorCode = 40
	TalkErrorCode_EXTERNAL_SERVICE_NOT_AVAILABLE                        TalkErrorCode = 41
	TalkErrorCode_NOT_ALLOWED_ADD_CONTACT                               TalkErrorCode = 42
	TalkErrorCode_NOT_CERTIFICATED                                      TalkErrorCode = 43
	TalkErrorCode_NOT_ALLOWED_SECONDARY_DEVICE                          TalkErrorCode = 44
	TalkErrorCode_INVALID_PIN_CODE                                      TalkErrorCode = 45
	TalkErrorCode_NOT_FOUND_IDENTITY_CREDENTIAL                         TalkErrorCode = 46
	TalkErrorCode_EXCEED_FILE_MAX_SIZE                                  TalkErrorCode = 47
	TalkErrorCode_EXCEED_DAILY_QUOTA                                    TalkErrorCode = 48
	TalkErrorCode_NOT_SUPPORT_SEND_FILE                                 TalkErrorCode = 49
	TalkErrorCode_MUST_UPGRADE                                          TalkErrorCode = 50
	TalkErrorCode_NOT_AVAILABLE_PIN_CODE_SESSION                        TalkErrorCode = 51
	TalkErrorCode_EXPIRED_REVISION                                      TalkErrorCode = 52
	TalkErrorCode_NOT_YET_PHONE_NUMBER                                  TalkErrorCode = 54
	TalkErrorCode_BAD_CALL_NUMBER                                       TalkErrorCode = 55
	TalkErrorCode_UNAVAILABLE_CALL_NUMBER                               TalkErrorCode = 56
	TalkErrorCode_NOT_SUPPORT_CALL_SERVICE                              TalkErrorCode = 57
	TalkErrorCode_CONGESTION_CONTROL                                    TalkErrorCode = 58
	TalkErrorCode_NO_BALANCE                                            TalkErrorCode = 59
	TalkErrorCode_NOT_PERMITTED_CALLER_ID                               TalkErrorCode = 60
	TalkErrorCode_NO_CALLER_ID_LIMIT_EXCEEDED                           TalkErrorCode = 61
	TalkErrorCode_CALLER_ID_VERIFICATION_REQUIRED                       TalkErrorCode = 62
	TalkErrorCode_NO_CALLER_ID_LIMIT_EXCEEDED_AND_VERIFICATION_REQUIRED TalkErrorCode = 63
	TalkErrorCode_MESSAGE_NOT_FOUND                                     TalkErrorCode = 64
	TalkErrorCode_INVALID_ACCOUNT_MIGRATION_PINCODE_FORMAT              TalkErrorCode = 65
	TalkErrorCode_ACCOUNT_MIGRATION_PINCODE_NOT_MATCHED                 TalkErrorCode = 66
	TalkErrorCode_ACCOUNT_MIGRATION_PINCODE_BLOCKED                     TalkErrorCode = 67
	TalkErrorCode_INVALID_PASSWORD_FORMAT                               TalkErrorCode = 69
	TalkErrorCode_FEATURE_RESTRICTED                                    TalkErrorCode = 70
	TalkErrorCode_MESSAGE_NOT_DESTRUCTIBLE                              TalkErrorCode = 71
	TalkErrorCode_PAID_CALL_REDEEM_FAILED                               TalkErrorCode = 72
	TalkErrorCode_PREVENTED_JOIN_BY_TICKET                              TalkErrorCode = 73
	TalkErrorCode_SEND_MESSAGE_NOT_PERMITTED_FROM_LINE_AT               TalkErrorCode = 75
	TalkErrorCode_SEND_MESSAGE_NOT_PERMITTED_WHILE_AUTO_REPLY           TalkErrorCode = 76
	TalkErrorCode_SECURITY_CENTER_NOT_VERIFIED                          TalkErrorCode = 77
	TalkErrorCode_SECURITY_CENTER_BLOCKED_BY_SETTING                    TalkErrorCode = 78
	TalkErrorCode_SECURITY_CENTER_BLOCKED                               TalkErrorCode = 79
	TalkErrorCode_TALK_PROXY_EXCEPTION                                  TalkErrorCode = 80
	TalkErrorCode_E2EE_INVALID_PROTOCOL                                 TalkErrorCode = 81
	TalkErrorCode_E2EE_RETRY_ENCRYPT                                    TalkErrorCode = 82
	TalkErrorCode_E2EE_UPDATE_SENDER_KEY                                TalkErrorCode = 83
	TalkErrorCode_E2EE_UPDATE_RECEIVER_KEY                              TalkErrorCode = 84
	TalkErrorCode_E2EE_INVALID_ARGUMENT                                 TalkErrorCode = 85
	TalkErrorCode_E2EE_INVALID_VERSION                                  TalkErrorCode = 86
	TalkErrorCode_E2EE_SENDER_DISABLED                                  TalkErrorCode = 87
	TalkErrorCode_E2EE_RECEIVER_DISABLED                                TalkErrorCode = 88
	TalkErrorCode_E2EE_SENDER_NOT_ALLOWED                               TalkErrorCode = 89
	TalkErrorCode_E2EE_RECEIVER_NOT_ALLOWED                             TalkErrorCode = 90
	TalkErrorCode_E2EE_RESEND_FAIL                                      TalkErrorCode = 91
	TalkErrorCode_E2EE_RESEND_OK                                        TalkErrorCode = 92
	TalkErrorCode_HITOKOTO_BACKUP_NO_AVAILABLE_DATA                     TalkErrorCode = 93
	TalkErrorCode_E2EE_UPDATE_PRIMARY_DEVICE                            TalkErrorCode = 94
	TalkErrorCode_SUCCESS                                               TalkErrorCode = 95
	TalkErrorCode_CANCEL                                                TalkErrorCode = 96
	TalkErrorCode_E2EE_PRIMARY_NOT_SUPPORT                              TalkErrorCode = 97
	TalkErrorCode_E2EE_RETRY_PLAIN                                      TalkErrorCode = 98
	TalkErrorCode_E2EE_RECREATE_GROUP_KEY                               TalkErrorCode = 99
	TalkErrorCode_E2EE_GROUP_TOO_MANY_MEMBERS                           TalkErrorCode = 100
	TalkErrorCode_SERVER_BUSY                                           TalkErrorCode = 101
	TalkErrorCode_NOT_ALLOWED_ADD_FOLLOW                                TalkErrorCode = 102
	TalkErrorCode_INCOMING_FRIEND_REQUEST_LIMIT                         TalkErrorCode = 103
	TalkErrorCode_OUTGOING_FRIEND_REQUEST_LIMIT                         TalkErrorCode = 104
	TalkErrorCode_OUTGOING_FRIEND_REQUEST_QUOTA                         TalkErrorCode = 105
	TalkErrorCode_DUPLICATED                                            TalkErrorCode = 106
	TalkErrorCode_BANNED                                                TalkErrorCode = 107
	TalkErrorCode_NOT_AN_INVITEE                                        TalkErrorCode = 108
	TalkErrorCode_NOT_AN_OUTSIDER                                       TalkErrorCode = 109
	TalkErrorCode_EMPTY_GROUP                                           TalkErrorCode = 111
	TalkErrorCode_EXCEED_FOLLOW_LIMIT                                   TalkErrorCode = 112
	TalkErrorCode_UNSUPPORTED_ACCOUNT_TYPE                              TalkErrorCode = 113
	TalkErrorCode_AGREEMENT_REQUIRED                                    TalkErrorCode = 114
	TalkErrorCode_SHOULD_RETRY                                          TalkErrorCode = 115
	TalkErrorCode_OVER_MAX_CHATS_PER_USER                               TalkErrorCode = 116
	TalkErrorCode_NOT_AVAILABLE_API                                     TalkErrorCode = 117
	TalkErrorCode_INVALID_OTP                                           TalkErrorCode = 118
	TalkErrorCode_MUST_REFRESH_V3_TOKEN                                 TalkErrorCode = 119
	TalkErrorCode_ALREADY_EXPIRED                                       TalkErrorCode = 120
	TalkErrorCode_USER_NOT_STICON_OWNER                                 TalkErrorCode = 121
	TalkErrorCode_REFRESH_MEDIA_FLOW                                    TalkErrorCode = 122
	TalkErrorCode_EXCEED_FOLLOWER_LIMIT                                 TalkErrorCode = 123
)

func TalkErrorCodeFromString

func TalkErrorCodeFromString(s string) (TalkErrorCode, error)

func TalkErrorCodePtr

func TalkErrorCodePtr(v TalkErrorCode) *TalkErrorCode

func (TalkErrorCode) MarshalText

func (p TalkErrorCode) MarshalText() ([]byte, error)

func (*TalkErrorCode) Scan

func (p *TalkErrorCode) Scan(value interface{}) error

func (TalkErrorCode) String

func (p TalkErrorCode) String() string

func (*TalkErrorCode) UnmarshalText

func (p *TalkErrorCode) UnmarshalText(text []byte) error

func (*TalkErrorCode) Value

func (p *TalkErrorCode) Value() (driver.Value, error)

type TalkException

type TalkException struct {
	Code         TalkErrorCode     `thrift:"code,1" db:"code" json:"code"`
	Reason       string            `thrift:"reason,2" db:"reason" json:"reason"`
	ParameterMap map[string]string `thrift:"parameterMap,3" db:"parameterMap" json:"parameterMap"`
}

Attributes:

  • Code
  • Reason
  • ParameterMap
var AuthServiceConfirmE2EELoginResult_E_DEFAULT *TalkException
var AuthServiceGetRSAKeyInfoResult_E_DEFAULT *TalkException
var AuthServiceLoginV2Result_E_DEFAULT *TalkException
var AuthServiceLoginZResult_E_DEFAULT *TalkException
var AuthServiceLogoutResult_E_DEFAULT *TalkException
var AuthServiceLogoutV2Result_E_DEFAULT *TalkException
var AuthServiceLogoutZResult_E_DEFAULT *TalkException
var AuthServiceVerifyQrcodeResult_E_DEFAULT *TalkException

func NewTalkException

func NewTalkException() *TalkException

func (*TalkException) Equals

func (p *TalkException) Equals(other *TalkException) bool

func (*TalkException) Error

func (p *TalkException) Error() string

func (*TalkException) GetCode

func (p *TalkException) GetCode() TalkErrorCode

func (*TalkException) GetParameterMap

func (p *TalkException) GetParameterMap() map[string]string

func (*TalkException) GetReason

func (p *TalkException) GetReason() string

func (*TalkException) Read

func (p *TalkException) Read(ctx context.Context, iprot thrift.TProtocol) error

func (*TalkException) ReadField1

func (p *TalkException) ReadField1(ctx context.Context, iprot thrift.TProtocol) error

func (*TalkException) ReadField2

func (p *TalkException) ReadField2(ctx context.Context, iprot thrift.TProtocol) error

func (*TalkException) ReadField3

func (p *TalkException) ReadField3(ctx context.Context, iprot thrift.TProtocol) error

func (*TalkException) String

func (p *TalkException) String() string

func (TalkException) TExceptionType

func (TalkException) TExceptionType() thrift.TExceptionType

func (*TalkException) Validate

func (p *TalkException) Validate() error

func (*TalkException) Write

func (p *TalkException) Write(ctx context.Context, oprot thrift.TProtocol) error

type TokenV3IssueResult_

type TokenV3IssueResult_ struct {
	AccessToken               string                 `thrift:"accessToken,1" db:"accessToken" json:"accessToken"`
	RefreshToken              string                 `thrift:"refreshToken,2" db:"refreshToken" json:"refreshToken"`
	DurationUntilRefreshInSec int64                  `thrift:"durationUntilRefreshInSec,3" db:"durationUntilRefreshInSec" json:"durationUntilRefreshInSec"`
	RefreshApiRetryPolicy     *RefreshApiRetryPolicy `thrift:"refreshApiRetryPolicy,4" db:"refreshApiRetryPolicy" json:"refreshApiRetryPolicy"`
	LoginSessionId            string                 `thrift:"loginSessionId,5" db:"loginSessionId" json:"loginSessionId"`
	TokenIssueTimeEpochSec    int64                  `thrift:"tokenIssueTimeEpochSec,6" db:"tokenIssueTimeEpochSec" json:"tokenIssueTimeEpochSec"`
}

Attributes:

  • AccessToken
  • RefreshToken
  • DurationUntilRefreshInSec
  • RefreshApiRetryPolicy
  • LoginSessionId
  • TokenIssueTimeEpochSec
var LoginResult__TokenV3IssueResult__DEFAULT *TokenV3IssueResult_

func NewTokenV3IssueResult_

func NewTokenV3IssueResult_() *TokenV3IssueResult_

func (*TokenV3IssueResult_) Equals

func (p *TokenV3IssueResult_) Equals(other *TokenV3IssueResult_) bool

func (*TokenV3IssueResult_) GetAccessToken

func (p *TokenV3IssueResult_) GetAccessToken() string

func (*TokenV3IssueResult_) GetDurationUntilRefreshInSec

func (p *TokenV3IssueResult_) GetDurationUntilRefreshInSec() int64

func (*TokenV3IssueResult_) GetLoginSessionId

func (p *TokenV3IssueResult_) GetLoginSessionId() string

func (*TokenV3IssueResult_) GetRefreshApiRetryPolicy

func (p *TokenV3IssueResult_) GetRefreshApiRetryPolicy() *RefreshApiRetryPolicy

func (*TokenV3IssueResult_) GetRefreshToken

func (p *TokenV3IssueResult_) GetRefreshToken() string

func (*TokenV3IssueResult_) GetTokenIssueTimeEpochSec

func (p *TokenV3IssueResult_) GetTokenIssueTimeEpochSec() int64

func (*TokenV3IssueResult_) IsSetRefreshApiRetryPolicy

func (p *TokenV3IssueResult_) IsSetRefreshApiRetryPolicy() bool

func (*TokenV3IssueResult_) Read

func (*TokenV3IssueResult_) ReadField1

func (p *TokenV3IssueResult_) ReadField1(ctx context.Context, iprot thrift.TProtocol) error

func (*TokenV3IssueResult_) ReadField2

func (p *TokenV3IssueResult_) ReadField2(ctx context.Context, iprot thrift.TProtocol) error

func (*TokenV3IssueResult_) ReadField3

func (p *TokenV3IssueResult_) ReadField3(ctx context.Context, iprot thrift.TProtocol) error

func (*TokenV3IssueResult_) ReadField4

func (p *TokenV3IssueResult_) ReadField4(ctx context.Context, iprot thrift.TProtocol) error

func (*TokenV3IssueResult_) ReadField5

func (p *TokenV3IssueResult_) ReadField5(ctx context.Context, iprot thrift.TProtocol) error

func (*TokenV3IssueResult_) ReadField6

func (p *TokenV3IssueResult_) ReadField6(ctx context.Context, iprot thrift.TProtocol) error

func (*TokenV3IssueResult_) String

func (p *TokenV3IssueResult_) String() string

func (*TokenV3IssueResult_) Validate

func (p *TokenV3IssueResult_) Validate() error

func (*TokenV3IssueResult_) Write

type VerificationMethod

type VerificationMethod int64
const (
	VerificationMethod_NO_AVAILABLE    VerificationMethod = 0
	VerificationMethod_PIN_VIA_SMS     VerificationMethod = 1
	VerificationMethod_CALLERID_INDIGO VerificationMethod = 2
	VerificationMethod_PIN_VIA_TTS     VerificationMethod = 4
	VerificationMethod_SKIP            VerificationMethod = 10
)

func VerificationMethodFromString

func VerificationMethodFromString(s string) (VerificationMethod, error)

func VerificationMethodPtr

func VerificationMethodPtr(v VerificationMethod) *VerificationMethod

func (VerificationMethod) MarshalText

func (p VerificationMethod) MarshalText() ([]byte, error)

func (*VerificationMethod) Scan

func (p *VerificationMethod) Scan(value interface{}) error

func (VerificationMethod) String

func (p VerificationMethod) String() string

func (*VerificationMethod) UnmarshalText

func (p *VerificationMethod) UnmarshalText(text []byte) error

func (*VerificationMethod) Value

func (p *VerificationMethod) Value() (driver.Value, error)

type VerificationSessionData

type VerificationSessionData struct {
	SessionId                    string               `thrift:"sessionId,1" db:"sessionId" json:"sessionId"`
	Method                       VerificationMethod   `thrift:"method,2" db:"method" json:"method"`
	Callback                     string               `thrift:"callback,3" db:"callback" json:"callback"`
	NormalizedPhone              string               `thrift:"normalizedPhone,4" db:"normalizedPhone" json:"normalizedPhone"`
	CountryCode                  string               `thrift:"countryCode,5" db:"countryCode" json:"countryCode"`
	NationalSignificantNumber    string               `thrift:"nationalSignificantNumber,6" db:"nationalSignificantNumber" json:"nationalSignificantNumber"`
	AvailableVerificationMethods []VerificationMethod `thrift:"availableVerificationMethods,7" db:"availableVerificationMethods" json:"availableVerificationMethods"`
	CallerIdMask                 string               `thrift:"callerIdMask,8" db:"callerIdMask" json:"callerIdMask"`
}

Attributes:

  • SessionId
  • Method
  • Callback
  • NormalizedPhone
  • CountryCode
  • NationalSignificantNumber
  • AvailableVerificationMethods
  • CallerIdMask
var LoginResult__SessionForSMSConfirm_DEFAULT *VerificationSessionData

func NewVerificationSessionData

func NewVerificationSessionData() *VerificationSessionData

func (*VerificationSessionData) Equals

func (*VerificationSessionData) GetAvailableVerificationMethods

func (p *VerificationSessionData) GetAvailableVerificationMethods() []VerificationMethod

func (*VerificationSessionData) GetCallback

func (p *VerificationSessionData) GetCallback() string

func (*VerificationSessionData) GetCallerIdMask

func (p *VerificationSessionData) GetCallerIdMask() string

func (*VerificationSessionData) GetCountryCode

func (p *VerificationSessionData) GetCountryCode() string

func (*VerificationSessionData) GetMethod

func (*VerificationSessionData) GetNationalSignificantNumber

func (p *VerificationSessionData) GetNationalSignificantNumber() string

func (*VerificationSessionData) GetNormalizedPhone

func (p *VerificationSessionData) GetNormalizedPhone() string

func (*VerificationSessionData) GetSessionId

func (p *VerificationSessionData) GetSessionId() string

func (*VerificationSessionData) Read

func (*VerificationSessionData) ReadField1

func (p *VerificationSessionData) ReadField1(ctx context.Context, iprot thrift.TProtocol) error

func (*VerificationSessionData) ReadField2

func (p *VerificationSessionData) ReadField2(ctx context.Context, iprot thrift.TProtocol) error

func (*VerificationSessionData) ReadField3

func (p *VerificationSessionData) ReadField3(ctx context.Context, iprot thrift.TProtocol) error

func (*VerificationSessionData) ReadField4

func (p *VerificationSessionData) ReadField4(ctx context.Context, iprot thrift.TProtocol) error

func (*VerificationSessionData) ReadField5

func (p *VerificationSessionData) ReadField5(ctx context.Context, iprot thrift.TProtocol) error

func (*VerificationSessionData) ReadField6

func (p *VerificationSessionData) ReadField6(ctx context.Context, iprot thrift.TProtocol) error

func (*VerificationSessionData) ReadField7

func (p *VerificationSessionData) ReadField7(ctx context.Context, iprot thrift.TProtocol) error

func (*VerificationSessionData) ReadField8

func (p *VerificationSessionData) ReadField8(ctx context.Context, iprot thrift.TProtocol) error

func (*VerificationSessionData) String

func (p *VerificationSessionData) String() string

func (*VerificationSessionData) Validate

func (p *VerificationSessionData) Validate() error

func (*VerificationSessionData) Write

Jump to

Keyboard shortcuts

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