Documentation ¶
Index ¶
- Variables
- type AuthService
- type AuthServiceClient
- func (p *AuthServiceClient) Client_() thrift.TClient
- func (p *AuthServiceClient) ConfirmE2EELogin(ctx context.Context, verifier string, deviceSecret []byte) (r string, err error)
- func (p *AuthServiceClient) LoginZ(ctx context.Context, loginRequest *LoginRequest) (r *LoginResult_, err error)
- func (p *AuthServiceClient) LogoutZ(ctx context.Context) (err error)
- type AuthServiceConfirmE2EELoginArgs
- func (p *AuthServiceConfirmE2EELoginArgs) GetDeviceSecret() []byte
- func (p *AuthServiceConfirmE2EELoginArgs) GetVerifier() string
- func (p *AuthServiceConfirmE2EELoginArgs) Read(ctx context.Context, iprot thrift.TProtocol) error
- func (p *AuthServiceConfirmE2EELoginArgs) ReadField1(ctx context.Context, iprot thrift.TProtocol) error
- func (p *AuthServiceConfirmE2EELoginArgs) ReadField2(ctx context.Context, iprot thrift.TProtocol) error
- func (p *AuthServiceConfirmE2EELoginArgs) String() string
- func (p *AuthServiceConfirmE2EELoginArgs) Write(ctx context.Context, oprot thrift.TProtocol) error
- type AuthServiceConfirmE2EELoginResult
- func (p *AuthServiceConfirmE2EELoginResult) GetE() *TalkException
- func (p *AuthServiceConfirmE2EELoginResult) GetSuccess() string
- func (p *AuthServiceConfirmE2EELoginResult) IsSetE() bool
- func (p *AuthServiceConfirmE2EELoginResult) IsSetSuccess() bool
- func (p *AuthServiceConfirmE2EELoginResult) Read(ctx context.Context, iprot thrift.TProtocol) error
- func (p *AuthServiceConfirmE2EELoginResult) ReadField0(ctx context.Context, iprot thrift.TProtocol) error
- func (p *AuthServiceConfirmE2EELoginResult) ReadField1(ctx context.Context, iprot thrift.TProtocol) error
- func (p *AuthServiceConfirmE2EELoginResult) String() string
- func (p *AuthServiceConfirmE2EELoginResult) Write(ctx context.Context, oprot thrift.TProtocol) error
- type AuthServiceLoginZArgs
- func (p *AuthServiceLoginZArgs) GetLoginRequest() *LoginRequest
- func (p *AuthServiceLoginZArgs) IsSetLoginRequest() bool
- func (p *AuthServiceLoginZArgs) Read(ctx context.Context, iprot thrift.TProtocol) error
- func (p *AuthServiceLoginZArgs) ReadField2(ctx context.Context, iprot thrift.TProtocol) error
- func (p *AuthServiceLoginZArgs) String() string
- func (p *AuthServiceLoginZArgs) Write(ctx context.Context, oprot thrift.TProtocol) error
- type AuthServiceLoginZResult
- func (p *AuthServiceLoginZResult) GetE() *TalkException
- func (p *AuthServiceLoginZResult) GetSuccess() *LoginResult_
- func (p *AuthServiceLoginZResult) IsSetE() bool
- func (p *AuthServiceLoginZResult) IsSetSuccess() bool
- func (p *AuthServiceLoginZResult) Read(ctx context.Context, iprot thrift.TProtocol) error
- func (p *AuthServiceLoginZResult) ReadField0(ctx context.Context, iprot thrift.TProtocol) error
- func (p *AuthServiceLoginZResult) ReadField1(ctx context.Context, iprot thrift.TProtocol) error
- func (p *AuthServiceLoginZResult) String() string
- func (p *AuthServiceLoginZResult) Write(ctx context.Context, oprot thrift.TProtocol) error
- type AuthServiceLogoutZArgs
- type AuthServiceLogoutZResult
- func (p *AuthServiceLogoutZResult) GetE() *TalkException
- func (p *AuthServiceLogoutZResult) IsSetE() bool
- func (p *AuthServiceLogoutZResult) Read(ctx context.Context, iprot thrift.TProtocol) error
- func (p *AuthServiceLogoutZResult) ReadField1(ctx context.Context, iprot thrift.TProtocol) error
- func (p *AuthServiceLogoutZResult) String() string
- func (p *AuthServiceLogoutZResult) Write(ctx context.Context, oprot thrift.TProtocol) error
- type AuthServiceProcessor
- func (p *AuthServiceProcessor) AddToProcessorMap(key string, processor thrift.TProcessorFunction)
- func (p *AuthServiceProcessor) GetProcessorFunction(key string) (processor thrift.TProcessorFunction, ok bool)
- func (p *AuthServiceProcessor) Process(ctx context.Context, iprot, oprot thrift.TProtocol) (success bool, err thrift.TException)
- func (p *AuthServiceProcessor) ProcessorMap() map[string]thrift.TProcessorFunction
- type ErrorCode
- type IdentityProvider
- type LoginRequest
- func (p *LoginRequest) GetAccessLocation() string
- func (p *LoginRequest) GetCertificate() string
- func (p *LoginRequest) GetE2eeVersion() int32
- func (p *LoginRequest) GetIdentifier() string
- func (p *LoginRequest) GetIdentityProvider() IdentityProvider
- func (p *LoginRequest) GetKeepLoggedIn() bool
- func (p *LoginRequest) GetPassword() string
- func (p *LoginRequest) GetSecret() []byte
- func (p *LoginRequest) GetSystemName() string
- func (p *LoginRequest) GetType() LoginType
- func (p *LoginRequest) GetVerifier() string
- func (p *LoginRequest) Read(ctx context.Context, iprot thrift.TProtocol) error
- func (p *LoginRequest) ReadField1(ctx context.Context, iprot thrift.TProtocol) error
- func (p *LoginRequest) ReadField10(ctx context.Context, iprot thrift.TProtocol) error
- func (p *LoginRequest) ReadField11(ctx context.Context, iprot thrift.TProtocol) error
- func (p *LoginRequest) ReadField2(ctx context.Context, iprot thrift.TProtocol) error
- func (p *LoginRequest) ReadField3(ctx context.Context, iprot thrift.TProtocol) error
- func (p *LoginRequest) ReadField4(ctx context.Context, iprot thrift.TProtocol) error
- func (p *LoginRequest) ReadField5(ctx context.Context, iprot thrift.TProtocol) error
- func (p *LoginRequest) ReadField6(ctx context.Context, iprot thrift.TProtocol) error
- func (p *LoginRequest) ReadField7(ctx context.Context, iprot thrift.TProtocol) error
- func (p *LoginRequest) ReadField8(ctx context.Context, iprot thrift.TProtocol) error
- func (p *LoginRequest) ReadField9(ctx context.Context, iprot thrift.TProtocol) error
- func (p *LoginRequest) String() string
- func (p *LoginRequest) Write(ctx context.Context, oprot thrift.TProtocol) error
- type LoginResultType
- type LoginResult_
- func (p *LoginResult_) GetAuthToken() string
- func (p *LoginResult_) GetCertificate() string
- func (p *LoginResult_) GetDisplayMessage() string
- func (p *LoginResult_) GetLastPrimaryBindTime() int64
- func (p *LoginResult_) GetPinCode() string
- func (p *LoginResult_) GetSessionForSMSConfirm() *VerificationSessionData
- func (p *LoginResult_) GetTokenIssueResult_() *TokenIssueResult_
- func (p *LoginResult_) GetType() LoginResultType
- func (p *LoginResult_) GetVerifier() string
- func (p *LoginResult_) IsSetSessionForSMSConfirm() bool
- func (p *LoginResult_) IsSetTokenIssueResult_() bool
- func (p *LoginResult_) Read(ctx context.Context, iprot thrift.TProtocol) error
- func (p *LoginResult_) ReadField1(ctx context.Context, iprot thrift.TProtocol) error
- func (p *LoginResult_) ReadField2(ctx context.Context, iprot thrift.TProtocol) error
- func (p *LoginResult_) ReadField3(ctx context.Context, iprot thrift.TProtocol) error
- func (p *LoginResult_) ReadField4(ctx context.Context, iprot thrift.TProtocol) error
- func (p *LoginResult_) ReadField5(ctx context.Context, iprot thrift.TProtocol) error
- func (p *LoginResult_) ReadField6(ctx context.Context, iprot thrift.TProtocol) error
- func (p *LoginResult_) ReadField7(ctx context.Context, iprot thrift.TProtocol) error
- func (p *LoginResult_) ReadField8(ctx context.Context, iprot thrift.TProtocol) error
- func (p *LoginResult_) ReadField9(ctx context.Context, iprot thrift.TProtocol) error
- func (p *LoginResult_) String() string
- func (p *LoginResult_) Write(ctx context.Context, oprot thrift.TProtocol) error
- type LoginType
- type RSAKey
- func (p *RSAKey) GetEvalue() string
- func (p *RSAKey) GetKeynm() string
- func (p *RSAKey) GetNvalue() string
- func (p *RSAKey) GetSessionKey() string
- func (p *RSAKey) Read(ctx context.Context, iprot thrift.TProtocol) error
- func (p *RSAKey) ReadField1(ctx context.Context, iprot thrift.TProtocol) error
- func (p *RSAKey) ReadField2(ctx context.Context, iprot thrift.TProtocol) error
- func (p *RSAKey) ReadField3(ctx context.Context, iprot thrift.TProtocol) error
- func (p *RSAKey) ReadField4(ctx context.Context, iprot thrift.TProtocol) error
- func (p *RSAKey) String() string
- func (p *RSAKey) Write(ctx context.Context, oprot thrift.TProtocol) error
- type TalkException
- func (p *TalkException) Error() string
- func (p *TalkException) GetCode() ErrorCode
- func (p *TalkException) GetParameterMap() map[string]string
- func (p *TalkException) GetReason() string
- func (p *TalkException) Read(ctx context.Context, iprot thrift.TProtocol) error
- func (p *TalkException) ReadField1(ctx context.Context, iprot thrift.TProtocol) error
- func (p *TalkException) ReadField2(ctx context.Context, iprot thrift.TProtocol) error
- func (p *TalkException) ReadField3(ctx context.Context, iprot thrift.TProtocol) error
- func (p *TalkException) String() string
- func (p *TalkException) Write(ctx context.Context, oprot thrift.TProtocol) error
- type TalkService
- type TalkServiceClient
- func (p *TalkServiceClient) Client_() thrift.TClient
- func (p *TalkServiceClient) GetRSAKeyInfo(ctx context.Context, provider IdentityProvider) (r *RSAKey, err error)
- func (p *TalkServiceClient) RequestAccountPasswordReset(ctx context.Context, provider IdentityProvider, identifier string, ...) (err error)
- type TalkServiceGetRSAKeyInfoArgs
- func (p *TalkServiceGetRSAKeyInfoArgs) GetProvider() IdentityProvider
- func (p *TalkServiceGetRSAKeyInfoArgs) Read(ctx context.Context, iprot thrift.TProtocol) error
- func (p *TalkServiceGetRSAKeyInfoArgs) ReadField2(ctx context.Context, iprot thrift.TProtocol) error
- func (p *TalkServiceGetRSAKeyInfoArgs) String() string
- func (p *TalkServiceGetRSAKeyInfoArgs) Write(ctx context.Context, oprot thrift.TProtocol) error
- type TalkServiceGetRSAKeyInfoResult
- func (p *TalkServiceGetRSAKeyInfoResult) GetE() *TalkException
- func (p *TalkServiceGetRSAKeyInfoResult) GetSuccess() *RSAKey
- func (p *TalkServiceGetRSAKeyInfoResult) IsSetE() bool
- func (p *TalkServiceGetRSAKeyInfoResult) IsSetSuccess() bool
- func (p *TalkServiceGetRSAKeyInfoResult) Read(ctx context.Context, iprot thrift.TProtocol) error
- func (p *TalkServiceGetRSAKeyInfoResult) ReadField0(ctx context.Context, iprot thrift.TProtocol) error
- func (p *TalkServiceGetRSAKeyInfoResult) ReadField1(ctx context.Context, iprot thrift.TProtocol) error
- func (p *TalkServiceGetRSAKeyInfoResult) String() string
- func (p *TalkServiceGetRSAKeyInfoResult) Write(ctx context.Context, oprot thrift.TProtocol) error
- type TalkServiceProcessor
- func (p *TalkServiceProcessor) AddToProcessorMap(key string, processor thrift.TProcessorFunction)
- func (p *TalkServiceProcessor) GetProcessorFunction(key string) (processor thrift.TProcessorFunction, ok bool)
- func (p *TalkServiceProcessor) Process(ctx context.Context, iprot, oprot thrift.TProtocol) (success bool, err thrift.TException)
- func (p *TalkServiceProcessor) ProcessorMap() map[string]thrift.TProcessorFunction
- type TalkServiceRequestAccountPasswordResetArgs
- func (p *TalkServiceRequestAccountPasswordResetArgs) GetIdentifier() string
- func (p *TalkServiceRequestAccountPasswordResetArgs) GetLocale() string
- func (p *TalkServiceRequestAccountPasswordResetArgs) GetProvider() IdentityProvider
- func (p *TalkServiceRequestAccountPasswordResetArgs) Read(ctx context.Context, iprot thrift.TProtocol) error
- func (p *TalkServiceRequestAccountPasswordResetArgs) ReadField2(ctx context.Context, iprot thrift.TProtocol) error
- func (p *TalkServiceRequestAccountPasswordResetArgs) ReadField4(ctx context.Context, iprot thrift.TProtocol) error
- func (p *TalkServiceRequestAccountPasswordResetArgs) ReadField5(ctx context.Context, iprot thrift.TProtocol) error
- func (p *TalkServiceRequestAccountPasswordResetArgs) String() string
- func (p *TalkServiceRequestAccountPasswordResetArgs) Write(ctx context.Context, oprot thrift.TProtocol) error
- type TalkServiceRequestAccountPasswordResetResult
- func (p *TalkServiceRequestAccountPasswordResetResult) GetE() *TalkException
- func (p *TalkServiceRequestAccountPasswordResetResult) IsSetE() bool
- func (p *TalkServiceRequestAccountPasswordResetResult) Read(ctx context.Context, iprot thrift.TProtocol) error
- func (p *TalkServiceRequestAccountPasswordResetResult) ReadField1(ctx context.Context, iprot thrift.TProtocol) error
- func (p *TalkServiceRequestAccountPasswordResetResult) String() string
- func (p *TalkServiceRequestAccountPasswordResetResult) Write(ctx context.Context, oprot thrift.TProtocol) error
- type TokenIssueResult_
- func (p *TokenIssueResult_) GetAccessToken() string
- func (p *TokenIssueResult_) GetAppId() string
- func (p *TokenIssueResult_) GetDurationUntilRefreshInSec() int64
- func (p *TokenIssueResult_) GetRefreshToken() string
- func (p *TokenIssueResult_) Read(ctx context.Context, iprot thrift.TProtocol) error
- func (p *TokenIssueResult_) ReadField1(ctx context.Context, iprot thrift.TProtocol) error
- func (p *TokenIssueResult_) ReadField2(ctx context.Context, iprot thrift.TProtocol) error
- func (p *TokenIssueResult_) ReadField3(ctx context.Context, iprot thrift.TProtocol) error
- func (p *TokenIssueResult_) ReadField4(ctx context.Context, iprot thrift.TProtocol) error
- func (p *TokenIssueResult_) String() string
- func (p *TokenIssueResult_) Write(ctx context.Context, oprot thrift.TProtocol) error
- type VerificationMethod
- type VerificationSessionData
- func (p *VerificationSessionData) GetAvailableVerificationMethods() []VerificationMethod
- func (p *VerificationSessionData) GetCallback() string
- func (p *VerificationSessionData) GetCallerIdMask() string
- func (p *VerificationSessionData) GetCountryCode() string
- func (p *VerificationSessionData) GetMethod() VerificationMethod
- func (p *VerificationSessionData) GetNationalSignificantNumber() string
- func (p *VerificationSessionData) GetNormalizedPhone() string
- func (p *VerificationSessionData) GetSessionId() string
- func (p *VerificationSessionData) Read(ctx context.Context, iprot thrift.TProtocol) error
- func (p *VerificationSessionData) ReadField1(ctx context.Context, iprot thrift.TProtocol) error
- func (p *VerificationSessionData) ReadField2(ctx context.Context, iprot thrift.TProtocol) error
- func (p *VerificationSessionData) ReadField3(ctx context.Context, iprot thrift.TProtocol) error
- func (p *VerificationSessionData) ReadField4(ctx context.Context, iprot thrift.TProtocol) error
- func (p *VerificationSessionData) ReadField5(ctx context.Context, iprot thrift.TProtocol) error
- func (p *VerificationSessionData) ReadField6(ctx context.Context, iprot thrift.TProtocol) error
- func (p *VerificationSessionData) ReadField7(ctx context.Context, iprot thrift.TProtocol) error
- func (p *VerificationSessionData) ReadField8(ctx context.Context, iprot thrift.TProtocol) error
- func (p *VerificationSessionData) String() string
- func (p *VerificationSessionData) Write(ctx context.Context, oprot thrift.TProtocol) error
Constants ¶
This section is empty.
Variables ¶
View Source
var AuthServiceConfirmE2EELoginResult_Success_DEFAULT string
Functions ¶
This section is empty.
Types ¶
type AuthService ¶
type AuthService interface { // Parameters: // - Verifier // - DeviceSecret ConfirmE2EELogin(ctx context.Context, verifier string, deviceSecret []byte) (r string, err error) // Parameters: // - LoginRequest LoginZ(ctx context.Context, loginRequest *LoginRequest) (r *LoginResult_, err error) LogoutZ(ctx context.Context) (err error) }
type AuthServiceClient ¶
type AuthServiceClient struct {
// contains filtered or unexported fields
}
func NewAuthServiceClient ¶
func NewAuthServiceClient(c thrift.TClient) *AuthServiceClient
func NewAuthServiceClientFactory ¶
func NewAuthServiceClientFactory(t thrift.TTransport, f thrift.TProtocolFactory) *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) LoginZ ¶
func (p *AuthServiceClient) LoginZ(ctx context.Context, loginRequest *LoginRequest) (r *LoginResult_, err error)
Parameters:
- LoginRequest
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) ReadField1 ¶
func (*AuthServiceConfirmE2EELoginArgs) ReadField2 ¶
func (*AuthServiceConfirmE2EELoginArgs) String ¶
func (p *AuthServiceConfirmE2EELoginArgs) String() string
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 (p *AuthServiceConfirmE2EELoginResult) GetE() *TalkException
func (*AuthServiceConfirmE2EELoginResult) GetSuccess ¶
func (p *AuthServiceConfirmE2EELoginResult) GetSuccess() string
func (*AuthServiceConfirmE2EELoginResult) IsSetE ¶
func (p *AuthServiceConfirmE2EELoginResult) IsSetE() bool
func (*AuthServiceConfirmE2EELoginResult) IsSetSuccess ¶
func (p *AuthServiceConfirmE2EELoginResult) IsSetSuccess() bool
func (*AuthServiceConfirmE2EELoginResult) ReadField0 ¶
func (*AuthServiceConfirmE2EELoginResult) ReadField1 ¶
func (*AuthServiceConfirmE2EELoginResult) String ¶
func (p *AuthServiceConfirmE2EELoginResult) String() string
type AuthServiceLoginZArgs ¶
type AuthServiceLoginZArgs struct { // unused field # 1 LoginRequest *LoginRequest `thrift:"loginRequest,2" db:"loginRequest" json:"loginRequest"` }
Attributes:
- LoginRequest
func NewAuthServiceLoginZArgs ¶
func NewAuthServiceLoginZArgs() *AuthServiceLoginZArgs
func (*AuthServiceLoginZArgs) GetLoginRequest ¶
func (p *AuthServiceLoginZArgs) GetLoginRequest() *LoginRequest
func (*AuthServiceLoginZArgs) IsSetLoginRequest ¶
func (p *AuthServiceLoginZArgs) IsSetLoginRequest() bool
func (*AuthServiceLoginZArgs) ReadField2 ¶
func (*AuthServiceLoginZArgs) String ¶
func (p *AuthServiceLoginZArgs) String() string
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 (p *AuthServiceLoginZResult) GetE() *TalkException
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) ReadField0 ¶
func (*AuthServiceLoginZResult) ReadField1 ¶
func (*AuthServiceLoginZResult) String ¶
func (p *AuthServiceLoginZResult) String() string
type AuthServiceLogoutZArgs ¶
type AuthServiceLogoutZArgs struct { }
func NewAuthServiceLogoutZArgs ¶
func NewAuthServiceLogoutZArgs() *AuthServiceLogoutZArgs
func (*AuthServiceLogoutZArgs) String ¶
func (p *AuthServiceLogoutZArgs) String() string
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 (p *AuthServiceLogoutZResult) GetE() *TalkException
func (*AuthServiceLogoutZResult) IsSetE ¶
func (p *AuthServiceLogoutZResult) IsSetE() bool
func (*AuthServiceLogoutZResult) ReadField1 ¶
func (*AuthServiceLogoutZResult) String ¶
func (p *AuthServiceLogoutZResult) String() string
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 ErrorCode ¶
type ErrorCode int64
const ( ErrorCode_ILLEGAL_ARGUMENT ErrorCode = 0 ErrorCode_AUTHENTICATION_FAILED ErrorCode = 1 ErrorCode_DB_FAILED ErrorCode = 2 ErrorCode_INVALID_STATE ErrorCode = 3 ErrorCode_EXCESSIVE_ACCESS ErrorCode = 4 ErrorCode_NOT_FOUND ErrorCode = 5 ErrorCode_INVALID_LENGTH ErrorCode = 6 ErrorCode_NOT_AVAILABLE_USER ErrorCode = 7 ErrorCode_NOT_AUTHORIZED_DEVICE ErrorCode = 8 ErrorCode_INVALID_MID ErrorCode = 9 ErrorCode_NOT_A_MEMBER ErrorCode = 10 ErrorCode_INCOMPATIBLE_APP_VERSION ErrorCode = 11 ErrorCode_NOT_READY ErrorCode = 12 ErrorCode_NOT_AVAILABLE_SESSION ErrorCode = 13 ErrorCode_NOT_AUTHORIZED_SESSION ErrorCode = 14 ErrorCode_SYSTEM_ERROR ErrorCode = 15 ErrorCode_NO_AVAILABLE_VERIFICATION_METHOD ErrorCode = 16 ErrorCode_NOT_AUTHENTICATED ErrorCode = 17 ErrorCode_INVALID_IDENTITY_CREDENTIAL ErrorCode = 18 ErrorCode_NOT_AVAILABLE_IDENTITY_IDENTIFIER ErrorCode = 19 ErrorCode_INTERNAL_ERROR ErrorCode = 20 ErrorCode_NO_SUCH_IDENTITY_IDENFIER ErrorCode = 21 ErrorCode_DEACTIVATED_ACCOUNT_BOUND_TO_THIS_IDENTITY ErrorCode = 22 ErrorCode_ILLEGAL_IDENTITY_CREDENTIAL ErrorCode = 23 ErrorCode_UNKNOWN_CHANNEL ErrorCode = 24 ErrorCode_NO_SUCH_MESSAGE_BOX ErrorCode = 25 ErrorCode_NOT_AVAILABLE_MESSAGE_BOX ErrorCode = 26 ErrorCode_CHANNEL_DOES_NOT_MATCH ErrorCode = 27 ErrorCode_NOT_YOUR_MESSAGE ErrorCode = 28 ErrorCode_MESSAGE_DEFINED_ERROR ErrorCode = 29 ErrorCode_USER_CANNOT_ACCEPT_PRESENTS ErrorCode = 30 ErrorCode_USER_NOT_STICKER_OWNER ErrorCode = 32 ErrorCode_MAINTENANCE_ERROR ErrorCode = 33 ErrorCode_ACCOUNT_NOT_MATCHED ErrorCode = 34 ErrorCode_ABUSE_BLOCK ErrorCode = 35 ErrorCode_NOT_FRIEND ErrorCode = 36 ErrorCode_NOT_ALLOWED_CALL ErrorCode = 37 ErrorCode_BLOCK_FRIEND ErrorCode = 38 ErrorCode_INCOMPATIBLE_VOIP_VERSION ErrorCode = 39 ErrorCode_INVALID_SNS_ACCESS_TOKEN ErrorCode = 40 ErrorCode_EXTERNAL_SERVICE_NOT_AVAILABLE ErrorCode = 41 ErrorCode_NOT_ALLOWED_ADD_CONTACT ErrorCode = 42 ErrorCode_NOT_CERTIFICATED ErrorCode = 43 ErrorCode_NOT_ALLOWED_SECONDARY_DEVICE ErrorCode = 44 ErrorCode_INVALID_PIN_CODE ErrorCode = 45 ErrorCode_NOT_FOUND_IDENTITY_CREDENTIAL ErrorCode = 46 ErrorCode_EXCEED_FILE_MAX_SIZE ErrorCode = 47 ErrorCode_EXCEED_DAILY_QUOTA ErrorCode = 48 ErrorCode_NOT_SUPPORT_SEND_FILE ErrorCode = 49 ErrorCode_MUST_UPGRADE ErrorCode = 50 ErrorCode_NOT_AVAILABLE_PIN_CODE_SESSION ErrorCode = 51 ErrorCode_EXPIRED_REVISION ErrorCode = 52 ErrorCode_NOT_YET_PHONE_NUMBER ErrorCode = 54 ErrorCode_BAD_CALL_NUMBER ErrorCode = 55 ErrorCode_UNAVAILABLE_CALL_NUMBER ErrorCode = 56 ErrorCode_NOT_SUPPORT_CALL_SERVICE ErrorCode = 57 ErrorCode_CONGESTION_CONTROL ErrorCode = 58 ErrorCode_NO_BALANCE ErrorCode = 59 ErrorCode_NOT_PERMITTED_CALLER_ID ErrorCode = 60 ErrorCode_NO_CALLER_ID_LIMIT_EXCEEDED ErrorCode = 61 ErrorCode_CALLER_ID_VERIFICATION_REQUIRED ErrorCode = 62 ErrorCode_NO_CALLER_ID_LIMIT_EXCEEDED_AND_VERIFICATION_REQUIRED ErrorCode = 63 ErrorCode_MESSAGE_NOT_FOUND ErrorCode = 64 ErrorCode_INVALID_ACCOUNT_MIGRATION_PINCODE_FORMAT ErrorCode = 65 ErrorCode_ACCOUNT_MIGRATION_PINCODE_NOT_MATCHED ErrorCode = 66 ErrorCode_ACCOUNT_MIGRATION_PINCODE_BLOCKED ErrorCode = 67 ErrorCode_INVALID_PASSWORD_FORMAT ErrorCode = 69 ErrorCode_FEATURE_RESTRICTED ErrorCode = 70 ErrorCode_MESSAGE_NOT_DESTRUCTIBLE ErrorCode = 71 ErrorCode_PAID_CALL_REDEEM_FAILED ErrorCode = 72 ErrorCode_PREVENTED_JOIN_BY_TICKET ErrorCode = 73 ErrorCode_SEND_MESSAGE_NOT_PERMITTED_FROM_LINE_AT ErrorCode = 75 ErrorCode_SEND_MESSAGE_NOT_PERMITTED_WHILE_AUTO_REPLY ErrorCode = 76 ErrorCode_SECURITY_CENTER_NOT_VERIFIED ErrorCode = 77 ErrorCode_SECURITY_CENTER_BLOCKED_BY_SETTING ErrorCode = 78 ErrorCode_SECURITY_CENTER_BLOCKED ErrorCode = 79 ErrorCode_TALK_PROXY_EXCEPTION ErrorCode = 80 ErrorCode_E2EE_INVALID_PROTOCOL ErrorCode = 81 ErrorCode_E2EE_RETRY_ENCRYPT ErrorCode = 82 ErrorCode_E2EE_UPDATE_SENDER_KEY ErrorCode = 83 ErrorCode_E2EE_UPDATE_RECEIVER_KEY ErrorCode = 84 ErrorCode_E2EE_INVALID_ARGUMENT ErrorCode = 85 ErrorCode_E2EE_INVALID_VERSION ErrorCode = 86 ErrorCode_E2EE_SENDER_DISABLED ErrorCode = 87 ErrorCode_E2EE_RECEIVER_DISABLED ErrorCode = 88 ErrorCode_E2EE_SENDER_NOT_ALLOWED ErrorCode = 89 ErrorCode_E2EE_RECEIVER_NOT_ALLOWED ErrorCode = 90 ErrorCode_E2EE_RESEND_FAIL ErrorCode = 91 ErrorCode_E2EE_RESEND_OK ErrorCode = 92 ErrorCode_HITOKOTO_BACKUP_NO_AVAILABLE_DATA ErrorCode = 93 ErrorCode_E2EE_UPDATE_PRIMARY_DEVICE ErrorCode = 94 ErrorCode_SUCCESS ErrorCode = 95 ErrorCode_CANCEL ErrorCode = 96 ErrorCode_E2EE_PRIMARY_NOT_SUPPORT ErrorCode = 97 ErrorCode_E2EE_RETRY_PLAIN ErrorCode = 98 ErrorCode_E2EE_RECREATE_GROUP_KEY ErrorCode = 99 ErrorCode_E2EE_GROUP_TOO_MANY_MEMBERS ErrorCode = 100 ErrorCode_SERVER_BUSY ErrorCode = 101 ErrorCode_NOT_ALLOWED_ADD_FOLLOW ErrorCode = 102 ErrorCode_INCOMING_FRIEND_REQUEST_LIMIT ErrorCode = 103 ErrorCode_OUTGOING_FRIEND_REQUEST_LIMIT ErrorCode = 104 ErrorCode_OUTGOING_FRIEND_REQUEST_QUOTA ErrorCode = 105 ErrorCode_DUPLICATED ErrorCode = 106 ErrorCode_BANNED ErrorCode = 107 ErrorCode_NOT_AN_INVITEE ErrorCode = 108 ErrorCode_NOT_AN_OUTSIDER ErrorCode = 109 ErrorCode_EMPTY_GROUP ErrorCode = 111 ErrorCode_EXCEED_FOLLOW_LIMIT ErrorCode = 112 ErrorCode_UNSUPPORTED_ACCOUNT_TYPE ErrorCode = 113 ErrorCode_AGREEMENT_REQUIRED ErrorCode = 114 ErrorCode_SHOULD_RETRY ErrorCode = 115 ErrorCode_OVER_MAX_CHATS_PER_USER ErrorCode = 116 ErrorCode_NOT_AVAILABLE_API ErrorCode = 117 )
func ErrorCodeFromString ¶
func ErrorCodePtr ¶
func (ErrorCode) MarshalText ¶
func (*ErrorCode) UnmarshalText ¶
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
type LoginRequest ¶
type LoginRequest struct { Type LoginType `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"` }
Attributes:
- Type
- IdentityProvider
- Identifier
- Password
- KeepLoggedIn
- AccessLocation
- SystemName
- Certificate
- Verifier
- Secret
- E2eeVersion
var AuthServiceLoginZArgs_LoginRequest_DEFAULT *LoginRequest
func NewLoginRequest ¶
func NewLoginRequest() *LoginRequest
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) 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() LoginType
func (*LoginRequest) GetVerifier ¶
func (p *LoginRequest) GetVerifier() string
func (*LoginRequest) ReadField1 ¶
func (*LoginRequest) ReadField10 ¶
func (*LoginRequest) ReadField11 ¶
func (*LoginRequest) ReadField2 ¶
func (*LoginRequest) ReadField3 ¶
func (*LoginRequest) ReadField4 ¶
func (*LoginRequest) ReadField5 ¶
func (*LoginRequest) ReadField6 ¶
func (*LoginRequest) ReadField7 ¶
func (*LoginRequest) ReadField8 ¶
func (*LoginRequest) ReadField9 ¶
func (*LoginRequest) String ¶
func (p *LoginRequest) String() string
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
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"` TokenIssueResult_ *TokenIssueResult_ `thrift:"tokenIssueResult,9" db:"tokenIssueResult" json:"tokenIssueResult"` }
Attributes:
- AuthToken
- Certificate
- Verifier
- PinCode
- Type
- LastPrimaryBindTime
- DisplayMessage
- SessionForSMSConfirm
- TokenIssueResult_
var AuthServiceLoginZResult_Success_DEFAULT *LoginResult_
func NewLoginResult_ ¶
func NewLoginResult_() *LoginResult_
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_) GetPinCode ¶
func (p *LoginResult_) GetPinCode() string
func (*LoginResult_) GetSessionForSMSConfirm ¶
func (p *LoginResult_) GetSessionForSMSConfirm() *VerificationSessionData
func (*LoginResult_) GetTokenIssueResult_ ¶
func (p *LoginResult_) GetTokenIssueResult_() *TokenIssueResult_
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_) IsSetTokenIssueResult_ ¶
func (p *LoginResult_) IsSetTokenIssueResult_() bool
func (*LoginResult_) ReadField1 ¶
func (*LoginResult_) ReadField2 ¶
func (*LoginResult_) ReadField3 ¶
func (*LoginResult_) ReadField4 ¶
func (*LoginResult_) ReadField5 ¶
func (*LoginResult_) ReadField6 ¶
func (*LoginResult_) ReadField7 ¶
func (*LoginResult_) ReadField8 ¶
func (*LoginResult_) ReadField9 ¶
func (*LoginResult_) String ¶
func (p *LoginResult_) String() string
type LoginType ¶
type LoginType int64
func LoginTypeFromString ¶
func LoginTypePtr ¶
func (LoginType) MarshalText ¶
func (*LoginType) UnmarshalText ¶
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 TalkServiceGetRSAKeyInfoResult_Success_DEFAULT *RSAKey
func (*RSAKey) GetSessionKey ¶
func (*RSAKey) ReadField1 ¶
func (*RSAKey) ReadField2 ¶
func (*RSAKey) ReadField3 ¶
func (*RSAKey) ReadField4 ¶
type TalkException ¶
type TalkException struct { Code ErrorCode `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 AuthServiceLoginZResult_E_DEFAULT *TalkException
var AuthServiceLogoutZResult_E_DEFAULT *TalkException
var TalkServiceGetRSAKeyInfoResult_E_DEFAULT *TalkException
var TalkServiceRequestAccountPasswordResetResult_E_DEFAULT *TalkException
func NewTalkException ¶
func NewTalkException() *TalkException
func (*TalkException) Error ¶
func (p *TalkException) Error() string
func (*TalkException) GetCode ¶
func (p *TalkException) GetCode() ErrorCode
func (*TalkException) GetParameterMap ¶
func (p *TalkException) GetParameterMap() map[string]string
func (*TalkException) GetReason ¶
func (p *TalkException) GetReason() string
func (*TalkException) ReadField1 ¶
func (*TalkException) ReadField2 ¶
func (*TalkException) ReadField3 ¶
func (*TalkException) String ¶
func (p *TalkException) String() string
type TalkService ¶
type TalkService interface { // Parameters: // - Provider GetRSAKeyInfo(ctx context.Context, provider IdentityProvider) (r *RSAKey, err error) // Parameters: // - Provider // - Identifier // - Locale RequestAccountPasswordReset(ctx context.Context, provider IdentityProvider, identifier string, locale string) (err error) }
type TalkServiceClient ¶
type TalkServiceClient struct {
// contains filtered or unexported fields
}
func NewTalkServiceClient ¶
func NewTalkServiceClient(c thrift.TClient) *TalkServiceClient
func NewTalkServiceClientFactory ¶
func NewTalkServiceClientFactory(t thrift.TTransport, f thrift.TProtocolFactory) *TalkServiceClient
func NewTalkServiceClientProtocol ¶
func NewTalkServiceClientProtocol(t thrift.TTransport, iprot thrift.TProtocol, oprot thrift.TProtocol) *TalkServiceClient
func (*TalkServiceClient) Client_ ¶
func (p *TalkServiceClient) Client_() thrift.TClient
func (*TalkServiceClient) GetRSAKeyInfo ¶
func (p *TalkServiceClient) GetRSAKeyInfo(ctx context.Context, provider IdentityProvider) (r *RSAKey, err error)
Parameters:
- Provider
func (*TalkServiceClient) RequestAccountPasswordReset ¶
func (p *TalkServiceClient) RequestAccountPasswordReset(ctx context.Context, provider IdentityProvider, identifier string, locale string) (err error)
Parameters:
- Provider
- Identifier
- Locale
type TalkServiceGetRSAKeyInfoArgs ¶
type TalkServiceGetRSAKeyInfoArgs struct { // unused field # 1 Provider IdentityProvider `thrift:"provider,2" db:"provider" json:"provider"` }
Attributes:
- Provider
func NewTalkServiceGetRSAKeyInfoArgs ¶
func NewTalkServiceGetRSAKeyInfoArgs() *TalkServiceGetRSAKeyInfoArgs
func (*TalkServiceGetRSAKeyInfoArgs) GetProvider ¶
func (p *TalkServiceGetRSAKeyInfoArgs) GetProvider() IdentityProvider
func (*TalkServiceGetRSAKeyInfoArgs) ReadField2 ¶
func (*TalkServiceGetRSAKeyInfoArgs) String ¶
func (p *TalkServiceGetRSAKeyInfoArgs) String() string
type TalkServiceGetRSAKeyInfoResult ¶
type TalkServiceGetRSAKeyInfoResult 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 NewTalkServiceGetRSAKeyInfoResult ¶
func NewTalkServiceGetRSAKeyInfoResult() *TalkServiceGetRSAKeyInfoResult
func (*TalkServiceGetRSAKeyInfoResult) GetE ¶
func (p *TalkServiceGetRSAKeyInfoResult) GetE() *TalkException
func (*TalkServiceGetRSAKeyInfoResult) GetSuccess ¶
func (p *TalkServiceGetRSAKeyInfoResult) GetSuccess() *RSAKey
func (*TalkServiceGetRSAKeyInfoResult) IsSetE ¶
func (p *TalkServiceGetRSAKeyInfoResult) IsSetE() bool
func (*TalkServiceGetRSAKeyInfoResult) IsSetSuccess ¶
func (p *TalkServiceGetRSAKeyInfoResult) IsSetSuccess() bool
func (*TalkServiceGetRSAKeyInfoResult) ReadField0 ¶
func (*TalkServiceGetRSAKeyInfoResult) ReadField1 ¶
func (*TalkServiceGetRSAKeyInfoResult) String ¶
func (p *TalkServiceGetRSAKeyInfoResult) String() string
type TalkServiceProcessor ¶
type TalkServiceProcessor struct {
// contains filtered or unexported fields
}
func NewTalkServiceProcessor ¶
func NewTalkServiceProcessor(handler TalkService) *TalkServiceProcessor
func (*TalkServiceProcessor) AddToProcessorMap ¶
func (p *TalkServiceProcessor) AddToProcessorMap(key string, processor thrift.TProcessorFunction)
func (*TalkServiceProcessor) GetProcessorFunction ¶
func (p *TalkServiceProcessor) GetProcessorFunction(key string) (processor thrift.TProcessorFunction, ok bool)
func (*TalkServiceProcessor) Process ¶
func (p *TalkServiceProcessor) Process(ctx context.Context, iprot, oprot thrift.TProtocol) (success bool, err thrift.TException)
func (*TalkServiceProcessor) ProcessorMap ¶
func (p *TalkServiceProcessor) ProcessorMap() map[string]thrift.TProcessorFunction
type TalkServiceRequestAccountPasswordResetArgs ¶
type TalkServiceRequestAccountPasswordResetArgs struct { // unused field # 1 Identifier string `thrift:"identifier,2" db:"identifier" json:"identifier"` // unused field # 3 Provider IdentityProvider `thrift:"provider,4" db:"provider" json:"provider"` Locale string `thrift:"locale,5" db:"locale" json:"locale"` }
Attributes:
- Provider
- Identifier
- Locale
func NewTalkServiceRequestAccountPasswordResetArgs ¶
func NewTalkServiceRequestAccountPasswordResetArgs() *TalkServiceRequestAccountPasswordResetArgs
func (*TalkServiceRequestAccountPasswordResetArgs) GetIdentifier ¶
func (p *TalkServiceRequestAccountPasswordResetArgs) GetIdentifier() string
func (*TalkServiceRequestAccountPasswordResetArgs) GetLocale ¶
func (p *TalkServiceRequestAccountPasswordResetArgs) GetLocale() string
func (*TalkServiceRequestAccountPasswordResetArgs) GetProvider ¶
func (p *TalkServiceRequestAccountPasswordResetArgs) GetProvider() IdentityProvider
func (*TalkServiceRequestAccountPasswordResetArgs) ReadField2 ¶
func (*TalkServiceRequestAccountPasswordResetArgs) ReadField4 ¶
func (*TalkServiceRequestAccountPasswordResetArgs) ReadField5 ¶
func (*TalkServiceRequestAccountPasswordResetArgs) String ¶
func (p *TalkServiceRequestAccountPasswordResetArgs) String() string
type TalkServiceRequestAccountPasswordResetResult ¶
type TalkServiceRequestAccountPasswordResetResult struct {
E *TalkException `thrift:"e,1" db:"e" json:"e,omitempty"`
}
Attributes:
- E
func NewTalkServiceRequestAccountPasswordResetResult ¶
func NewTalkServiceRequestAccountPasswordResetResult() *TalkServiceRequestAccountPasswordResetResult
func (*TalkServiceRequestAccountPasswordResetResult) GetE ¶
func (p *TalkServiceRequestAccountPasswordResetResult) GetE() *TalkException
func (*TalkServiceRequestAccountPasswordResetResult) IsSetE ¶
func (p *TalkServiceRequestAccountPasswordResetResult) IsSetE() bool
func (*TalkServiceRequestAccountPasswordResetResult) ReadField1 ¶
func (*TalkServiceRequestAccountPasswordResetResult) String ¶
func (p *TalkServiceRequestAccountPasswordResetResult) String() string
type TokenIssueResult_ ¶
type TokenIssueResult_ struct { AccessToken string `thrift:"accessToken,1" db:"accessToken" json:"accessToken"` RefreshToken string `thrift:"refreshToken,2" db:"refreshToken" json:"refreshToken"` AppId string `thrift:"appId,3" db:"appId" json:"appId"` DurationUntilRefreshInSec int64 `thrift:"durationUntilRefreshInSec,4" db:"durationUntilRefreshInSec" json:"durationUntilRefreshInSec"` }
Attributes:
- AccessToken
- RefreshToken
- AppId
- DurationUntilRefreshInSec
var LoginResult__TokenIssueResult__DEFAULT *TokenIssueResult_
func NewTokenIssueResult_ ¶
func NewTokenIssueResult_() *TokenIssueResult_
func (*TokenIssueResult_) GetAccessToken ¶
func (p *TokenIssueResult_) GetAccessToken() string
func (*TokenIssueResult_) GetAppId ¶
func (p *TokenIssueResult_) GetAppId() string
func (*TokenIssueResult_) GetDurationUntilRefreshInSec ¶
func (p *TokenIssueResult_) GetDurationUntilRefreshInSec() int64
func (*TokenIssueResult_) GetRefreshToken ¶
func (p *TokenIssueResult_) GetRefreshToken() string
func (*TokenIssueResult_) ReadField1 ¶
func (*TokenIssueResult_) ReadField2 ¶
func (*TokenIssueResult_) ReadField3 ¶
func (*TokenIssueResult_) ReadField4 ¶
func (*TokenIssueResult_) String ¶
func (p *TokenIssueResult_) String() string
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
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) 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 (p *VerificationSessionData) GetMethod() VerificationMethod
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) ReadField1 ¶
func (*VerificationSessionData) ReadField2 ¶
func (*VerificationSessionData) ReadField3 ¶
func (*VerificationSessionData) ReadField4 ¶
func (*VerificationSessionData) ReadField5 ¶
func (*VerificationSessionData) ReadField6 ¶
func (*VerificationSessionData) ReadField7 ¶
func (*VerificationSessionData) ReadField8 ¶
func (*VerificationSessionData) String ¶
func (p *VerificationSessionData) String() string
Click to show internal directories.
Click to hide internal directories.