Versions in this module Expand all Collapse all v1 v1.0.0 Nov 8, 2023 Changes in this version + var File_user_v1_identity_service_proto protoreflect.FileDescriptor + var GetUserResponse_Result_name = map[int32]string + var GetUserResponse_Result_value = map[string]int32 + var Identity_ServiceDesc = grpc.ServiceDesc + var LinkAccountResponse_Result_name = map[int32]string + var LinkAccountResponse_Result_value = map[string]int32 + var UnlinkAccountResponse_Result_name = map[int32]string + var UnlinkAccountResponse_Result_value = map[string]int32 + func RegisterIdentityServer(s grpc.ServiceRegistrar, srv IdentityServer) + type GetUserRequest struct + IdentifyingFeature isGetUserRequest_IdentifyingFeature + OwnerAccountId *v1.SolanaAccountId + Signature *v1.Signature + func (*GetUserRequest) Descriptor() ([]byte, []int) + func (*GetUserRequest) ProtoMessage() + func (m *GetUserRequest) GetIdentifyingFeature() isGetUserRequest_IdentifyingFeature + func (m *GetUserRequest) Validate() error + func (x *GetUserRequest) GetOwnerAccountId() *v1.SolanaAccountId + func (x *GetUserRequest) GetPhoneNumber() *v1.PhoneNumber + func (x *GetUserRequest) GetSignature() *v1.Signature + func (x *GetUserRequest) ProtoReflect() protoreflect.Message + func (x *GetUserRequest) Reset() + func (x *GetUserRequest) String() string + type GetUserRequestValidationError struct + func (e GetUserRequestValidationError) Cause() error + func (e GetUserRequestValidationError) Error() string + func (e GetUserRequestValidationError) ErrorName() string + func (e GetUserRequestValidationError) Field() string + func (e GetUserRequestValidationError) Key() bool + func (e GetUserRequestValidationError) Reason() string + type GetUserRequest_PhoneNumber struct + PhoneNumber *v1.PhoneNumber + type GetUserResponse struct + DataContainerId *v1.DataContainerId + EligibleAirdrops []v2.AirdropType + EnableInternalFlags bool + Metadata isGetUserResponse_Metadata + Result GetUserResponse_Result + User *User + func (*GetUserResponse) Descriptor() ([]byte, []int) + func (*GetUserResponse) ProtoMessage() + func (m *GetUserResponse) GetMetadata() isGetUserResponse_Metadata + func (m *GetUserResponse) Validate() error + func (x *GetUserResponse) GetDataContainerId() *v1.DataContainerId + func (x *GetUserResponse) GetEligibleAirdrops() []v2.AirdropType + func (x *GetUserResponse) GetEnableInternalFlags() bool + func (x *GetUserResponse) GetPhone() *PhoneMetadata + func (x *GetUserResponse) GetResult() GetUserResponse_Result + func (x *GetUserResponse) GetUser() *User + func (x *GetUserResponse) ProtoReflect() protoreflect.Message + func (x *GetUserResponse) Reset() + func (x *GetUserResponse) String() string + type GetUserResponseValidationError struct + func (e GetUserResponseValidationError) Cause() error + func (e GetUserResponseValidationError) Error() string + func (e GetUserResponseValidationError) ErrorName() string + func (e GetUserResponseValidationError) Field() string + func (e GetUserResponseValidationError) Key() bool + func (e GetUserResponseValidationError) Reason() string + type GetUserResponse_Phone struct + Phone *PhoneMetadata + type GetUserResponse_Result int32 + const GetUserResponse_NOT_FOUND + const GetUserResponse_NOT_INVITED + const GetUserResponse_OK + const GetUserResponse_UNLOCKED_TIMELOCK_ACCOUNT + func (GetUserResponse_Result) Descriptor() protoreflect.EnumDescriptor + func (GetUserResponse_Result) EnumDescriptor() ([]byte, []int) + func (GetUserResponse_Result) Type() protoreflect.EnumType + func (x GetUserResponse_Result) Enum() *GetUserResponse_Result + func (x GetUserResponse_Result) Number() protoreflect.EnumNumber + func (x GetUserResponse_Result) String() string + type IdentityClient interface + GetUser func(ctx context.Context, in *GetUserRequest, opts ...grpc.CallOption) (*GetUserResponse, error) + LinkAccount func(ctx context.Context, in *LinkAccountRequest, opts ...grpc.CallOption) (*LinkAccountResponse, error) + UnlinkAccount func(ctx context.Context, in *UnlinkAccountRequest, opts ...grpc.CallOption) (*UnlinkAccountResponse, error) + func NewIdentityClient(cc grpc.ClientConnInterface) IdentityClient + type IdentityServer interface + GetUser func(context.Context, *GetUserRequest) (*GetUserResponse, error) + LinkAccount func(context.Context, *LinkAccountRequest) (*LinkAccountResponse, error) + UnlinkAccount func(context.Context, *UnlinkAccountRequest) (*UnlinkAccountResponse, error) + type LinkAccountRequest struct + OwnerAccountId *v1.SolanaAccountId + Signature *v1.Signature + Token isLinkAccountRequest_Token + func (*LinkAccountRequest) Descriptor() ([]byte, []int) + func (*LinkAccountRequest) ProtoMessage() + func (m *LinkAccountRequest) GetToken() isLinkAccountRequest_Token + func (m *LinkAccountRequest) Validate() error + func (x *LinkAccountRequest) GetOwnerAccountId() *v1.SolanaAccountId + func (x *LinkAccountRequest) GetPhone() *v11.PhoneLinkingToken + func (x *LinkAccountRequest) GetSignature() *v1.Signature + func (x *LinkAccountRequest) ProtoReflect() protoreflect.Message + func (x *LinkAccountRequest) Reset() + func (x *LinkAccountRequest) String() string + type LinkAccountRequestValidationError struct + func (e LinkAccountRequestValidationError) Cause() error + func (e LinkAccountRequestValidationError) Error() string + func (e LinkAccountRequestValidationError) ErrorName() string + func (e LinkAccountRequestValidationError) Field() string + func (e LinkAccountRequestValidationError) Key() bool + func (e LinkAccountRequestValidationError) Reason() string + type LinkAccountRequest_Phone struct + Phone *v11.PhoneLinkingToken + type LinkAccountResponse struct + DataContainerId *v1.DataContainerId + Metadata isLinkAccountResponse_Metadata + Result LinkAccountResponse_Result + User *User + func (*LinkAccountResponse) Descriptor() ([]byte, []int) + func (*LinkAccountResponse) ProtoMessage() + func (m *LinkAccountResponse) GetMetadata() isLinkAccountResponse_Metadata + func (m *LinkAccountResponse) Validate() error + func (x *LinkAccountResponse) GetDataContainerId() *v1.DataContainerId + func (x *LinkAccountResponse) GetPhone() *PhoneMetadata + func (x *LinkAccountResponse) GetResult() LinkAccountResponse_Result + func (x *LinkAccountResponse) GetUser() *User + func (x *LinkAccountResponse) ProtoReflect() protoreflect.Message + func (x *LinkAccountResponse) Reset() + func (x *LinkAccountResponse) String() string + type LinkAccountResponseValidationError struct + func (e LinkAccountResponseValidationError) Cause() error + func (e LinkAccountResponseValidationError) Error() string + func (e LinkAccountResponseValidationError) ErrorName() string + func (e LinkAccountResponseValidationError) Field() string + func (e LinkAccountResponseValidationError) Key() bool + func (e LinkAccountResponseValidationError) Reason() string + type LinkAccountResponse_Phone struct + Phone *PhoneMetadata + type LinkAccountResponse_Result int32 + const LinkAccountResponse_INVALID_TOKEN + const LinkAccountResponse_OK + const LinkAccountResponse_RATE_LIMITED + func (LinkAccountResponse_Result) Descriptor() protoreflect.EnumDescriptor + func (LinkAccountResponse_Result) EnumDescriptor() ([]byte, []int) + func (LinkAccountResponse_Result) Type() protoreflect.EnumType + func (x LinkAccountResponse_Result) Enum() *LinkAccountResponse_Result + func (x LinkAccountResponse_Result) Number() protoreflect.EnumNumber + func (x LinkAccountResponse_Result) String() string + type PhoneMetadata struct + IsLinked bool + func (*PhoneMetadata) Descriptor() ([]byte, []int) + func (*PhoneMetadata) ProtoMessage() + func (m *PhoneMetadata) Validate() error + func (x *PhoneMetadata) GetIsLinked() bool + func (x *PhoneMetadata) ProtoReflect() protoreflect.Message + func (x *PhoneMetadata) Reset() + func (x *PhoneMetadata) String() string + type PhoneMetadataValidationError struct + func (e PhoneMetadataValidationError) Cause() error + func (e PhoneMetadataValidationError) Error() string + func (e PhoneMetadataValidationError) ErrorName() string + func (e PhoneMetadataValidationError) Field() string + func (e PhoneMetadataValidationError) Key() bool + func (e PhoneMetadataValidationError) Reason() string + type UnimplementedIdentityServer struct + func (UnimplementedIdentityServer) GetUser(context.Context, *GetUserRequest) (*GetUserResponse, error) + func (UnimplementedIdentityServer) LinkAccount(context.Context, *LinkAccountRequest) (*LinkAccountResponse, error) + func (UnimplementedIdentityServer) UnlinkAccount(context.Context, *UnlinkAccountRequest) (*UnlinkAccountResponse, error) + type UnlinkAccountRequest struct + IdentifyingFeature isUnlinkAccountRequest_IdentifyingFeature + OwnerAccountId *v1.SolanaAccountId + Signature *v1.Signature + func (*UnlinkAccountRequest) Descriptor() ([]byte, []int) + func (*UnlinkAccountRequest) ProtoMessage() + func (m *UnlinkAccountRequest) GetIdentifyingFeature() isUnlinkAccountRequest_IdentifyingFeature + func (m *UnlinkAccountRequest) Validate() error + func (x *UnlinkAccountRequest) GetOwnerAccountId() *v1.SolanaAccountId + func (x *UnlinkAccountRequest) GetPhoneNumber() *v1.PhoneNumber + func (x *UnlinkAccountRequest) GetSignature() *v1.Signature + func (x *UnlinkAccountRequest) ProtoReflect() protoreflect.Message + func (x *UnlinkAccountRequest) Reset() + func (x *UnlinkAccountRequest) String() string + type UnlinkAccountRequestValidationError struct + func (e UnlinkAccountRequestValidationError) Cause() error + func (e UnlinkAccountRequestValidationError) Error() string + func (e UnlinkAccountRequestValidationError) ErrorName() string + func (e UnlinkAccountRequestValidationError) Field() string + func (e UnlinkAccountRequestValidationError) Key() bool + func (e UnlinkAccountRequestValidationError) Reason() string + type UnlinkAccountRequest_PhoneNumber struct + PhoneNumber *v1.PhoneNumber + type UnlinkAccountResponse struct + Result UnlinkAccountResponse_Result + func (*UnlinkAccountResponse) Descriptor() ([]byte, []int) + func (*UnlinkAccountResponse) ProtoMessage() + func (m *UnlinkAccountResponse) Validate() error + func (x *UnlinkAccountResponse) GetResult() UnlinkAccountResponse_Result + func (x *UnlinkAccountResponse) ProtoReflect() protoreflect.Message + func (x *UnlinkAccountResponse) Reset() + func (x *UnlinkAccountResponse) String() string + type UnlinkAccountResponseValidationError struct + func (e UnlinkAccountResponseValidationError) Cause() error + func (e UnlinkAccountResponseValidationError) Error() string + func (e UnlinkAccountResponseValidationError) ErrorName() string + func (e UnlinkAccountResponseValidationError) Field() string + func (e UnlinkAccountResponseValidationError) Key() bool + func (e UnlinkAccountResponseValidationError) Reason() string + type UnlinkAccountResponse_Result int32 + const UnlinkAccountResponse_NEVER_ASSOCIATED + const UnlinkAccountResponse_OK + func (UnlinkAccountResponse_Result) Descriptor() protoreflect.EnumDescriptor + func (UnlinkAccountResponse_Result) EnumDescriptor() ([]byte, []int) + func (UnlinkAccountResponse_Result) Type() protoreflect.EnumType + func (x UnlinkAccountResponse_Result) Enum() *UnlinkAccountResponse_Result + func (x UnlinkAccountResponse_Result) Number() protoreflect.EnumNumber + func (x UnlinkAccountResponse_Result) String() string + type UnsafeIdentityServer interface + type User struct + Id *v1.UserId + View *View + func (*User) Descriptor() ([]byte, []int) + func (*User) ProtoMessage() + func (m *User) Validate() error + func (x *User) GetId() *v1.UserId + func (x *User) GetView() *View + func (x *User) ProtoReflect() protoreflect.Message + func (x *User) Reset() + func (x *User) String() string + type UserValidationError struct + func (e UserValidationError) Cause() error + func (e UserValidationError) Error() string + func (e UserValidationError) ErrorName() string + func (e UserValidationError) Field() string + func (e UserValidationError) Key() bool + func (e UserValidationError) Reason() string + type View struct + PhoneNumber *v1.PhoneNumber + func (*View) Descriptor() ([]byte, []int) + func (*View) ProtoMessage() + func (m *View) Validate() error + func (x *View) GetPhoneNumber() *v1.PhoneNumber + func (x *View) ProtoReflect() protoreflect.Message + func (x *View) Reset() + func (x *View) String() string + type ViewValidationError struct + func (e ViewValidationError) Cause() error + func (e ViewValidationError) Error() string + func (e ViewValidationError) ErrorName() string + func (e ViewValidationError) Field() string + func (e ViewValidationError) Key() bool + func (e ViewValidationError) Reason() string