primaryaccountinitservice

package
v0.0.0-...-44a09f9 Latest Latest
Warning

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

Go to latest
Published: May 23, 2022 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var GoUnusedProtection__ int
View Source
var PrimaryAccountInitServiceOpenSessionResult_Success_DEFAULT string

Functions

This section is empty.

Types

type AccountIdentifier

type AccountIdentifier struct {
	Type       AccountIdentifierType `thrift:"type,1" db:"type" json:"type"`
	Identifier string                `thrift:"identifier,2" db:"identifier" json:"identifier"`
	// unused fields # 3 to 10
	CountryCode string `thrift:"countryCode,11" db:"countryCode" json:"countryCode"`
}

Attributes:

  • Type
  • Identifier
  • CountryCode
var PrimaryAccountInitServiceGetAcctVerifMethodArgs_AccountIdentifier_DEFAULT *AccountIdentifier
var PrimaryAccountInitServiceGetUserProfileArgs_AccountIdentifier_DEFAULT *AccountIdentifier
var PrimaryAccountInitServiceIssueWebAuthDetailsForAcctVerifArgs_AccountIdentifier_DEFAULT *AccountIdentifier
var PrimaryAccountInitServiceVerifyAccountUsingPwdArgs_AccountIdentifier_DEFAULT *AccountIdentifier

func NewAccountIdentifier

func NewAccountIdentifier() *AccountIdentifier

func (*AccountIdentifier) Equals

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

func (*AccountIdentifier) GetCountryCode

func (p *AccountIdentifier) GetCountryCode() string

func (*AccountIdentifier) GetIdentifier

func (p *AccountIdentifier) GetIdentifier() string

func (*AccountIdentifier) GetType

func (*AccountIdentifier) Read

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

func (*AccountIdentifier) ReadField1

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

func (*AccountIdentifier) ReadField11

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

func (*AccountIdentifier) ReadField2

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

func (*AccountIdentifier) String

func (p *AccountIdentifier) String() string

func (*AccountIdentifier) Write

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

type AccountIdentifierType

type AccountIdentifierType int64
const (
	AccountIdentifierType_UNKNOWN      AccountIdentifierType = 0
	AccountIdentifierType_PHONE_NUMBER AccountIdentifierType = 1
	AccountIdentifierType_EMAIL        AccountIdentifierType = 2
)

func AccountIdentifierTypeFromString

func AccountIdentifierTypeFromString(s string) (AccountIdentifierType, error)

func (AccountIdentifierType) MarshalText

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

func (*AccountIdentifierType) Scan

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

func (AccountIdentifierType) String

func (p AccountIdentifierType) String() string

func (*AccountIdentifierType) UnmarshalText

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

func (*AccountIdentifierType) Value

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

type AccountVerifMethod

type AccountVerifMethod int64
const (
	AccountVerifMethod_UNKNOWN   AccountVerifMethod = 0
	AccountVerifMethod_SKIP      AccountVerifMethod = 1
	AccountVerifMethod_PASSWORD  AccountVerifMethod = 2
	AccountVerifMethod_WEB_BASED AccountVerifMethod = 3
)

func AccountVerifMethodFromString

func AccountVerifMethodFromString(s string) (AccountVerifMethod, error)

func AccountVerifMethodPtr

func AccountVerifMethodPtr(v AccountVerifMethod) *AccountVerifMethod

func (AccountVerifMethod) MarshalText

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

func (*AccountVerifMethod) Scan

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

func (AccountVerifMethod) String

func (p AccountVerifMethod) String() string

func (*AccountVerifMethod) UnmarshalText

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

func (*AccountVerifMethod) Value

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

type AuthException

type AuthException struct {
	Code         ErrorCode `thrift:"code,1" db:"code" json:"code"`
	AlertMessage string    `thrift:"alertMessage,2" db:"alertMessage" json:"alertMessage"`
	// unused fields # 3 to 10
	WebAuthDetails *WebAuthDetails `thrift:"webAuthDetails,11" db:"webAuthDetails" json:"webAuthDetails"`
}

Attributes:

  • Code
  • AlertMessage
  • WebAuthDetails
var PrimaryAccountInitServiceExchangeEncryptionKeyResult_E_DEFAULT *AuthException
var PrimaryAccountInitServiceGetAcctVerifMethodResult_E_DEFAULT *AuthException
var PrimaryAccountInitServiceGetPhoneVerifMethodResult_E_DEFAULT *AuthException
var PrimaryAccountInitServiceGetSecondAuthMethodResult_E_DEFAULT *AuthException
var PrimaryAccountInitServiceGetUserProfileResult_E_DEFAULT *AuthException
var PrimaryAccountInitServiceIssueWebAuthDetailsForAcctVerifResult_E_DEFAULT *AuthException
var PrimaryAccountInitServiceIssueWebAuthDetailsForSecondAuthResult_E_DEFAULT *AuthException
var PrimaryAccountInitServiceMigratePrimaryUsingPhoneResult_E_DEFAULT *AuthException
var PrimaryAccountInitServiceOpenSessionResult_E_DEFAULT *AuthException
var PrimaryAccountInitServiceRegisterPrimaryUsingPhoneResult_E_DEFAULT *AuthException
var PrimaryAccountInitServiceSendPinCodeForPhoneResult_E_DEFAULT *AuthException
var PrimaryAccountInitServiceSetPasswordResult_E_DEFAULT *AuthException
var PrimaryAccountInitServiceValidateProfileResult_E_DEFAULT *AuthException
var PrimaryAccountInitServiceVerifyAccountUsingPwdResult_E_DEFAULT *AuthException
var PrimaryAccountInitServiceVerifyPhoneResult_E_DEFAULT *AuthException

func NewAuthException

func NewAuthException() *AuthException

func (*AuthException) Equals

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

func (*AuthException) Error

func (p *AuthException) Error() string

func (*AuthException) GetAlertMessage

func (p *AuthException) GetAlertMessage() string

func (*AuthException) GetCode

func (p *AuthException) GetCode() ErrorCode

func (*AuthException) GetWebAuthDetails

func (p *AuthException) GetWebAuthDetails() *WebAuthDetails

func (*AuthException) IsSetWebAuthDetails

func (p *AuthException) IsSetWebAuthDetails() bool

func (*AuthException) Read

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

func (*AuthException) ReadField1

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

func (*AuthException) ReadField11

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

func (*AuthException) ReadField2

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

func (*AuthException) String

func (p *AuthException) String() string

func (AuthException) TExceptionType

func (AuthException) TExceptionType() thrift.TExceptionType

func (*AuthException) Write

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

type Device

type Device struct {
	Udid        string `thrift:"udid,1" db:"udid" json:"udid"`
	DeviceModel string `thrift:"deviceModel,2" db:"deviceModel" json:"deviceModel"`
}

Attributes:

  • Udid
  • DeviceModel
var PrimaryAccountInitServiceGetPhoneVerifMethodArgs_Device_DEFAULT *Device
var PrimaryAccountInitServiceSendPinCodeForPhoneArgs_Device_DEFAULT *Device
var PrimaryAccountInitServiceVerifyPhoneArgs_Device_DEFAULT *Device

func NewDevice

func NewDevice() *Device

func (*Device) Equals

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

func (*Device) GetDeviceModel

func (p *Device) GetDeviceModel() string

func (*Device) GetUdid

func (p *Device) GetUdid() string

func (*Device) Read

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

func (*Device) ReadField1

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

func (*Device) ReadField2

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

func (*Device) String

func (p *Device) String() string

func (*Device) Write

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

type EncryptedPassword

type EncryptedPassword struct {
	EncryptionKeyVersion EncryptionKeyVersion `thrift:"encryptionKeyVersion,1" db:"encryptionKeyVersion" json:"encryptionKeyVersion"`
	CipherText           string               `thrift:"cipherText,2" db:"cipherText" json:"cipherText"`
}

Attributes:

  • EncryptionKeyVersion
  • CipherText
var PrimaryAccountInitServiceSetPasswordArgs_EncryptedPassword_DEFAULT *EncryptedPassword
var PrimaryAccountInitServiceVerifyAccountUsingPwdArgs_EncryptedPassword_DEFAULT *EncryptedPassword

func NewEncryptedPassword

func NewEncryptedPassword() *EncryptedPassword

func (*EncryptedPassword) Equals

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

func (*EncryptedPassword) GetCipherText

func (p *EncryptedPassword) GetCipherText() string

func (*EncryptedPassword) GetEncryptionKeyVersion

func (p *EncryptedPassword) GetEncryptionKeyVersion() EncryptionKeyVersion

func (*EncryptedPassword) Read

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

func (*EncryptedPassword) ReadField1

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

func (*EncryptedPassword) ReadField2

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

func (*EncryptedPassword) String

func (p *EncryptedPassword) String() string

func (*EncryptedPassword) Write

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

type EncryptionKeyVersion

type EncryptionKeyVersion int64
const (
	EncryptionKeyVersion_UNKNOWN EncryptionKeyVersion = 0
	EncryptionKeyVersion_V1      EncryptionKeyVersion = 1
)

func EncryptionKeyVersionFromString

func EncryptionKeyVersionFromString(s string) (EncryptionKeyVersion, error)

func (EncryptionKeyVersion) MarshalText

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

func (*EncryptionKeyVersion) Scan

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

func (EncryptionKeyVersion) String

func (p EncryptionKeyVersion) String() string

func (*EncryptionKeyVersion) UnmarshalText

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

func (*EncryptionKeyVersion) Value

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

type ErrorCode

type ErrorCode int64
const (
	ErrorCode_INTERNAL_ERROR              ErrorCode = 0
	ErrorCode_ILLEGAL_ARGUMENT            ErrorCode = 1
	ErrorCode_VERIFICATION_FAILED         ErrorCode = 2
	ErrorCode_NOT_FOUND                   ErrorCode = 3
	ErrorCode_RETRY_LATER                 ErrorCode = 4
	ErrorCode_HUMAN_VERIFICATION_REQUIRED ErrorCode = 5
	ErrorCode_INVALID_CONTEXT             ErrorCode = 100
	ErrorCode_APP_UPGRADE_REQUIRED        ErrorCode = 101
)

func ErrorCodeFromString

func ErrorCodeFromString(s string) (ErrorCode, error)

func ErrorCodePtr

func ErrorCodePtr(v ErrorCode) *ErrorCode

func (ErrorCode) MarshalText

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

func (*ErrorCode) Scan

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

func (ErrorCode) String

func (p ErrorCode) String() string

func (*ErrorCode) UnmarshalText

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

func (*ErrorCode) Value

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

type ExchangeEncryptionKeyRequest

type ExchangeEncryptionKeyRequest struct {
	AuthKeyVersion EncryptionKeyVersion `thrift:"authKeyVersion,1" db:"authKeyVersion" json:"authKeyVersion"`
	PublicKey      string               `thrift:"publicKey,2" db:"publicKey" json:"publicKey"`
	Nonce          string               `thrift:"nonce,3" db:"nonce" json:"nonce"`
}

Attributes:

  • AuthKeyVersion
  • PublicKey
  • Nonce
var PrimaryAccountInitServiceExchangeEncryptionKeyArgs_Request_DEFAULT *ExchangeEncryptionKeyRequest

func NewExchangeEncryptionKeyRequest

func NewExchangeEncryptionKeyRequest() *ExchangeEncryptionKeyRequest

func (*ExchangeEncryptionKeyRequest) Equals

func (*ExchangeEncryptionKeyRequest) GetAuthKeyVersion

func (p *ExchangeEncryptionKeyRequest) GetAuthKeyVersion() EncryptionKeyVersion

func (*ExchangeEncryptionKeyRequest) GetNonce

func (p *ExchangeEncryptionKeyRequest) GetNonce() string

func (*ExchangeEncryptionKeyRequest) GetPublicKey

func (p *ExchangeEncryptionKeyRequest) GetPublicKey() string

func (*ExchangeEncryptionKeyRequest) Read

func (*ExchangeEncryptionKeyRequest) ReadField1

func (*ExchangeEncryptionKeyRequest) ReadField2

func (*ExchangeEncryptionKeyRequest) ReadField3

func (*ExchangeEncryptionKeyRequest) String

func (*ExchangeEncryptionKeyRequest) Write

type ExchangeEncryptionKeyResponse

type ExchangeEncryptionKeyResponse struct {
	PublicKey string `thrift:"publicKey,1" db:"publicKey" json:"publicKey"`
	Nonce     string `thrift:"nonce,2" db:"nonce" json:"nonce"`
}

Attributes:

  • PublicKey
  • Nonce
var PrimaryAccountInitServiceExchangeEncryptionKeyResult_Success_DEFAULT *ExchangeEncryptionKeyResponse

func NewExchangeEncryptionKeyResponse

func NewExchangeEncryptionKeyResponse() *ExchangeEncryptionKeyResponse

func (*ExchangeEncryptionKeyResponse) Equals

func (*ExchangeEncryptionKeyResponse) GetNonce

func (p *ExchangeEncryptionKeyResponse) GetNonce() string

func (*ExchangeEncryptionKeyResponse) GetPublicKey

func (p *ExchangeEncryptionKeyResponse) GetPublicKey() string

func (*ExchangeEncryptionKeyResponse) Read

func (*ExchangeEncryptionKeyResponse) ReadField1

func (*ExchangeEncryptionKeyResponse) ReadField2

func (*ExchangeEncryptionKeyResponse) String

func (*ExchangeEncryptionKeyResponse) Write

type GetAcctVerifMethodResponse

type GetAcctVerifMethodResponse struct {
	AvailableMethod           AccountVerifMethod `thrift:"availableMethod,1" db:"availableMethod" json:"availableMethod"`
	SameAccountFromAuthFactor bool               `thrift:"sameAccountFromAuthFactor,2" db:"sameAccountFromAuthFactor" json:"sameAccountFromAuthFactor"`
}

Attributes:

  • AvailableMethod
  • SameAccountFromAuthFactor
var PrimaryAccountInitServiceGetAcctVerifMethodResult_Success_DEFAULT *GetAcctVerifMethodResponse

func NewGetAcctVerifMethodResponse

func NewGetAcctVerifMethodResponse() *GetAcctVerifMethodResponse

func (*GetAcctVerifMethodResponse) Equals

func (*GetAcctVerifMethodResponse) GetAvailableMethod

func (p *GetAcctVerifMethodResponse) GetAvailableMethod() AccountVerifMethod

func (*GetAcctVerifMethodResponse) GetSameAccountFromAuthFactor

func (p *GetAcctVerifMethodResponse) GetSameAccountFromAuthFactor() bool

func (*GetAcctVerifMethodResponse) Read

func (*GetAcctVerifMethodResponse) ReadField1

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

func (*GetAcctVerifMethodResponse) ReadField2

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

func (*GetAcctVerifMethodResponse) String

func (p *GetAcctVerifMethodResponse) String() string

func (*GetAcctVerifMethodResponse) Write

type GetPhoneVerifMethodResponse

type GetPhoneVerifMethodResponse struct {
	AvailableMethods []PhoneVerifMethod `thrift:"availableMethods,1" db:"availableMethods" json:"availableMethods"`
	// unused field # 2
	PrettifiedPhoneNumber string `thrift:"prettifiedPhoneNumber,3" db:"prettifiedPhoneNumber" json:"prettifiedPhoneNumber"`
}

Attributes:

  • AvailableMethods
  • PrettifiedPhoneNumber
var PrimaryAccountInitServiceGetPhoneVerifMethodResult_Success_DEFAULT *GetPhoneVerifMethodResponse

func NewGetPhoneVerifMethodResponse

func NewGetPhoneVerifMethodResponse() *GetPhoneVerifMethodResponse

func (*GetPhoneVerifMethodResponse) Equals

func (*GetPhoneVerifMethodResponse) GetAvailableMethods

func (p *GetPhoneVerifMethodResponse) GetAvailableMethods() []PhoneVerifMethod

func (*GetPhoneVerifMethodResponse) GetPrettifiedPhoneNumber

func (p *GetPhoneVerifMethodResponse) GetPrettifiedPhoneNumber() string

func (*GetPhoneVerifMethodResponse) Read

func (*GetPhoneVerifMethodResponse) ReadField1

func (*GetPhoneVerifMethodResponse) ReadField3

func (*GetPhoneVerifMethodResponse) String

func (p *GetPhoneVerifMethodResponse) String() string

func (*GetPhoneVerifMethodResponse) Write

type GetSecondAuthMethodResponse

type GetSecondAuthMethodResponse struct {
	SecondAuthMethod SecondAuthMethod `thrift:"secondAuthMethod,1" db:"secondAuthMethod" json:"secondAuthMethod"`
}

Attributes:

  • SecondAuthMethod
var PrimaryAccountInitServiceGetSecondAuthMethodResult_Success_DEFAULT *GetSecondAuthMethodResponse

func NewGetSecondAuthMethodResponse

func NewGetSecondAuthMethodResponse() *GetSecondAuthMethodResponse

func (*GetSecondAuthMethodResponse) Equals

func (*GetSecondAuthMethodResponse) GetSecondAuthMethod

func (p *GetSecondAuthMethodResponse) GetSecondAuthMethod() SecondAuthMethod

func (*GetSecondAuthMethodResponse) Read

func (*GetSecondAuthMethodResponse) ReadField1

func (*GetSecondAuthMethodResponse) String

func (p *GetSecondAuthMethodResponse) String() string

func (*GetSecondAuthMethodResponse) Write

type GetUserProfileResponse

type GetUserProfileResponse struct {
	UserProfile *UserProfile `thrift:"userProfile,1" db:"userProfile" json:"userProfile"`
}

Attributes:

  • UserProfile
var PrimaryAccountInitServiceGetUserProfileResult_Success_DEFAULT *GetUserProfileResponse

func NewGetUserProfileResponse

func NewGetUserProfileResponse() *GetUserProfileResponse

func (*GetUserProfileResponse) Equals

func (*GetUserProfileResponse) GetUserProfile

func (p *GetUserProfileResponse) GetUserProfile() *UserProfile

func (*GetUserProfileResponse) IsSetUserProfile

func (p *GetUserProfileResponse) IsSetUserProfile() bool

func (*GetUserProfileResponse) Read

func (*GetUserProfileResponse) ReadField1

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

func (*GetUserProfileResponse) String

func (p *GetUserProfileResponse) String() string

func (*GetUserProfileResponse) Write

type IssueWebAuthDetailsForAcctVerifResponse

type IssueWebAuthDetailsForAcctVerifResponse struct {
	WebAuthDetails *WebAuthDetails `thrift:"webAuthDetails,1" db:"webAuthDetails" json:"webAuthDetails"`
}

Attributes:

  • WebAuthDetails
var PrimaryAccountInitServiceIssueWebAuthDetailsForAcctVerifResult_Success_DEFAULT *IssueWebAuthDetailsForAcctVerifResponse

func NewIssueWebAuthDetailsForAcctVerifResponse

func NewIssueWebAuthDetailsForAcctVerifResponse() *IssueWebAuthDetailsForAcctVerifResponse

func (*IssueWebAuthDetailsForAcctVerifResponse) Equals

func (*IssueWebAuthDetailsForAcctVerifResponse) GetWebAuthDetails

func (*IssueWebAuthDetailsForAcctVerifResponse) IsSetWebAuthDetails

func (p *IssueWebAuthDetailsForAcctVerifResponse) IsSetWebAuthDetails() bool

func (*IssueWebAuthDetailsForAcctVerifResponse) Read

func (*IssueWebAuthDetailsForAcctVerifResponse) ReadField1

func (*IssueWebAuthDetailsForAcctVerifResponse) String

func (*IssueWebAuthDetailsForAcctVerifResponse) Write

type IssueWebAuthDetailsForSecondAuthResponse

type IssueWebAuthDetailsForSecondAuthResponse struct {
	WebAuthDetails *WebAuthDetails `thrift:"webAuthDetails,1" db:"webAuthDetails" json:"webAuthDetails"`
}

Attributes:

  • WebAuthDetails
var PrimaryAccountInitServiceIssueWebAuthDetailsForSecondAuthResult_Success_DEFAULT *IssueWebAuthDetailsForSecondAuthResponse

func NewIssueWebAuthDetailsForSecondAuthResponse

func NewIssueWebAuthDetailsForSecondAuthResponse() *IssueWebAuthDetailsForSecondAuthResponse

func (*IssueWebAuthDetailsForSecondAuthResponse) Equals

func (*IssueWebAuthDetailsForSecondAuthResponse) GetWebAuthDetails

func (*IssueWebAuthDetailsForSecondAuthResponse) IsSetWebAuthDetails

func (p *IssueWebAuthDetailsForSecondAuthResponse) IsSetWebAuthDetails() bool

func (*IssueWebAuthDetailsForSecondAuthResponse) Read

func (*IssueWebAuthDetailsForSecondAuthResponse) ReadField1

func (*IssueWebAuthDetailsForSecondAuthResponse) String

func (*IssueWebAuthDetailsForSecondAuthResponse) Write

type MigratePrimaryResponse

type MigratePrimaryResponse struct {
	AuthToken string `thrift:"authToken,1" db:"authToken" json:"authToken"`
}

Attributes:

  • AuthToken
var PrimaryAccountInitServiceMigratePrimaryUsingPhoneResult_Success_DEFAULT *MigratePrimaryResponse

func NewMigratePrimaryResponse

func NewMigratePrimaryResponse() *MigratePrimaryResponse

func (*MigratePrimaryResponse) Equals

func (*MigratePrimaryResponse) GetAuthToken

func (p *MigratePrimaryResponse) GetAuthToken() string

func (*MigratePrimaryResponse) Read

func (*MigratePrimaryResponse) ReadField1

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

func (*MigratePrimaryResponse) String

func (p *MigratePrimaryResponse) String() string

func (*MigratePrimaryResponse) Write

type OpenSessionRequest

type OpenSessionRequest struct {
	MetaData map[string]string `thrift:"metaData,1" db:"metaData" json:"metaData"`
}

Attributes:

  • MetaData
var PrimaryAccountInitServiceOpenSessionArgs_Request_DEFAULT *OpenSessionRequest

func NewOpenSessionRequest

func NewOpenSessionRequest() *OpenSessionRequest

func (*OpenSessionRequest) Equals

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

func (*OpenSessionRequest) GetMetaData

func (p *OpenSessionRequest) GetMetaData() map[string]string

func (*OpenSessionRequest) Read

func (*OpenSessionRequest) ReadField1

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

func (*OpenSessionRequest) String

func (p *OpenSessionRequest) String() string

func (*OpenSessionRequest) Write

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

type PhoneVerifMethod

type PhoneVerifMethod int64
const (
	PhoneVerifMethod_UNKNOWN     PhoneVerifMethod = 0
	PhoneVerifMethod_UNAVAILABLE PhoneVerifMethod = 1
	PhoneVerifMethod_SMS         PhoneVerifMethod = 2
	PhoneVerifMethod_TTS         PhoneVerifMethod = 3
)

func PhoneVerifMethodFromString

func PhoneVerifMethodFromString(s string) (PhoneVerifMethod, error)

func PhoneVerifMethodPtr

func PhoneVerifMethodPtr(v PhoneVerifMethod) *PhoneVerifMethod

func (PhoneVerifMethod) MarshalText

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

func (*PhoneVerifMethod) Scan

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

func (PhoneVerifMethod) String

func (p PhoneVerifMethod) String() string

func (*PhoneVerifMethod) UnmarshalText

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

func (*PhoneVerifMethod) Value

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

type PrimaryAccountInitService

type PrimaryAccountInitService interface {
	// Parameters:
	//  - Request
	OpenSession(ctx context.Context, request *OpenSessionRequest) (_r string, _err error)
	// Parameters:
	//  - AuthSessionId
	//  - AccountIdentifier
	GetAcctVerifMethod(ctx context.Context, authSessionId string, accountIdentifier *AccountIdentifier) (_r *GetAcctVerifMethodResponse, _err error)
	// Parameters:
	//  - AuthSessionId
	RegisterPrimaryUsingPhone(ctx context.Context, authSessionId string) (_r *RegisterPrimaryResponse, _err error)
	// Parameters:
	//  - AuthSessionId
	MigratePrimaryUsingPhone(ctx context.Context, authSessionId string) (_r *MigratePrimaryResponse, _err error)
	// Parameters:
	//  - AuthSessionId
	//  - Device
	//  - UserPhoneNumber
	GetPhoneVerifMethod(ctx context.Context, authSessionId string, device *Device, userPhoneNumber *UserPhoneNumber) (_r *GetPhoneVerifMethodResponse, _err error)
	// Parameters:
	//  - AuthSessionId
	//  - Device
	//  - UserPhoneNumber
	//  - PinCode
	VerifyPhone(ctx context.Context, authSessionId string, device *Device, userPhoneNumber *UserPhoneNumber, pinCode string) (_r *VerifyPhoneResponse, _err error)
	// Parameters:
	//  - AuthSessionId
	//  - AccountIdentifier
	//  - EncryptedPassword
	VerifyAccountUsingPwd(ctx context.Context, authSessionId string, accountIdentifier *AccountIdentifier, encryptedPassword *EncryptedPassword) (_r *VerifyAccountUsingPwdResponse, _err error)
	// Parameters:
	//  - AuthSessionId
	//  - DisplayName
	ValidateProfile(ctx context.Context, authSessionId string, displayName string) (_r *ValidateProfileResponse, _err error)
	// Parameters:
	//  - AuthSessionId
	//  - AccountIdentifier
	GetUserProfile(ctx context.Context, authSessionId string, accountIdentifier *AccountIdentifier) (_r *GetUserProfileResponse, _err error)
	// Parameters:
	//  - AuthSessionId
	//  - AccountIdentifier
	IssueWebAuthDetailsForAcctVerif(ctx context.Context, authSessionId string, accountIdentifier *AccountIdentifier) (_r *IssueWebAuthDetailsForAcctVerifResponse, _err error)
	// Parameters:
	//  - AuthSessionId
	IssueWebAuthDetailsForSecondAuth(ctx context.Context, authSessionId string) (_r *IssueWebAuthDetailsForSecondAuthResponse, _err error)
	// Parameters:
	//  - AuthSessionId
	//  - Request
	ExchangeEncryptionKey(ctx context.Context, authSessionId string, request *ExchangeEncryptionKeyRequest) (_r *ExchangeEncryptionKeyResponse, _err error)
	// Parameters:
	//  - AuthSessionId
	//  - EncryptedPassword
	SetPassword(ctx context.Context, authSessionId string, encryptedPassword *EncryptedPassword) (_r *SetPasswordResponse, _err error)
	// Parameters:
	//  - AuthSessionId
	//  - Device
	//  - UserPhoneNumber
	//  - VerifMethod
	SendPinCodeForPhone(ctx context.Context, authSessionId string, device *Device, userPhoneNumber *UserPhoneNumber, verifMethod PhoneVerifMethod) (_r *SendPinCodeForPhoneResponse, _err error)
	// Parameters:
	//  - AuthSessionId
	GetSecondAuthMethod(ctx context.Context, authSessionId string) (_r *GetSecondAuthMethodResponse, _err error)
}

type PrimaryAccountInitServiceClient

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

func NewPrimaryAccountInitServiceClient

func NewPrimaryAccountInitServiceClient(c thrift.TClient) *PrimaryAccountInitServiceClient

func NewPrimaryAccountInitServiceClientProtocol

func NewPrimaryAccountInitServiceClientProtocol(t thrift.TTransport, iprot thrift.TProtocol, oprot thrift.TProtocol) *PrimaryAccountInitServiceClient

func (*PrimaryAccountInitServiceClient) Client_

func (*PrimaryAccountInitServiceClient) ExchangeEncryptionKey

func (p *PrimaryAccountInitServiceClient) ExchangeEncryptionKey(ctx context.Context, authSessionId string, request *ExchangeEncryptionKeyRequest) (_r *ExchangeEncryptionKeyResponse, _err error)

Parameters:

  • AuthSessionId
  • Request

func (*PrimaryAccountInitServiceClient) GetAcctVerifMethod

func (p *PrimaryAccountInitServiceClient) GetAcctVerifMethod(ctx context.Context, authSessionId string, accountIdentifier *AccountIdentifier) (_r *GetAcctVerifMethodResponse, _err error)

Parameters:

  • AuthSessionId
  • AccountIdentifier

func (*PrimaryAccountInitServiceClient) GetPhoneVerifMethod

func (p *PrimaryAccountInitServiceClient) GetPhoneVerifMethod(ctx context.Context, authSessionId string, device *Device, userPhoneNumber *UserPhoneNumber) (_r *GetPhoneVerifMethodResponse, _err error)

Parameters:

  • AuthSessionId
  • Device
  • UserPhoneNumber

func (*PrimaryAccountInitServiceClient) GetSecondAuthMethod

func (p *PrimaryAccountInitServiceClient) GetSecondAuthMethod(ctx context.Context, authSessionId string) (_r *GetSecondAuthMethodResponse, _err error)

Parameters:

  • AuthSessionId

func (*PrimaryAccountInitServiceClient) GetUserProfile

func (p *PrimaryAccountInitServiceClient) GetUserProfile(ctx context.Context, authSessionId string, accountIdentifier *AccountIdentifier) (_r *GetUserProfileResponse, _err error)

Parameters:

  • AuthSessionId
  • AccountIdentifier

func (*PrimaryAccountInitServiceClient) IssueWebAuthDetailsForAcctVerif

func (p *PrimaryAccountInitServiceClient) IssueWebAuthDetailsForAcctVerif(ctx context.Context, authSessionId string, accountIdentifier *AccountIdentifier) (_r *IssueWebAuthDetailsForAcctVerifResponse, _err error)

Parameters:

  • AuthSessionId
  • AccountIdentifier

func (*PrimaryAccountInitServiceClient) IssueWebAuthDetailsForSecondAuth

func (p *PrimaryAccountInitServiceClient) IssueWebAuthDetailsForSecondAuth(ctx context.Context, authSessionId string) (_r *IssueWebAuthDetailsForSecondAuthResponse, _err error)

Parameters:

  • AuthSessionId

func (*PrimaryAccountInitServiceClient) LastResponseMeta_

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

func (*PrimaryAccountInitServiceClient) MigratePrimaryUsingPhone

func (p *PrimaryAccountInitServiceClient) MigratePrimaryUsingPhone(ctx context.Context, authSessionId string) (_r *MigratePrimaryResponse, _err error)

Parameters:

  • AuthSessionId

func (*PrimaryAccountInitServiceClient) OpenSession

func (p *PrimaryAccountInitServiceClient) OpenSession(ctx context.Context, request *OpenSessionRequest) (_r string, _err error)

Parameters:

  • Request

func (*PrimaryAccountInitServiceClient) RegisterPrimaryUsingPhone

func (p *PrimaryAccountInitServiceClient) RegisterPrimaryUsingPhone(ctx context.Context, authSessionId string) (_r *RegisterPrimaryResponse, _err error)

Parameters:

  • AuthSessionId

func (*PrimaryAccountInitServiceClient) SendPinCodeForPhone

func (p *PrimaryAccountInitServiceClient) SendPinCodeForPhone(ctx context.Context, authSessionId string, device *Device, userPhoneNumber *UserPhoneNumber, verifMethod PhoneVerifMethod) (_r *SendPinCodeForPhoneResponse, _err error)

Parameters:

  • AuthSessionId
  • Device
  • UserPhoneNumber
  • VerifMethod

func (*PrimaryAccountInitServiceClient) SetLastResponseMeta_

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

func (*PrimaryAccountInitServiceClient) SetPassword

func (p *PrimaryAccountInitServiceClient) SetPassword(ctx context.Context, authSessionId string, encryptedPassword *EncryptedPassword) (_r *SetPasswordResponse, _err error)

Parameters:

  • AuthSessionId
  • EncryptedPassword

func (*PrimaryAccountInitServiceClient) ValidateProfile

func (p *PrimaryAccountInitServiceClient) ValidateProfile(ctx context.Context, authSessionId string, displayName string) (_r *ValidateProfileResponse, _err error)

Parameters:

  • AuthSessionId
  • DisplayName

func (*PrimaryAccountInitServiceClient) VerifyAccountUsingPwd

func (p *PrimaryAccountInitServiceClient) VerifyAccountUsingPwd(ctx context.Context, authSessionId string, accountIdentifier *AccountIdentifier, encryptedPassword *EncryptedPassword) (_r *VerifyAccountUsingPwdResponse, _err error)

Parameters:

  • AuthSessionId
  • AccountIdentifier
  • EncryptedPassword

func (*PrimaryAccountInitServiceClient) VerifyPhone

func (p *PrimaryAccountInitServiceClient) VerifyPhone(ctx context.Context, authSessionId string, device *Device, userPhoneNumber *UserPhoneNumber, pinCode string) (_r *VerifyPhoneResponse, _err error)

Parameters:

  • AuthSessionId
  • Device
  • UserPhoneNumber
  • PinCode

type PrimaryAccountInitServiceExchangeEncryptionKeyArgs

type PrimaryAccountInitServiceExchangeEncryptionKeyArgs struct {
	AuthSessionId string                        `thrift:"authSessionId,1" db:"authSessionId" json:"authSessionId"`
	Request       *ExchangeEncryptionKeyRequest `thrift:"request,2" db:"request" json:"request"`
}

Attributes:

  • AuthSessionId
  • Request

func NewPrimaryAccountInitServiceExchangeEncryptionKeyArgs

func NewPrimaryAccountInitServiceExchangeEncryptionKeyArgs() *PrimaryAccountInitServiceExchangeEncryptionKeyArgs

func (*PrimaryAccountInitServiceExchangeEncryptionKeyArgs) GetAuthSessionId

func (*PrimaryAccountInitServiceExchangeEncryptionKeyArgs) GetRequest

func (*PrimaryAccountInitServiceExchangeEncryptionKeyArgs) IsSetRequest

func (*PrimaryAccountInitServiceExchangeEncryptionKeyArgs) Read

func (*PrimaryAccountInitServiceExchangeEncryptionKeyArgs) ReadField1

func (*PrimaryAccountInitServiceExchangeEncryptionKeyArgs) ReadField2

func (*PrimaryAccountInitServiceExchangeEncryptionKeyArgs) String

func (*PrimaryAccountInitServiceExchangeEncryptionKeyArgs) Write

type PrimaryAccountInitServiceExchangeEncryptionKeyResult

type PrimaryAccountInitServiceExchangeEncryptionKeyResult struct {
	Success *ExchangeEncryptionKeyResponse `thrift:"success,0" db:"success" json:"success,omitempty"`
	E       *AuthException                 `thrift:"e,1" db:"e" json:"e,omitempty"`
}

Attributes:

  • Success
  • E

func NewPrimaryAccountInitServiceExchangeEncryptionKeyResult

func NewPrimaryAccountInitServiceExchangeEncryptionKeyResult() *PrimaryAccountInitServiceExchangeEncryptionKeyResult

func (*PrimaryAccountInitServiceExchangeEncryptionKeyResult) GetE

func (*PrimaryAccountInitServiceExchangeEncryptionKeyResult) GetSuccess

func (*PrimaryAccountInitServiceExchangeEncryptionKeyResult) IsSetE

func (*PrimaryAccountInitServiceExchangeEncryptionKeyResult) IsSetSuccess

func (*PrimaryAccountInitServiceExchangeEncryptionKeyResult) Read

func (*PrimaryAccountInitServiceExchangeEncryptionKeyResult) ReadField0

func (*PrimaryAccountInitServiceExchangeEncryptionKeyResult) ReadField1

func (*PrimaryAccountInitServiceExchangeEncryptionKeyResult) String

func (*PrimaryAccountInitServiceExchangeEncryptionKeyResult) Write

type PrimaryAccountInitServiceGetAcctVerifMethodArgs

type PrimaryAccountInitServiceGetAcctVerifMethodArgs struct {
	AuthSessionId     string             `thrift:"authSessionId,1" db:"authSessionId" json:"authSessionId"`
	AccountIdentifier *AccountIdentifier `thrift:"accountIdentifier,2" db:"accountIdentifier" json:"accountIdentifier"`
}

Attributes:

  • AuthSessionId
  • AccountIdentifier

func NewPrimaryAccountInitServiceGetAcctVerifMethodArgs

func NewPrimaryAccountInitServiceGetAcctVerifMethodArgs() *PrimaryAccountInitServiceGetAcctVerifMethodArgs

func (*PrimaryAccountInitServiceGetAcctVerifMethodArgs) GetAccountIdentifier

func (*PrimaryAccountInitServiceGetAcctVerifMethodArgs) GetAuthSessionId

func (*PrimaryAccountInitServiceGetAcctVerifMethodArgs) IsSetAccountIdentifier

func (p *PrimaryAccountInitServiceGetAcctVerifMethodArgs) IsSetAccountIdentifier() bool

func (*PrimaryAccountInitServiceGetAcctVerifMethodArgs) Read

func (*PrimaryAccountInitServiceGetAcctVerifMethodArgs) ReadField1

func (*PrimaryAccountInitServiceGetAcctVerifMethodArgs) ReadField2

func (*PrimaryAccountInitServiceGetAcctVerifMethodArgs) String

func (*PrimaryAccountInitServiceGetAcctVerifMethodArgs) Write

type PrimaryAccountInitServiceGetAcctVerifMethodResult

type PrimaryAccountInitServiceGetAcctVerifMethodResult struct {
	Success *GetAcctVerifMethodResponse `thrift:"success,0" db:"success" json:"success,omitempty"`
	E       *AuthException              `thrift:"e,1" db:"e" json:"e,omitempty"`
}

Attributes:

  • Success
  • E

func NewPrimaryAccountInitServiceGetAcctVerifMethodResult

func NewPrimaryAccountInitServiceGetAcctVerifMethodResult() *PrimaryAccountInitServiceGetAcctVerifMethodResult

func (*PrimaryAccountInitServiceGetAcctVerifMethodResult) GetE

func (*PrimaryAccountInitServiceGetAcctVerifMethodResult) GetSuccess

func (*PrimaryAccountInitServiceGetAcctVerifMethodResult) IsSetE

func (*PrimaryAccountInitServiceGetAcctVerifMethodResult) IsSetSuccess

func (*PrimaryAccountInitServiceGetAcctVerifMethodResult) Read

func (*PrimaryAccountInitServiceGetAcctVerifMethodResult) ReadField0

func (*PrimaryAccountInitServiceGetAcctVerifMethodResult) ReadField1

func (*PrimaryAccountInitServiceGetAcctVerifMethodResult) String

func (*PrimaryAccountInitServiceGetAcctVerifMethodResult) Write

type PrimaryAccountInitServiceGetPhoneVerifMethodArgs

type PrimaryAccountInitServiceGetPhoneVerifMethodArgs struct {
	AuthSessionId   string           `thrift:"authSessionId,1" db:"authSessionId" json:"authSessionId"`
	Device          *Device          `thrift:"device,2" db:"device" json:"device"`
	UserPhoneNumber *UserPhoneNumber `thrift:"userPhoneNumber,3" db:"userPhoneNumber" json:"userPhoneNumber"`
}

Attributes:

  • AuthSessionId
  • Device
  • UserPhoneNumber

func NewPrimaryAccountInitServiceGetPhoneVerifMethodArgs

func NewPrimaryAccountInitServiceGetPhoneVerifMethodArgs() *PrimaryAccountInitServiceGetPhoneVerifMethodArgs

func (*PrimaryAccountInitServiceGetPhoneVerifMethodArgs) GetAuthSessionId

func (*PrimaryAccountInitServiceGetPhoneVerifMethodArgs) GetDevice

func (*PrimaryAccountInitServiceGetPhoneVerifMethodArgs) GetUserPhoneNumber

func (*PrimaryAccountInitServiceGetPhoneVerifMethodArgs) IsSetDevice

func (*PrimaryAccountInitServiceGetPhoneVerifMethodArgs) IsSetUserPhoneNumber

func (p *PrimaryAccountInitServiceGetPhoneVerifMethodArgs) IsSetUserPhoneNumber() bool

func (*PrimaryAccountInitServiceGetPhoneVerifMethodArgs) Read

func (*PrimaryAccountInitServiceGetPhoneVerifMethodArgs) ReadField1

func (*PrimaryAccountInitServiceGetPhoneVerifMethodArgs) ReadField2

func (*PrimaryAccountInitServiceGetPhoneVerifMethodArgs) ReadField3

func (*PrimaryAccountInitServiceGetPhoneVerifMethodArgs) String

func (*PrimaryAccountInitServiceGetPhoneVerifMethodArgs) Write

type PrimaryAccountInitServiceGetPhoneVerifMethodResult

type PrimaryAccountInitServiceGetPhoneVerifMethodResult struct {
	Success *GetPhoneVerifMethodResponse `thrift:"success,0" db:"success" json:"success,omitempty"`
	E       *AuthException               `thrift:"e,1" db:"e" json:"e,omitempty"`
}

Attributes:

  • Success
  • E

func NewPrimaryAccountInitServiceGetPhoneVerifMethodResult

func NewPrimaryAccountInitServiceGetPhoneVerifMethodResult() *PrimaryAccountInitServiceGetPhoneVerifMethodResult

func (*PrimaryAccountInitServiceGetPhoneVerifMethodResult) GetE

func (*PrimaryAccountInitServiceGetPhoneVerifMethodResult) GetSuccess

func (*PrimaryAccountInitServiceGetPhoneVerifMethodResult) IsSetE

func (*PrimaryAccountInitServiceGetPhoneVerifMethodResult) IsSetSuccess

func (*PrimaryAccountInitServiceGetPhoneVerifMethodResult) Read

func (*PrimaryAccountInitServiceGetPhoneVerifMethodResult) ReadField0

func (*PrimaryAccountInitServiceGetPhoneVerifMethodResult) ReadField1

func (*PrimaryAccountInitServiceGetPhoneVerifMethodResult) String

func (*PrimaryAccountInitServiceGetPhoneVerifMethodResult) Write

type PrimaryAccountInitServiceGetSecondAuthMethodArgs

type PrimaryAccountInitServiceGetSecondAuthMethodArgs struct {
	AuthSessionId string `thrift:"authSessionId,1" db:"authSessionId" json:"authSessionId"`
}

Attributes:

  • AuthSessionId

func NewPrimaryAccountInitServiceGetSecondAuthMethodArgs

func NewPrimaryAccountInitServiceGetSecondAuthMethodArgs() *PrimaryAccountInitServiceGetSecondAuthMethodArgs

func (*PrimaryAccountInitServiceGetSecondAuthMethodArgs) GetAuthSessionId

func (*PrimaryAccountInitServiceGetSecondAuthMethodArgs) Read

func (*PrimaryAccountInitServiceGetSecondAuthMethodArgs) ReadField1

func (*PrimaryAccountInitServiceGetSecondAuthMethodArgs) String

func (*PrimaryAccountInitServiceGetSecondAuthMethodArgs) Write

type PrimaryAccountInitServiceGetSecondAuthMethodResult

type PrimaryAccountInitServiceGetSecondAuthMethodResult struct {
	Success *GetSecondAuthMethodResponse `thrift:"success,0" db:"success" json:"success,omitempty"`
	E       *AuthException               `thrift:"e,1" db:"e" json:"e,omitempty"`
}

Attributes:

  • Success
  • E

func NewPrimaryAccountInitServiceGetSecondAuthMethodResult

func NewPrimaryAccountInitServiceGetSecondAuthMethodResult() *PrimaryAccountInitServiceGetSecondAuthMethodResult

func (*PrimaryAccountInitServiceGetSecondAuthMethodResult) GetE

func (*PrimaryAccountInitServiceGetSecondAuthMethodResult) GetSuccess

func (*PrimaryAccountInitServiceGetSecondAuthMethodResult) IsSetE

func (*PrimaryAccountInitServiceGetSecondAuthMethodResult) IsSetSuccess

func (*PrimaryAccountInitServiceGetSecondAuthMethodResult) Read

func (*PrimaryAccountInitServiceGetSecondAuthMethodResult) ReadField0

func (*PrimaryAccountInitServiceGetSecondAuthMethodResult) ReadField1

func (*PrimaryAccountInitServiceGetSecondAuthMethodResult) String

func (*PrimaryAccountInitServiceGetSecondAuthMethodResult) Write

type PrimaryAccountInitServiceGetUserProfileArgs

type PrimaryAccountInitServiceGetUserProfileArgs struct {
	AuthSessionId     string             `thrift:"authSessionId,1" db:"authSessionId" json:"authSessionId"`
	AccountIdentifier *AccountIdentifier `thrift:"accountIdentifier,2" db:"accountIdentifier" json:"accountIdentifier"`
}

Attributes:

  • AuthSessionId
  • AccountIdentifier

func NewPrimaryAccountInitServiceGetUserProfileArgs

func NewPrimaryAccountInitServiceGetUserProfileArgs() *PrimaryAccountInitServiceGetUserProfileArgs

func (*PrimaryAccountInitServiceGetUserProfileArgs) GetAccountIdentifier

func (*PrimaryAccountInitServiceGetUserProfileArgs) GetAuthSessionId

func (*PrimaryAccountInitServiceGetUserProfileArgs) IsSetAccountIdentifier

func (p *PrimaryAccountInitServiceGetUserProfileArgs) IsSetAccountIdentifier() bool

func (*PrimaryAccountInitServiceGetUserProfileArgs) Read

func (*PrimaryAccountInitServiceGetUserProfileArgs) ReadField1

func (*PrimaryAccountInitServiceGetUserProfileArgs) ReadField2

func (*PrimaryAccountInitServiceGetUserProfileArgs) String

func (*PrimaryAccountInitServiceGetUserProfileArgs) Write

type PrimaryAccountInitServiceGetUserProfileResult

type PrimaryAccountInitServiceGetUserProfileResult struct {
	Success *GetUserProfileResponse `thrift:"success,0" db:"success" json:"success,omitempty"`
	E       *AuthException          `thrift:"e,1" db:"e" json:"e,omitempty"`
}

Attributes:

  • Success
  • E

func NewPrimaryAccountInitServiceGetUserProfileResult

func NewPrimaryAccountInitServiceGetUserProfileResult() *PrimaryAccountInitServiceGetUserProfileResult

func (*PrimaryAccountInitServiceGetUserProfileResult) GetE

func (*PrimaryAccountInitServiceGetUserProfileResult) GetSuccess

func (*PrimaryAccountInitServiceGetUserProfileResult) IsSetE

func (*PrimaryAccountInitServiceGetUserProfileResult) IsSetSuccess

func (*PrimaryAccountInitServiceGetUserProfileResult) Read

func (*PrimaryAccountInitServiceGetUserProfileResult) ReadField0

func (*PrimaryAccountInitServiceGetUserProfileResult) ReadField1

func (*PrimaryAccountInitServiceGetUserProfileResult) String

func (*PrimaryAccountInitServiceGetUserProfileResult) Write

type PrimaryAccountInitServiceIssueWebAuthDetailsForAcctVerifArgs

type PrimaryAccountInitServiceIssueWebAuthDetailsForAcctVerifArgs struct {
	AuthSessionId     string             `thrift:"authSessionId,1" db:"authSessionId" json:"authSessionId"`
	AccountIdentifier *AccountIdentifier `thrift:"accountIdentifier,2" db:"accountIdentifier" json:"accountIdentifier"`
}

Attributes:

  • AuthSessionId
  • AccountIdentifier

func (*PrimaryAccountInitServiceIssueWebAuthDetailsForAcctVerifArgs) GetAccountIdentifier

func (*PrimaryAccountInitServiceIssueWebAuthDetailsForAcctVerifArgs) GetAuthSessionId

func (*PrimaryAccountInitServiceIssueWebAuthDetailsForAcctVerifArgs) IsSetAccountIdentifier

func (*PrimaryAccountInitServiceIssueWebAuthDetailsForAcctVerifArgs) Read

func (*PrimaryAccountInitServiceIssueWebAuthDetailsForAcctVerifArgs) ReadField1

func (*PrimaryAccountInitServiceIssueWebAuthDetailsForAcctVerifArgs) ReadField2

func (*PrimaryAccountInitServiceIssueWebAuthDetailsForAcctVerifArgs) String

func (*PrimaryAccountInitServiceIssueWebAuthDetailsForAcctVerifArgs) Write

type PrimaryAccountInitServiceIssueWebAuthDetailsForAcctVerifResult

type PrimaryAccountInitServiceIssueWebAuthDetailsForAcctVerifResult struct {
	Success *IssueWebAuthDetailsForAcctVerifResponse `thrift:"success,0" db:"success" json:"success,omitempty"`
	E       *AuthException                           `thrift:"e,1" db:"e" json:"e,omitempty"`
}

Attributes:

  • Success
  • E

func (*PrimaryAccountInitServiceIssueWebAuthDetailsForAcctVerifResult) GetE

func (*PrimaryAccountInitServiceIssueWebAuthDetailsForAcctVerifResult) GetSuccess

func (*PrimaryAccountInitServiceIssueWebAuthDetailsForAcctVerifResult) IsSetE

func (*PrimaryAccountInitServiceIssueWebAuthDetailsForAcctVerifResult) IsSetSuccess

func (*PrimaryAccountInitServiceIssueWebAuthDetailsForAcctVerifResult) Read

func (*PrimaryAccountInitServiceIssueWebAuthDetailsForAcctVerifResult) ReadField0

func (*PrimaryAccountInitServiceIssueWebAuthDetailsForAcctVerifResult) ReadField1

func (*PrimaryAccountInitServiceIssueWebAuthDetailsForAcctVerifResult) String

func (*PrimaryAccountInitServiceIssueWebAuthDetailsForAcctVerifResult) Write

type PrimaryAccountInitServiceIssueWebAuthDetailsForSecondAuthArgs

type PrimaryAccountInitServiceIssueWebAuthDetailsForSecondAuthArgs struct {
	AuthSessionId string `thrift:"authSessionId,1" db:"authSessionId" json:"authSessionId"`
}

Attributes:

  • AuthSessionId

func (*PrimaryAccountInitServiceIssueWebAuthDetailsForSecondAuthArgs) GetAuthSessionId

func (*PrimaryAccountInitServiceIssueWebAuthDetailsForSecondAuthArgs) Read

func (*PrimaryAccountInitServiceIssueWebAuthDetailsForSecondAuthArgs) ReadField1

func (*PrimaryAccountInitServiceIssueWebAuthDetailsForSecondAuthArgs) String

func (*PrimaryAccountInitServiceIssueWebAuthDetailsForSecondAuthArgs) Write

type PrimaryAccountInitServiceIssueWebAuthDetailsForSecondAuthResult

type PrimaryAccountInitServiceIssueWebAuthDetailsForSecondAuthResult struct {
	Success *IssueWebAuthDetailsForSecondAuthResponse `thrift:"success,0" db:"success" json:"success,omitempty"`
	E       *AuthException                            `thrift:"e,1" db:"e" json:"e,omitempty"`
}

Attributes:

  • Success
  • E

func (*PrimaryAccountInitServiceIssueWebAuthDetailsForSecondAuthResult) GetE

func (*PrimaryAccountInitServiceIssueWebAuthDetailsForSecondAuthResult) GetSuccess

func (*PrimaryAccountInitServiceIssueWebAuthDetailsForSecondAuthResult) IsSetE

func (*PrimaryAccountInitServiceIssueWebAuthDetailsForSecondAuthResult) IsSetSuccess

func (*PrimaryAccountInitServiceIssueWebAuthDetailsForSecondAuthResult) Read

func (*PrimaryAccountInitServiceIssueWebAuthDetailsForSecondAuthResult) ReadField0

func (*PrimaryAccountInitServiceIssueWebAuthDetailsForSecondAuthResult) ReadField1

func (*PrimaryAccountInitServiceIssueWebAuthDetailsForSecondAuthResult) String

func (*PrimaryAccountInitServiceIssueWebAuthDetailsForSecondAuthResult) Write

type PrimaryAccountInitServiceMigratePrimaryUsingPhoneArgs

type PrimaryAccountInitServiceMigratePrimaryUsingPhoneArgs struct {
	AuthSessionId string `thrift:"authSessionId,1" db:"authSessionId" json:"authSessionId"`
}

Attributes:

  • AuthSessionId

func NewPrimaryAccountInitServiceMigratePrimaryUsingPhoneArgs

func NewPrimaryAccountInitServiceMigratePrimaryUsingPhoneArgs() *PrimaryAccountInitServiceMigratePrimaryUsingPhoneArgs

func (*PrimaryAccountInitServiceMigratePrimaryUsingPhoneArgs) GetAuthSessionId

func (*PrimaryAccountInitServiceMigratePrimaryUsingPhoneArgs) Read

func (*PrimaryAccountInitServiceMigratePrimaryUsingPhoneArgs) ReadField1

func (*PrimaryAccountInitServiceMigratePrimaryUsingPhoneArgs) String

func (*PrimaryAccountInitServiceMigratePrimaryUsingPhoneArgs) Write

type PrimaryAccountInitServiceMigratePrimaryUsingPhoneResult

type PrimaryAccountInitServiceMigratePrimaryUsingPhoneResult struct {
	Success *MigratePrimaryResponse `thrift:"success,0" db:"success" json:"success,omitempty"`
	E       *AuthException          `thrift:"e,1" db:"e" json:"e,omitempty"`
}

Attributes:

  • Success
  • E

func (*PrimaryAccountInitServiceMigratePrimaryUsingPhoneResult) GetE

func (*PrimaryAccountInitServiceMigratePrimaryUsingPhoneResult) GetSuccess

func (*PrimaryAccountInitServiceMigratePrimaryUsingPhoneResult) IsSetE

func (*PrimaryAccountInitServiceMigratePrimaryUsingPhoneResult) IsSetSuccess

func (*PrimaryAccountInitServiceMigratePrimaryUsingPhoneResult) Read

func (*PrimaryAccountInitServiceMigratePrimaryUsingPhoneResult) ReadField0

func (*PrimaryAccountInitServiceMigratePrimaryUsingPhoneResult) ReadField1

func (*PrimaryAccountInitServiceMigratePrimaryUsingPhoneResult) String

func (*PrimaryAccountInitServiceMigratePrimaryUsingPhoneResult) Write

type PrimaryAccountInitServiceOpenSessionArgs

type PrimaryAccountInitServiceOpenSessionArgs struct {
	Request *OpenSessionRequest `thrift:"request,1" db:"request" json:"request"`
}

Attributes:

  • Request

func NewPrimaryAccountInitServiceOpenSessionArgs

func NewPrimaryAccountInitServiceOpenSessionArgs() *PrimaryAccountInitServiceOpenSessionArgs

func (*PrimaryAccountInitServiceOpenSessionArgs) GetRequest

func (*PrimaryAccountInitServiceOpenSessionArgs) IsSetRequest

func (*PrimaryAccountInitServiceOpenSessionArgs) Read

func (*PrimaryAccountInitServiceOpenSessionArgs) ReadField1

func (*PrimaryAccountInitServiceOpenSessionArgs) String

func (*PrimaryAccountInitServiceOpenSessionArgs) Write

type PrimaryAccountInitServiceOpenSessionResult

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

Attributes:

  • Success
  • E

func NewPrimaryAccountInitServiceOpenSessionResult

func NewPrimaryAccountInitServiceOpenSessionResult() *PrimaryAccountInitServiceOpenSessionResult

func (*PrimaryAccountInitServiceOpenSessionResult) GetE

func (*PrimaryAccountInitServiceOpenSessionResult) GetSuccess

func (*PrimaryAccountInitServiceOpenSessionResult) IsSetE

func (*PrimaryAccountInitServiceOpenSessionResult) IsSetSuccess

func (*PrimaryAccountInitServiceOpenSessionResult) Read

func (*PrimaryAccountInitServiceOpenSessionResult) ReadField0

func (*PrimaryAccountInitServiceOpenSessionResult) ReadField1

func (*PrimaryAccountInitServiceOpenSessionResult) String

func (*PrimaryAccountInitServiceOpenSessionResult) Write

type PrimaryAccountInitServiceProcessor

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

func (*PrimaryAccountInitServiceProcessor) AddToProcessorMap

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

func (*PrimaryAccountInitServiceProcessor) GetProcessorFunction

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

func (*PrimaryAccountInitServiceProcessor) Process

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

func (*PrimaryAccountInitServiceProcessor) ProcessorMap

type PrimaryAccountInitServiceRegisterPrimaryUsingPhoneArgs

type PrimaryAccountInitServiceRegisterPrimaryUsingPhoneArgs struct {
	// unused field # 1
	AuthSessionId string `thrift:"authSessionId,2" db:"authSessionId" json:"authSessionId"`
}

Attributes:

  • AuthSessionId

func (*PrimaryAccountInitServiceRegisterPrimaryUsingPhoneArgs) GetAuthSessionId

func (*PrimaryAccountInitServiceRegisterPrimaryUsingPhoneArgs) Read

func (*PrimaryAccountInitServiceRegisterPrimaryUsingPhoneArgs) ReadField2

func (*PrimaryAccountInitServiceRegisterPrimaryUsingPhoneArgs) String

func (*PrimaryAccountInitServiceRegisterPrimaryUsingPhoneArgs) Write

type PrimaryAccountInitServiceRegisterPrimaryUsingPhoneResult

type PrimaryAccountInitServiceRegisterPrimaryUsingPhoneResult struct {
	Success *RegisterPrimaryResponse `thrift:"success,0" db:"success" json:"success,omitempty"`
	E       *AuthException           `thrift:"e,1" db:"e" json:"e,omitempty"`
}

Attributes:

  • Success
  • E

func (*PrimaryAccountInitServiceRegisterPrimaryUsingPhoneResult) GetE

func (*PrimaryAccountInitServiceRegisterPrimaryUsingPhoneResult) GetSuccess

func (*PrimaryAccountInitServiceRegisterPrimaryUsingPhoneResult) IsSetE

func (*PrimaryAccountInitServiceRegisterPrimaryUsingPhoneResult) IsSetSuccess

func (*PrimaryAccountInitServiceRegisterPrimaryUsingPhoneResult) Read

func (*PrimaryAccountInitServiceRegisterPrimaryUsingPhoneResult) ReadField0

func (*PrimaryAccountInitServiceRegisterPrimaryUsingPhoneResult) ReadField1

func (*PrimaryAccountInitServiceRegisterPrimaryUsingPhoneResult) String

func (*PrimaryAccountInitServiceRegisterPrimaryUsingPhoneResult) Write

type PrimaryAccountInitServiceSendPinCodeForPhoneArgs

type PrimaryAccountInitServiceSendPinCodeForPhoneArgs struct {
	AuthSessionId   string           `thrift:"authSessionId,1" db:"authSessionId" json:"authSessionId"`
	Device          *Device          `thrift:"device,2" db:"device" json:"device"`
	UserPhoneNumber *UserPhoneNumber `thrift:"userPhoneNumber,3" db:"userPhoneNumber" json:"userPhoneNumber"`
	VerifMethod     PhoneVerifMethod `thrift:"verifMethod,4" db:"verifMethod" json:"verifMethod"`
}

Attributes:

  • AuthSessionId
  • Device
  • UserPhoneNumber
  • VerifMethod

func NewPrimaryAccountInitServiceSendPinCodeForPhoneArgs

func NewPrimaryAccountInitServiceSendPinCodeForPhoneArgs() *PrimaryAccountInitServiceSendPinCodeForPhoneArgs

func (*PrimaryAccountInitServiceSendPinCodeForPhoneArgs) GetAuthSessionId

func (*PrimaryAccountInitServiceSendPinCodeForPhoneArgs) GetDevice

func (*PrimaryAccountInitServiceSendPinCodeForPhoneArgs) GetUserPhoneNumber

func (*PrimaryAccountInitServiceSendPinCodeForPhoneArgs) GetVerifMethod

func (*PrimaryAccountInitServiceSendPinCodeForPhoneArgs) IsSetDevice

func (*PrimaryAccountInitServiceSendPinCodeForPhoneArgs) IsSetUserPhoneNumber

func (p *PrimaryAccountInitServiceSendPinCodeForPhoneArgs) IsSetUserPhoneNumber() bool

func (*PrimaryAccountInitServiceSendPinCodeForPhoneArgs) Read

func (*PrimaryAccountInitServiceSendPinCodeForPhoneArgs) ReadField1

func (*PrimaryAccountInitServiceSendPinCodeForPhoneArgs) ReadField2

func (*PrimaryAccountInitServiceSendPinCodeForPhoneArgs) ReadField3

func (*PrimaryAccountInitServiceSendPinCodeForPhoneArgs) ReadField4

func (*PrimaryAccountInitServiceSendPinCodeForPhoneArgs) String

func (*PrimaryAccountInitServiceSendPinCodeForPhoneArgs) Write

type PrimaryAccountInitServiceSendPinCodeForPhoneResult

type PrimaryAccountInitServiceSendPinCodeForPhoneResult struct {
	Success *SendPinCodeForPhoneResponse `thrift:"success,0" db:"success" json:"success,omitempty"`
	E       *AuthException               `thrift:"e,1" db:"e" json:"e,omitempty"`
}

Attributes:

  • Success
  • E

func NewPrimaryAccountInitServiceSendPinCodeForPhoneResult

func NewPrimaryAccountInitServiceSendPinCodeForPhoneResult() *PrimaryAccountInitServiceSendPinCodeForPhoneResult

func (*PrimaryAccountInitServiceSendPinCodeForPhoneResult) GetE

func (*PrimaryAccountInitServiceSendPinCodeForPhoneResult) GetSuccess

func (*PrimaryAccountInitServiceSendPinCodeForPhoneResult) IsSetE

func (*PrimaryAccountInitServiceSendPinCodeForPhoneResult) IsSetSuccess

func (*PrimaryAccountInitServiceSendPinCodeForPhoneResult) Read

func (*PrimaryAccountInitServiceSendPinCodeForPhoneResult) ReadField0

func (*PrimaryAccountInitServiceSendPinCodeForPhoneResult) ReadField1

func (*PrimaryAccountInitServiceSendPinCodeForPhoneResult) String

func (*PrimaryAccountInitServiceSendPinCodeForPhoneResult) Write

type PrimaryAccountInitServiceSetPasswordArgs

type PrimaryAccountInitServiceSetPasswordArgs struct {
	AuthSessionId     string             `thrift:"authSessionId,1" db:"authSessionId" json:"authSessionId"`
	EncryptedPassword *EncryptedPassword `thrift:"encryptedPassword,2" db:"encryptedPassword" json:"encryptedPassword"`
}

Attributes:

  • AuthSessionId
  • EncryptedPassword

func NewPrimaryAccountInitServiceSetPasswordArgs

func NewPrimaryAccountInitServiceSetPasswordArgs() *PrimaryAccountInitServiceSetPasswordArgs

func (*PrimaryAccountInitServiceSetPasswordArgs) GetAuthSessionId

func (p *PrimaryAccountInitServiceSetPasswordArgs) GetAuthSessionId() string

func (*PrimaryAccountInitServiceSetPasswordArgs) GetEncryptedPassword

func (*PrimaryAccountInitServiceSetPasswordArgs) IsSetEncryptedPassword

func (p *PrimaryAccountInitServiceSetPasswordArgs) IsSetEncryptedPassword() bool

func (*PrimaryAccountInitServiceSetPasswordArgs) Read

func (*PrimaryAccountInitServiceSetPasswordArgs) ReadField1

func (*PrimaryAccountInitServiceSetPasswordArgs) ReadField2

func (*PrimaryAccountInitServiceSetPasswordArgs) String

func (*PrimaryAccountInitServiceSetPasswordArgs) Write

type PrimaryAccountInitServiceSetPasswordResult

type PrimaryAccountInitServiceSetPasswordResult struct {
	Success *SetPasswordResponse `thrift:"success,0" db:"success" json:"success,omitempty"`
	E       *AuthException       `thrift:"e,1" db:"e" json:"e,omitempty"`
}

Attributes:

  • Success
  • E

func NewPrimaryAccountInitServiceSetPasswordResult

func NewPrimaryAccountInitServiceSetPasswordResult() *PrimaryAccountInitServiceSetPasswordResult

func (*PrimaryAccountInitServiceSetPasswordResult) GetE

func (*PrimaryAccountInitServiceSetPasswordResult) GetSuccess

func (*PrimaryAccountInitServiceSetPasswordResult) IsSetE

func (*PrimaryAccountInitServiceSetPasswordResult) IsSetSuccess

func (*PrimaryAccountInitServiceSetPasswordResult) Read

func (*PrimaryAccountInitServiceSetPasswordResult) ReadField0

func (*PrimaryAccountInitServiceSetPasswordResult) ReadField1

func (*PrimaryAccountInitServiceSetPasswordResult) String

func (*PrimaryAccountInitServiceSetPasswordResult) Write

type PrimaryAccountInitServiceValidateProfileArgs

type PrimaryAccountInitServiceValidateProfileArgs struct {
	AuthSessionId string `thrift:"authSessionId,1" db:"authSessionId" json:"authSessionId"`
	DisplayName   string `thrift:"displayName,2" db:"displayName" json:"displayName"`
}

Attributes:

  • AuthSessionId
  • DisplayName

func NewPrimaryAccountInitServiceValidateProfileArgs

func NewPrimaryAccountInitServiceValidateProfileArgs() *PrimaryAccountInitServiceValidateProfileArgs

func (*PrimaryAccountInitServiceValidateProfileArgs) GetAuthSessionId

func (*PrimaryAccountInitServiceValidateProfileArgs) GetDisplayName

func (*PrimaryAccountInitServiceValidateProfileArgs) Read

func (*PrimaryAccountInitServiceValidateProfileArgs) ReadField1

func (*PrimaryAccountInitServiceValidateProfileArgs) ReadField2

func (*PrimaryAccountInitServiceValidateProfileArgs) String

func (*PrimaryAccountInitServiceValidateProfileArgs) Write

type PrimaryAccountInitServiceValidateProfileResult

type PrimaryAccountInitServiceValidateProfileResult struct {
	Success *ValidateProfileResponse `thrift:"success,0" db:"success" json:"success,omitempty"`
	E       *AuthException           `thrift:"e,1" db:"e" json:"e,omitempty"`
}

Attributes:

  • Success
  • E

func NewPrimaryAccountInitServiceValidateProfileResult

func NewPrimaryAccountInitServiceValidateProfileResult() *PrimaryAccountInitServiceValidateProfileResult

func (*PrimaryAccountInitServiceValidateProfileResult) GetE

func (*PrimaryAccountInitServiceValidateProfileResult) GetSuccess

func (*PrimaryAccountInitServiceValidateProfileResult) IsSetE

func (*PrimaryAccountInitServiceValidateProfileResult) IsSetSuccess

func (*PrimaryAccountInitServiceValidateProfileResult) Read

func (*PrimaryAccountInitServiceValidateProfileResult) ReadField0

func (*PrimaryAccountInitServiceValidateProfileResult) ReadField1

func (*PrimaryAccountInitServiceValidateProfileResult) String

func (*PrimaryAccountInitServiceValidateProfileResult) Write

type PrimaryAccountInitServiceVerifyAccountUsingPwdArgs

type PrimaryAccountInitServiceVerifyAccountUsingPwdArgs struct {
	AuthSessionId     string             `thrift:"authSessionId,1" db:"authSessionId" json:"authSessionId"`
	AccountIdentifier *AccountIdentifier `thrift:"accountIdentifier,2" db:"accountIdentifier" json:"accountIdentifier"`
	EncryptedPassword *EncryptedPassword `thrift:"encryptedPassword,3" db:"encryptedPassword" json:"encryptedPassword"`
}

Attributes:

  • AuthSessionId
  • AccountIdentifier
  • EncryptedPassword

func NewPrimaryAccountInitServiceVerifyAccountUsingPwdArgs

func NewPrimaryAccountInitServiceVerifyAccountUsingPwdArgs() *PrimaryAccountInitServiceVerifyAccountUsingPwdArgs

func (*PrimaryAccountInitServiceVerifyAccountUsingPwdArgs) GetAccountIdentifier

func (*PrimaryAccountInitServiceVerifyAccountUsingPwdArgs) GetAuthSessionId

func (*PrimaryAccountInitServiceVerifyAccountUsingPwdArgs) GetEncryptedPassword

func (*PrimaryAccountInitServiceVerifyAccountUsingPwdArgs) IsSetAccountIdentifier

func (p *PrimaryAccountInitServiceVerifyAccountUsingPwdArgs) IsSetAccountIdentifier() bool

func (*PrimaryAccountInitServiceVerifyAccountUsingPwdArgs) IsSetEncryptedPassword

func (p *PrimaryAccountInitServiceVerifyAccountUsingPwdArgs) IsSetEncryptedPassword() bool

func (*PrimaryAccountInitServiceVerifyAccountUsingPwdArgs) Read

func (*PrimaryAccountInitServiceVerifyAccountUsingPwdArgs) ReadField1

func (*PrimaryAccountInitServiceVerifyAccountUsingPwdArgs) ReadField2

func (*PrimaryAccountInitServiceVerifyAccountUsingPwdArgs) ReadField3

func (*PrimaryAccountInitServiceVerifyAccountUsingPwdArgs) String

func (*PrimaryAccountInitServiceVerifyAccountUsingPwdArgs) Write

type PrimaryAccountInitServiceVerifyAccountUsingPwdResult

type PrimaryAccountInitServiceVerifyAccountUsingPwdResult struct {
	Success *VerifyAccountUsingPwdResponse `thrift:"success,0" db:"success" json:"success,omitempty"`
	E       *AuthException                 `thrift:"e,1" db:"e" json:"e,omitempty"`
}

Attributes:

  • Success
  • E

func NewPrimaryAccountInitServiceVerifyAccountUsingPwdResult

func NewPrimaryAccountInitServiceVerifyAccountUsingPwdResult() *PrimaryAccountInitServiceVerifyAccountUsingPwdResult

func (*PrimaryAccountInitServiceVerifyAccountUsingPwdResult) GetE

func (*PrimaryAccountInitServiceVerifyAccountUsingPwdResult) GetSuccess

func (*PrimaryAccountInitServiceVerifyAccountUsingPwdResult) IsSetE

func (*PrimaryAccountInitServiceVerifyAccountUsingPwdResult) IsSetSuccess

func (*PrimaryAccountInitServiceVerifyAccountUsingPwdResult) Read

func (*PrimaryAccountInitServiceVerifyAccountUsingPwdResult) ReadField0

func (*PrimaryAccountInitServiceVerifyAccountUsingPwdResult) ReadField1

func (*PrimaryAccountInitServiceVerifyAccountUsingPwdResult) String

func (*PrimaryAccountInitServiceVerifyAccountUsingPwdResult) Write

type PrimaryAccountInitServiceVerifyPhoneArgs

type PrimaryAccountInitServiceVerifyPhoneArgs struct {
	AuthSessionId   string           `thrift:"authSessionId,1" db:"authSessionId" json:"authSessionId"`
	Device          *Device          `thrift:"device,2" db:"device" json:"device"`
	UserPhoneNumber *UserPhoneNumber `thrift:"userPhoneNumber,3" db:"userPhoneNumber" json:"userPhoneNumber"`
	PinCode         string           `thrift:"pinCode,4" db:"pinCode" json:"pinCode"`
}

Attributes:

  • AuthSessionId
  • Device
  • UserPhoneNumber
  • PinCode

func NewPrimaryAccountInitServiceVerifyPhoneArgs

func NewPrimaryAccountInitServiceVerifyPhoneArgs() *PrimaryAccountInitServiceVerifyPhoneArgs

func (*PrimaryAccountInitServiceVerifyPhoneArgs) GetAuthSessionId

func (p *PrimaryAccountInitServiceVerifyPhoneArgs) GetAuthSessionId() string

func (*PrimaryAccountInitServiceVerifyPhoneArgs) GetDevice

func (*PrimaryAccountInitServiceVerifyPhoneArgs) GetPinCode

func (*PrimaryAccountInitServiceVerifyPhoneArgs) GetUserPhoneNumber

func (*PrimaryAccountInitServiceVerifyPhoneArgs) IsSetDevice

func (*PrimaryAccountInitServiceVerifyPhoneArgs) IsSetUserPhoneNumber

func (p *PrimaryAccountInitServiceVerifyPhoneArgs) IsSetUserPhoneNumber() bool

func (*PrimaryAccountInitServiceVerifyPhoneArgs) Read

func (*PrimaryAccountInitServiceVerifyPhoneArgs) ReadField1

func (*PrimaryAccountInitServiceVerifyPhoneArgs) ReadField2

func (*PrimaryAccountInitServiceVerifyPhoneArgs) ReadField3

func (*PrimaryAccountInitServiceVerifyPhoneArgs) ReadField4

func (*PrimaryAccountInitServiceVerifyPhoneArgs) String

func (*PrimaryAccountInitServiceVerifyPhoneArgs) Write

type PrimaryAccountInitServiceVerifyPhoneResult

type PrimaryAccountInitServiceVerifyPhoneResult struct {
	Success *VerifyPhoneResponse `thrift:"success,0" db:"success" json:"success,omitempty"`
	E       *AuthException       `thrift:"e,1" db:"e" json:"e,omitempty"`
}

Attributes:

  • Success
  • E

func NewPrimaryAccountInitServiceVerifyPhoneResult

func NewPrimaryAccountInitServiceVerifyPhoneResult() *PrimaryAccountInitServiceVerifyPhoneResult

func (*PrimaryAccountInitServiceVerifyPhoneResult) GetE

func (*PrimaryAccountInitServiceVerifyPhoneResult) GetSuccess

func (*PrimaryAccountInitServiceVerifyPhoneResult) IsSetE

func (*PrimaryAccountInitServiceVerifyPhoneResult) IsSetSuccess

func (*PrimaryAccountInitServiceVerifyPhoneResult) Read

func (*PrimaryAccountInitServiceVerifyPhoneResult) ReadField0

func (*PrimaryAccountInitServiceVerifyPhoneResult) ReadField1

func (*PrimaryAccountInitServiceVerifyPhoneResult) String

func (*PrimaryAccountInitServiceVerifyPhoneResult) Write

type RegisterPrimaryResponse

type RegisterPrimaryResponse struct {
	AuthToken string `thrift:"authToken,1" db:"authToken" json:"authToken"`
}

Attributes:

  • AuthToken
var PrimaryAccountInitServiceRegisterPrimaryUsingPhoneResult_Success_DEFAULT *RegisterPrimaryResponse

func NewRegisterPrimaryResponse

func NewRegisterPrimaryResponse() *RegisterPrimaryResponse

func (*RegisterPrimaryResponse) Equals

func (*RegisterPrimaryResponse) GetAuthToken

func (p *RegisterPrimaryResponse) GetAuthToken() string

func (*RegisterPrimaryResponse) Read

func (*RegisterPrimaryResponse) ReadField1

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

func (*RegisterPrimaryResponse) String

func (p *RegisterPrimaryResponse) String() string

func (*RegisterPrimaryResponse) Write

type SecondAuthMethod

type SecondAuthMethod int64
const (
	SecondAuthMethod_UNKNOWN   SecondAuthMethod = 0
	SecondAuthMethod_SKIP      SecondAuthMethod = 1
	SecondAuthMethod_WEB_BASED SecondAuthMethod = 2
)

func SecondAuthMethodFromString

func SecondAuthMethodFromString(s string) (SecondAuthMethod, error)

func SecondAuthMethodPtr

func SecondAuthMethodPtr(v SecondAuthMethod) *SecondAuthMethod

func (SecondAuthMethod) MarshalText

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

func (*SecondAuthMethod) Scan

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

func (SecondAuthMethod) String

func (p SecondAuthMethod) String() string

func (*SecondAuthMethod) UnmarshalText

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

func (*SecondAuthMethod) Value

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

type SendPinCodeForPhoneResponse

type SendPinCodeForPhoneResponse struct {
	AvailableMethods []PhoneVerifMethod `thrift:"availableMethods,1" db:"availableMethods" json:"availableMethods"`
}

Attributes:

  • AvailableMethods
var PrimaryAccountInitServiceSendPinCodeForPhoneResult_Success_DEFAULT *SendPinCodeForPhoneResponse

func NewSendPinCodeForPhoneResponse

func NewSendPinCodeForPhoneResponse() *SendPinCodeForPhoneResponse

func (*SendPinCodeForPhoneResponse) Equals

func (*SendPinCodeForPhoneResponse) GetAvailableMethods

func (p *SendPinCodeForPhoneResponse) GetAvailableMethods() []PhoneVerifMethod

func (*SendPinCodeForPhoneResponse) Read

func (*SendPinCodeForPhoneResponse) ReadField1

func (*SendPinCodeForPhoneResponse) String

func (p *SendPinCodeForPhoneResponse) String() string

func (*SendPinCodeForPhoneResponse) Write

type SetPasswordResponse

type SetPasswordResponse struct {
}
var PrimaryAccountInitServiceSetPasswordResult_Success_DEFAULT *SetPasswordResponse

func NewSetPasswordResponse

func NewSetPasswordResponse() *SetPasswordResponse

func (*SetPasswordResponse) Equals

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

func (*SetPasswordResponse) Read

func (*SetPasswordResponse) String

func (p *SetPasswordResponse) String() string

func (*SetPasswordResponse) Write

type UserPhoneNumber

type UserPhoneNumber struct {
	PhoneNumber string `thrift:"phoneNumber,1" db:"phoneNumber" json:"phoneNumber"`
	CountryCode string `thrift:"countryCode,2" db:"countryCode" json:"countryCode"`
}

Attributes:

  • PhoneNumber
  • CountryCode
var PrimaryAccountInitServiceGetPhoneVerifMethodArgs_UserPhoneNumber_DEFAULT *UserPhoneNumber
var PrimaryAccountInitServiceSendPinCodeForPhoneArgs_UserPhoneNumber_DEFAULT *UserPhoneNumber
var PrimaryAccountInitServiceVerifyPhoneArgs_UserPhoneNumber_DEFAULT *UserPhoneNumber

func NewUserPhoneNumber

func NewUserPhoneNumber() *UserPhoneNumber

func (*UserPhoneNumber) Equals

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

func (*UserPhoneNumber) GetCountryCode

func (p *UserPhoneNumber) GetCountryCode() string

func (*UserPhoneNumber) GetPhoneNumber

func (p *UserPhoneNumber) GetPhoneNumber() string

func (*UserPhoneNumber) Read

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

func (*UserPhoneNumber) ReadField1

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

func (*UserPhoneNumber) ReadField2

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

func (*UserPhoneNumber) String

func (p *UserPhoneNumber) String() string

func (*UserPhoneNumber) Write

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

type UserProfile

type UserProfile struct {
	DisplayName     string `thrift:"displayName,1" db:"displayName" json:"displayName"`
	ProfileImageUrl string `thrift:"profileImageUrl,2" db:"profileImageUrl" json:"profileImageUrl"`
}

Attributes:

  • DisplayName
  • ProfileImageUrl
var GetUserProfileResponse_UserProfile_DEFAULT *UserProfile
var VerifyAccountUsingPwdResponse_UserProfile_DEFAULT *UserProfile
var VerifyPhoneResponse_UserProfile_DEFAULT *UserProfile

func NewUserProfile

func NewUserProfile() *UserProfile

func (*UserProfile) Equals

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

func (*UserProfile) GetDisplayName

func (p *UserProfile) GetDisplayName() string

func (*UserProfile) GetProfileImageUrl

func (p *UserProfile) GetProfileImageUrl() string

func (*UserProfile) Read

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

func (*UserProfile) ReadField1

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

func (*UserProfile) ReadField2

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

func (*UserProfile) String

func (p *UserProfile) String() string

func (*UserProfile) Write

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

type ValidateProfileResponse

type ValidateProfileResponse struct {
}
var PrimaryAccountInitServiceValidateProfileResult_Success_DEFAULT *ValidateProfileResponse

func NewValidateProfileResponse

func NewValidateProfileResponse() *ValidateProfileResponse

func (*ValidateProfileResponse) Equals

func (*ValidateProfileResponse) Read

func (*ValidateProfileResponse) String

func (p *ValidateProfileResponse) String() string

func (*ValidateProfileResponse) Write

type VerifyAccountUsingPwdResponse

type VerifyAccountUsingPwdResponse struct {
	// unused field # 1
	UserProfile *UserProfile `thrift:"userProfile,2" db:"userProfile" json:"userProfile"`
}

Attributes:

  • UserProfile
var PrimaryAccountInitServiceVerifyAccountUsingPwdResult_Success_DEFAULT *VerifyAccountUsingPwdResponse

func NewVerifyAccountUsingPwdResponse

func NewVerifyAccountUsingPwdResponse() *VerifyAccountUsingPwdResponse

func (*VerifyAccountUsingPwdResponse) Equals

func (*VerifyAccountUsingPwdResponse) GetUserProfile

func (p *VerifyAccountUsingPwdResponse) GetUserProfile() *UserProfile

func (*VerifyAccountUsingPwdResponse) IsSetUserProfile

func (p *VerifyAccountUsingPwdResponse) IsSetUserProfile() bool

func (*VerifyAccountUsingPwdResponse) Read

func (*VerifyAccountUsingPwdResponse) ReadField2

func (*VerifyAccountUsingPwdResponse) String

func (*VerifyAccountUsingPwdResponse) Write

type VerifyPhoneResponse

type VerifyPhoneResponse struct {
	// unused field # 1
	AccountExist        bool `thrift:"accountExist,2" db:"accountExist" json:"accountExist"`
	SameUdidFromAccount bool `thrift:"sameUdidFromAccount,3" db:"sameUdidFromAccount" json:"sameUdidFromAccount"`
	// unused fields # 4 to 10
	UserProfile *UserProfile `thrift:"userProfile,11" db:"userProfile" json:"userProfile"`
}

Attributes:

  • AccountExist
  • SameUdidFromAccount
  • UserProfile
var PrimaryAccountInitServiceVerifyPhoneResult_Success_DEFAULT *VerifyPhoneResponse

func NewVerifyPhoneResponse

func NewVerifyPhoneResponse() *VerifyPhoneResponse

func (*VerifyPhoneResponse) Equals

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

func (*VerifyPhoneResponse) GetAccountExist

func (p *VerifyPhoneResponse) GetAccountExist() bool

func (*VerifyPhoneResponse) GetSameUdidFromAccount

func (p *VerifyPhoneResponse) GetSameUdidFromAccount() bool

func (*VerifyPhoneResponse) GetUserProfile

func (p *VerifyPhoneResponse) GetUserProfile() *UserProfile

func (*VerifyPhoneResponse) IsSetUserProfile

func (p *VerifyPhoneResponse) IsSetUserProfile() bool

func (*VerifyPhoneResponse) Read

func (*VerifyPhoneResponse) ReadField11

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

func (*VerifyPhoneResponse) ReadField2

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

func (*VerifyPhoneResponse) ReadField3

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

func (*VerifyPhoneResponse) String

func (p *VerifyPhoneResponse) String() string

func (*VerifyPhoneResponse) Write

type WebAuthDetails

type WebAuthDetails struct {
	BaseUrl string `thrift:"baseUrl,1" db:"baseUrl" json:"baseUrl"`
	Token   string `thrift:"token,2" db:"token" json:"token"`
}

Attributes:

  • BaseUrl
  • Token
var AuthException_WebAuthDetails_DEFAULT *WebAuthDetails
var IssueWebAuthDetailsForAcctVerifResponse_WebAuthDetails_DEFAULT *WebAuthDetails
var IssueWebAuthDetailsForSecondAuthResponse_WebAuthDetails_DEFAULT *WebAuthDetails

func NewWebAuthDetails

func NewWebAuthDetails() *WebAuthDetails

func (*WebAuthDetails) Equals

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

func (*WebAuthDetails) GetBaseUrl

func (p *WebAuthDetails) GetBaseUrl() string

func (*WebAuthDetails) GetToken

func (p *WebAuthDetails) GetToken() string

func (*WebAuthDetails) Read

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

func (*WebAuthDetails) ReadField1

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

func (*WebAuthDetails) ReadField2

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

func (*WebAuthDetails) String

func (p *WebAuthDetails) String() string

func (*WebAuthDetails) Write

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

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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