Versions in this module Expand all Collapse all v1 v1.0.0 Nov 8, 2023 Changes in this version + var CheckVerificationCodeResponse_Result_name = map[int32]string + var CheckVerificationCodeResponse_Result_value = map[string]int32 + var File_phone_v1_phone_verification_service_proto protoreflect.FileDescriptor + var GetAssociatedPhoneNumberResponse_Result_name = map[int32]string + var GetAssociatedPhoneNumberResponse_Result_value = map[string]int32 + var PhoneVerification_ServiceDesc = grpc.ServiceDesc + var SendVerificationCodeResponse_Result_name = map[int32]string + var SendVerificationCodeResponse_Result_value = map[string]int32 + func RegisterPhoneVerificationServer(s grpc.ServiceRegistrar, srv PhoneVerificationServer) + type CheckVerificationCodeRequest struct + Code *VerificationCode + PhoneNumber *v1.PhoneNumber + func (*CheckVerificationCodeRequest) Descriptor() ([]byte, []int) + func (*CheckVerificationCodeRequest) ProtoMessage() + func (m *CheckVerificationCodeRequest) Validate() error + func (x *CheckVerificationCodeRequest) GetCode() *VerificationCode + func (x *CheckVerificationCodeRequest) GetPhoneNumber() *v1.PhoneNumber + func (x *CheckVerificationCodeRequest) ProtoReflect() protoreflect.Message + func (x *CheckVerificationCodeRequest) Reset() + func (x *CheckVerificationCodeRequest) String() string + type CheckVerificationCodeRequestValidationError struct + func (e CheckVerificationCodeRequestValidationError) Cause() error + func (e CheckVerificationCodeRequestValidationError) Error() string + func (e CheckVerificationCodeRequestValidationError) ErrorName() string + func (e CheckVerificationCodeRequestValidationError) Field() string + func (e CheckVerificationCodeRequestValidationError) Key() bool + func (e CheckVerificationCodeRequestValidationError) Reason() string + type CheckVerificationCodeResponse struct + LinkingToken *PhoneLinkingToken + Result CheckVerificationCodeResponse_Result + func (*CheckVerificationCodeResponse) Descriptor() ([]byte, []int) + func (*CheckVerificationCodeResponse) ProtoMessage() + func (m *CheckVerificationCodeResponse) Validate() error + func (x *CheckVerificationCodeResponse) GetLinkingToken() *PhoneLinkingToken + func (x *CheckVerificationCodeResponse) GetResult() CheckVerificationCodeResponse_Result + func (x *CheckVerificationCodeResponse) ProtoReflect() protoreflect.Message + func (x *CheckVerificationCodeResponse) Reset() + func (x *CheckVerificationCodeResponse) String() string + type CheckVerificationCodeResponseValidationError struct + func (e CheckVerificationCodeResponseValidationError) Cause() error + func (e CheckVerificationCodeResponseValidationError) Error() string + func (e CheckVerificationCodeResponseValidationError) ErrorName() string + func (e CheckVerificationCodeResponseValidationError) Field() string + func (e CheckVerificationCodeResponseValidationError) Key() bool + func (e CheckVerificationCodeResponseValidationError) Reason() string + type CheckVerificationCodeResponse_Result int32 + const CheckVerificationCodeResponse_INVALID_CODE + const CheckVerificationCodeResponse_NO_VERIFICATION + const CheckVerificationCodeResponse_OK + const CheckVerificationCodeResponse_RATE_LIMITED + func (CheckVerificationCodeResponse_Result) Descriptor() protoreflect.EnumDescriptor + func (CheckVerificationCodeResponse_Result) EnumDescriptor() ([]byte, []int) + func (CheckVerificationCodeResponse_Result) Type() protoreflect.EnumType + func (x CheckVerificationCodeResponse_Result) Enum() *CheckVerificationCodeResponse_Result + func (x CheckVerificationCodeResponse_Result) Number() protoreflect.EnumNumber + func (x CheckVerificationCodeResponse_Result) String() string + type GetAssociatedPhoneNumberRequest struct + OwnerAccountId *v1.SolanaAccountId + Signature *v1.Signature + func (*GetAssociatedPhoneNumberRequest) Descriptor() ([]byte, []int) + func (*GetAssociatedPhoneNumberRequest) ProtoMessage() + func (m *GetAssociatedPhoneNumberRequest) Validate() error + func (x *GetAssociatedPhoneNumberRequest) GetOwnerAccountId() *v1.SolanaAccountId + func (x *GetAssociatedPhoneNumberRequest) GetSignature() *v1.Signature + func (x *GetAssociatedPhoneNumberRequest) ProtoReflect() protoreflect.Message + func (x *GetAssociatedPhoneNumberRequest) Reset() + func (x *GetAssociatedPhoneNumberRequest) String() string + type GetAssociatedPhoneNumberRequestValidationError struct + func (e GetAssociatedPhoneNumberRequestValidationError) Cause() error + func (e GetAssociatedPhoneNumberRequestValidationError) Error() string + func (e GetAssociatedPhoneNumberRequestValidationError) ErrorName() string + func (e GetAssociatedPhoneNumberRequestValidationError) Field() string + func (e GetAssociatedPhoneNumberRequestValidationError) Key() bool + func (e GetAssociatedPhoneNumberRequestValidationError) Reason() string + type GetAssociatedPhoneNumberResponse struct + IsLinked bool + PhoneNumber *v1.PhoneNumber + Result GetAssociatedPhoneNumberResponse_Result + func (*GetAssociatedPhoneNumberResponse) Descriptor() ([]byte, []int) + func (*GetAssociatedPhoneNumberResponse) ProtoMessage() + func (m *GetAssociatedPhoneNumberResponse) Validate() error + func (x *GetAssociatedPhoneNumberResponse) GetIsLinked() bool + func (x *GetAssociatedPhoneNumberResponse) GetPhoneNumber() *v1.PhoneNumber + func (x *GetAssociatedPhoneNumberResponse) GetResult() GetAssociatedPhoneNumberResponse_Result + func (x *GetAssociatedPhoneNumberResponse) ProtoReflect() protoreflect.Message + func (x *GetAssociatedPhoneNumberResponse) Reset() + func (x *GetAssociatedPhoneNumberResponse) String() string + type GetAssociatedPhoneNumberResponseValidationError struct + func (e GetAssociatedPhoneNumberResponseValidationError) Cause() error + func (e GetAssociatedPhoneNumberResponseValidationError) Error() string + func (e GetAssociatedPhoneNumberResponseValidationError) ErrorName() string + func (e GetAssociatedPhoneNumberResponseValidationError) Field() string + func (e GetAssociatedPhoneNumberResponseValidationError) Key() bool + func (e GetAssociatedPhoneNumberResponseValidationError) Reason() string + type GetAssociatedPhoneNumberResponse_Result int32 + const GetAssociatedPhoneNumberResponse_NOT_FOUND + const GetAssociatedPhoneNumberResponse_NOT_INVITED + const GetAssociatedPhoneNumberResponse_OK + const GetAssociatedPhoneNumberResponse_UNLOCKED_TIMELOCK_ACCOUNT + func (GetAssociatedPhoneNumberResponse_Result) Descriptor() protoreflect.EnumDescriptor + func (GetAssociatedPhoneNumberResponse_Result) EnumDescriptor() ([]byte, []int) + func (GetAssociatedPhoneNumberResponse_Result) Type() protoreflect.EnumType + func (x GetAssociatedPhoneNumberResponse_Result) Enum() *GetAssociatedPhoneNumberResponse_Result + func (x GetAssociatedPhoneNumberResponse_Result) Number() protoreflect.EnumNumber + func (x GetAssociatedPhoneNumberResponse_Result) String() string + type PhoneLinkingToken struct + Code *VerificationCode + PhoneNumber *v1.PhoneNumber + func (*PhoneLinkingToken) Descriptor() ([]byte, []int) + func (*PhoneLinkingToken) ProtoMessage() + func (m *PhoneLinkingToken) Validate() error + func (x *PhoneLinkingToken) GetCode() *VerificationCode + func (x *PhoneLinkingToken) GetPhoneNumber() *v1.PhoneNumber + func (x *PhoneLinkingToken) ProtoReflect() protoreflect.Message + func (x *PhoneLinkingToken) Reset() + func (x *PhoneLinkingToken) String() string + type PhoneLinkingTokenValidationError struct + func (e PhoneLinkingTokenValidationError) Cause() error + func (e PhoneLinkingTokenValidationError) Error() string + func (e PhoneLinkingTokenValidationError) ErrorName() string + func (e PhoneLinkingTokenValidationError) Field() string + func (e PhoneLinkingTokenValidationError) Key() bool + func (e PhoneLinkingTokenValidationError) Reason() string + type PhoneVerificationClient interface + CheckVerificationCode func(ctx context.Context, in *CheckVerificationCodeRequest, opts ...grpc.CallOption) (*CheckVerificationCodeResponse, error) + GetAssociatedPhoneNumber func(ctx context.Context, in *GetAssociatedPhoneNumberRequest, ...) (*GetAssociatedPhoneNumberResponse, error) + SendVerificationCode func(ctx context.Context, in *SendVerificationCodeRequest, opts ...grpc.CallOption) (*SendVerificationCodeResponse, error) + func NewPhoneVerificationClient(cc grpc.ClientConnInterface) PhoneVerificationClient + type PhoneVerificationServer interface + CheckVerificationCode func(context.Context, *CheckVerificationCodeRequest) (*CheckVerificationCodeResponse, error) + GetAssociatedPhoneNumber func(context.Context, *GetAssociatedPhoneNumberRequest) (*GetAssociatedPhoneNumberResponse, error) + SendVerificationCode func(context.Context, *SendVerificationCodeRequest) (*SendVerificationCodeResponse, error) + type SendVerificationCodeRequest struct + DeviceToken *v1.DeviceToken + PhoneNumber *v1.PhoneNumber + func (*SendVerificationCodeRequest) Descriptor() ([]byte, []int) + func (*SendVerificationCodeRequest) ProtoMessage() + func (m *SendVerificationCodeRequest) Validate() error + func (x *SendVerificationCodeRequest) GetDeviceToken() *v1.DeviceToken + func (x *SendVerificationCodeRequest) GetPhoneNumber() *v1.PhoneNumber + func (x *SendVerificationCodeRequest) ProtoReflect() protoreflect.Message + func (x *SendVerificationCodeRequest) Reset() + func (x *SendVerificationCodeRequest) String() string + type SendVerificationCodeRequestValidationError struct + func (e SendVerificationCodeRequestValidationError) Cause() error + func (e SendVerificationCodeRequestValidationError) Error() string + func (e SendVerificationCodeRequestValidationError) ErrorName() string + func (e SendVerificationCodeRequestValidationError) Field() string + func (e SendVerificationCodeRequestValidationError) Key() bool + func (e SendVerificationCodeRequestValidationError) Reason() string + type SendVerificationCodeResponse struct + Result SendVerificationCodeResponse_Result + func (*SendVerificationCodeResponse) Descriptor() ([]byte, []int) + func (*SendVerificationCodeResponse) ProtoMessage() + func (m *SendVerificationCodeResponse) Validate() error + func (x *SendVerificationCodeResponse) GetResult() SendVerificationCodeResponse_Result + func (x *SendVerificationCodeResponse) ProtoReflect() protoreflect.Message + func (x *SendVerificationCodeResponse) Reset() + func (x *SendVerificationCodeResponse) String() string + type SendVerificationCodeResponseValidationError struct + func (e SendVerificationCodeResponseValidationError) Cause() error + func (e SendVerificationCodeResponseValidationError) Error() string + func (e SendVerificationCodeResponseValidationError) ErrorName() string + func (e SendVerificationCodeResponseValidationError) Field() string + func (e SendVerificationCodeResponseValidationError) Key() bool + func (e SendVerificationCodeResponseValidationError) Reason() string + type SendVerificationCodeResponse_Result int32 + const SendVerificationCodeResponse_INVALID_PHONE_NUMBER + const SendVerificationCodeResponse_NOT_INVITED + const SendVerificationCodeResponse_OK + const SendVerificationCodeResponse_RATE_LIMITED + const SendVerificationCodeResponse_UNSUPPORTED_PHONE_TYPE + func (SendVerificationCodeResponse_Result) Descriptor() protoreflect.EnumDescriptor + func (SendVerificationCodeResponse_Result) EnumDescriptor() ([]byte, []int) + func (SendVerificationCodeResponse_Result) Type() protoreflect.EnumType + func (x SendVerificationCodeResponse_Result) Enum() *SendVerificationCodeResponse_Result + func (x SendVerificationCodeResponse_Result) Number() protoreflect.EnumNumber + func (x SendVerificationCodeResponse_Result) String() string + type UnimplementedPhoneVerificationServer struct + func (UnimplementedPhoneVerificationServer) CheckVerificationCode(context.Context, *CheckVerificationCodeRequest) (*CheckVerificationCodeResponse, error) + func (UnimplementedPhoneVerificationServer) GetAssociatedPhoneNumber(context.Context, *GetAssociatedPhoneNumberRequest) (*GetAssociatedPhoneNumberResponse, error) + func (UnimplementedPhoneVerificationServer) SendVerificationCode(context.Context, *SendVerificationCodeRequest) (*SendVerificationCodeResponse, error) + type UnsafePhoneVerificationServer interface + type VerificationCode struct + Value string + func (*VerificationCode) Descriptor() ([]byte, []int) + func (*VerificationCode) ProtoMessage() + func (m *VerificationCode) Validate() error + func (x *VerificationCode) GetValue() string + func (x *VerificationCode) ProtoReflect() protoreflect.Message + func (x *VerificationCode) Reset() + func (x *VerificationCode) String() string + type VerificationCodeValidationError struct + func (e VerificationCodeValidationError) Cause() error + func (e VerificationCodeValidationError) Error() string + func (e VerificationCodeValidationError) ErrorName() string + func (e VerificationCodeValidationError) Field() string + func (e VerificationCodeValidationError) Key() bool + func (e VerificationCodeValidationError) Reason() string