Documentation ¶
Index ¶
- Variables
- type SaveGameUserRequest
- func (*SaveGameUserRequest) Descriptor() ([]byte, []int)deprecated
- func (x *SaveGameUserRequest) GetUser() *UserData
- func (*SaveGameUserRequest) ProtoMessage()
- func (x *SaveGameUserRequest) ProtoReflect() protoreflect.Message
- func (x *SaveGameUserRequest) Reset()
- func (x *SaveGameUserRequest) String() string
- type SignInGameUserRequest
- func (*SignInGameUserRequest) Descriptor() ([]byte, []int)deprecated
- func (x *SignInGameUserRequest) GetIgnoreGamePaymentAccountsDuplicates() bool
- func (x *SignInGameUserRequest) GetUserToken() string
- func (*SignInGameUserRequest) ProtoMessage()
- func (x *SignInGameUserRequest) ProtoReflect() protoreflect.Message
- func (x *SignInGameUserRequest) Reset()
- func (x *SignInGameUserRequest) String() string
- type SignInGameUserResponse
- func (*SignInGameUserResponse) Descriptor() ([]byte, []int)deprecated
- func (x *SignInGameUserResponse) GetAccessToken() string
- func (x *SignInGameUserResponse) GetId() int32
- func (x *SignInGameUserResponse) GetUser() *UserData
- func (*SignInGameUserResponse) ProtoMessage()
- func (x *SignInGameUserResponse) ProtoReflect() protoreflect.Message
- func (x *SignInGameUserResponse) Reset()
- func (x *SignInGameUserResponse) String() string
- type SignUpGameUserRequest
- func (*SignUpGameUserRequest) Descriptor() ([]byte, []int)deprecated
- func (x *SignUpGameUserRequest) GetUser() *UserData
- func (*SignUpGameUserRequest) ProtoMessage()
- func (x *SignUpGameUserRequest) ProtoReflect() protoreflect.Message
- func (x *SignUpGameUserRequest) Reset()
- func (x *SignUpGameUserRequest) String() string
- type SignUpGameUserResponse
- func (*SignUpGameUserResponse) Descriptor() ([]byte, []int)deprecated
- func (x *SignUpGameUserResponse) GetMismatchedUserFields() map[string]string
- func (x *SignUpGameUserResponse) GetUserToken() string
- func (*SignUpGameUserResponse) ProtoMessage()
- func (x *SignUpGameUserResponse) ProtoReflect() protoreflect.Message
- func (x *SignUpGameUserResponse) Reset()
- func (x *SignUpGameUserResponse) String() string
- type UserData
- func (*UserData) Descriptor() ([]byte, []int)deprecated
- func (x *UserData) GetDob() *timestamppb.Timestamp
- func (x *UserData) GetEmail() string
- func (x *UserData) GetFirstName() string
- func (x *UserData) GetLastName() string
- func (x *UserData) GetPhone() string
- func (*UserData) ProtoMessage()
- func (x *UserData) ProtoReflect() protoreflect.Message
- func (x *UserData) Reset()
- func (x *UserData) String() string
Constants ¶
This section is empty.
Variables ¶
View Source
var File_linq_auth_user_v1_user_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type SaveGameUserRequest ¶
type SaveGameUserRequest struct { // User data to save for anon profile User *UserData `protobuf:"bytes,1,opt,name=user,proto3" json:"user,omitempty"` // contains filtered or unexported fields }
func (*SaveGameUserRequest) Descriptor
deprecated
func (*SaveGameUserRequest) Descriptor() ([]byte, []int)
Deprecated: Use SaveGameUserRequest.ProtoReflect.Descriptor instead.
func (*SaveGameUserRequest) GetUser ¶
func (x *SaveGameUserRequest) GetUser() *UserData
func (*SaveGameUserRequest) ProtoMessage ¶
func (*SaveGameUserRequest) ProtoMessage()
func (*SaveGameUserRequest) ProtoReflect ¶
func (x *SaveGameUserRequest) ProtoReflect() protoreflect.Message
func (*SaveGameUserRequest) Reset ¶
func (x *SaveGameUserRequest) Reset()
func (*SaveGameUserRequest) String ¶
func (x *SaveGameUserRequest) String() string
type SignInGameUserRequest ¶
type SignInGameUserRequest struct { // Special temporary user token given on game auth stage UserToken string `protobuf:"bytes,1,opt,name=user_token,json=userToken,proto3" json:"user_token,omitempty"` // Flag that forces usege of existing wallet account and ignores previously created anonymous account IgnoreGamePaymentAccountsDuplicates *bool `` /* 179-byte string literal not displayed */ // contains filtered or unexported fields }
Using temporary user token creates request for login in wallet services
func (*SignInGameUserRequest) Descriptor
deprecated
func (*SignInGameUserRequest) Descriptor() ([]byte, []int)
Deprecated: Use SignInGameUserRequest.ProtoReflect.Descriptor instead.
func (*SignInGameUserRequest) GetIgnoreGamePaymentAccountsDuplicates ¶
func (x *SignInGameUserRequest) GetIgnoreGamePaymentAccountsDuplicates() bool
func (*SignInGameUserRequest) GetUserToken ¶
func (x *SignInGameUserRequest) GetUserToken() string
func (*SignInGameUserRequest) ProtoMessage ¶
func (*SignInGameUserRequest) ProtoMessage()
func (*SignInGameUserRequest) ProtoReflect ¶
func (x *SignInGameUserRequest) ProtoReflect() protoreflect.Message
func (*SignInGameUserRequest) Reset ¶
func (x *SignInGameUserRequest) Reset()
func (*SignInGameUserRequest) String ¶
func (x *SignInGameUserRequest) String() string
type SignInGameUserResponse ¶
type SignInGameUserResponse struct { // Access token, which has to stored on your side to make ability do requests on behalf of user AccessToken string `protobuf:"bytes,1,opt,name=access_token,json=accessToken,proto3" json:"access_token,omitempty"` // User id Id int32 `protobuf:"varint,2,opt,name=id,proto3" json:"id,omitempty"` // User data, see UserData definition User *UserData `protobuf:"bytes,3,opt,name=user,proto3" json:"user,omitempty"` // contains filtered or unexported fields }
Returns valid access token and actual user data from the wallet
func (*SignInGameUserResponse) Descriptor
deprecated
func (*SignInGameUserResponse) Descriptor() ([]byte, []int)
Deprecated: Use SignInGameUserResponse.ProtoReflect.Descriptor instead.
func (*SignInGameUserResponse) GetAccessToken ¶
func (x *SignInGameUserResponse) GetAccessToken() string
func (*SignInGameUserResponse) GetId ¶
func (x *SignInGameUserResponse) GetId() int32
func (*SignInGameUserResponse) GetUser ¶
func (x *SignInGameUserResponse) GetUser() *UserData
func (*SignInGameUserResponse) ProtoMessage ¶
func (*SignInGameUserResponse) ProtoMessage()
func (*SignInGameUserResponse) ProtoReflect ¶
func (x *SignInGameUserResponse) ProtoReflect() protoreflect.Message
func (*SignInGameUserResponse) Reset ¶
func (x *SignInGameUserResponse) Reset()
func (*SignInGameUserResponse) String ¶
func (x *SignInGameUserResponse) String() string
type SignUpGameUserRequest ¶
type SignUpGameUserRequest struct { // User data to match or create user, see UserData description User *UserData `protobuf:"bytes,1,opt,name=user,proto3,oneof" json:"user,omitempty"` // contains filtered or unexported fields }
func (*SignUpGameUserRequest) Descriptor
deprecated
func (*SignUpGameUserRequest) Descriptor() ([]byte, []int)
Deprecated: Use SignUpGameUserRequest.ProtoReflect.Descriptor instead.
func (*SignUpGameUserRequest) GetUser ¶
func (x *SignUpGameUserRequest) GetUser() *UserData
func (*SignUpGameUserRequest) ProtoMessage ¶
func (*SignUpGameUserRequest) ProtoMessage()
func (*SignUpGameUserRequest) ProtoReflect ¶
func (x *SignUpGameUserRequest) ProtoReflect() protoreflect.Message
func (*SignUpGameUserRequest) Reset ¶
func (x *SignUpGameUserRequest) Reset()
func (*SignUpGameUserRequest) String ¶
func (x *SignUpGameUserRequest) String() string
type SignUpGameUserResponse ¶
type SignUpGameUserResponse struct { // Temporary user token for obtaining real wallet acces_token UserToken string `protobuf:"bytes,1,opt,name=user_token,json=userToken,proto3" json:"user_token,omitempty"` // Mismatched user data MismatchedUserFields map[string]string `` /* 211-byte string literal not displayed */ // contains filtered or unexported fields }
Returns special user token with which it is possible to ask wallet services to register user as wallet linked user.
func (*SignUpGameUserResponse) Descriptor
deprecated
func (*SignUpGameUserResponse) Descriptor() ([]byte, []int)
Deprecated: Use SignUpGameUserResponse.ProtoReflect.Descriptor instead.
func (*SignUpGameUserResponse) GetMismatchedUserFields ¶
func (x *SignUpGameUserResponse) GetMismatchedUserFields() map[string]string
func (*SignUpGameUserResponse) GetUserToken ¶
func (x *SignUpGameUserResponse) GetUserToken() string
func (*SignUpGameUserResponse) ProtoMessage ¶
func (*SignUpGameUserResponse) ProtoMessage()
func (*SignUpGameUserResponse) ProtoReflect ¶
func (x *SignUpGameUserResponse) ProtoReflect() protoreflect.Message
func (*SignUpGameUserResponse) Reset ¶
func (x *SignUpGameUserResponse) Reset()
func (*SignUpGameUserResponse) String ¶
func (x *SignUpGameUserResponse) String() string
type UserData ¶
type UserData struct { // Phone number of the user Phone string `protobuf:"bytes,1,opt,name=phone,proto3" json:"phone,omitempty"` // Email of the user Email string `protobuf:"bytes,2,opt,name=email,proto3" json:"email,omitempty"` // First name of the user FirstName string `protobuf:"bytes,3,opt,name=first_name,json=firstName,proto3" json:"first_name,omitempty"` // Last name of the user LastName string `protobuf:"bytes,4,opt,name=last_name,json=lastName,proto3" json:"last_name,omitempty"` // Date of birth of ther user Dob *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=dob,proto3" json:"dob,omitempty"` // contains filtered or unexported fields }
User data to create user
func (*UserData) GetDob ¶
func (x *UserData) GetDob() *timestamppb.Timestamp
func (*UserData) ProtoReflect ¶
func (x *UserData) ProtoReflect() protoreflect.Message
Click to show internal directories.
Click to hide internal directories.