Documentation
¶
Index ¶
- Variables
- type SaveGameUserRequest
- func (x *SaveGameUserRequest) ClearUser()
- func (x *SaveGameUserRequest) GetUser() *UserData
- func (x *SaveGameUserRequest) HasUser() bool
- func (*SaveGameUserRequest) ProtoMessage()
- func (x *SaveGameUserRequest) ProtoReflect() protoreflect.Message
- func (x *SaveGameUserRequest) Reset()
- func (x *SaveGameUserRequest) SetUser(v *UserData)
- func (x *SaveGameUserRequest) String() string
- type SaveGameUserRequest_builder
- type SignInGameUserRequest
- func (x *SignInGameUserRequest) ClearIgnoreGamePaymentAccountsDuplicates()
- func (x *SignInGameUserRequest) GetIgnoreGamePaymentAccountsDuplicates() bool
- func (x *SignInGameUserRequest) GetUserToken() string
- func (x *SignInGameUserRequest) HasIgnoreGamePaymentAccountsDuplicates() bool
- func (*SignInGameUserRequest) ProtoMessage()
- func (x *SignInGameUserRequest) ProtoReflect() protoreflect.Message
- func (x *SignInGameUserRequest) Reset()
- func (x *SignInGameUserRequest) SetIgnoreGamePaymentAccountsDuplicates(v bool)
- func (x *SignInGameUserRequest) SetUserToken(v string)
- func (x *SignInGameUserRequest) String() string
- type SignInGameUserRequest_builder
- type SignInGameUserResponse
- func (x *SignInGameUserResponse) ClearUser()
- func (x *SignInGameUserResponse) GetAccessToken() string
- func (x *SignInGameUserResponse) GetId() int32
- func (x *SignInGameUserResponse) GetUser() *UserData
- func (x *SignInGameUserResponse) HasUser() bool
- func (*SignInGameUserResponse) ProtoMessage()
- func (x *SignInGameUserResponse) ProtoReflect() protoreflect.Message
- func (x *SignInGameUserResponse) Reset()
- func (x *SignInGameUserResponse) SetAccessToken(v string)
- func (x *SignInGameUserResponse) SetId(v int32)
- func (x *SignInGameUserResponse) SetUser(v *UserData)
- func (x *SignInGameUserResponse) String() string
- type SignInGameUserResponse_builder
- type SignUpGameUserRequest
- func (x *SignUpGameUserRequest) ClearUser()
- func (x *SignUpGameUserRequest) GetUser() *UserData
- func (x *SignUpGameUserRequest) HasUser() bool
- func (*SignUpGameUserRequest) ProtoMessage()
- func (x *SignUpGameUserRequest) ProtoReflect() protoreflect.Message
- func (x *SignUpGameUserRequest) Reset()
- func (x *SignUpGameUserRequest) SetUser(v *UserData)
- func (x *SignUpGameUserRequest) String() string
- type SignUpGameUserRequest_builder
- type SignUpGameUserResponse
- 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) SetMismatchedUserFields(v map[string]string)
- func (x *SignUpGameUserResponse) SetUserToken(v string)
- func (x *SignUpGameUserResponse) String() string
- type SignUpGameUserResponse_builder
- type UserData
- func (x *UserData) ClearDob()
- 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 (x *UserData) HasDob() bool
- func (*UserData) ProtoMessage()
- func (x *UserData) ProtoReflect() protoreflect.Message
- func (x *UserData) Reset()
- func (x *UserData) SetDob(v *timestamppb.Timestamp)
- func (x *UserData) SetEmail(v string)
- func (x *UserData) SetFirstName(v string)
- func (x *UserData) SetLastName(v string)
- func (x *UserData) SetPhone(v string)
- func (x *UserData) String() string
- type UserData_builder
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) ClearUser ¶
func (x *SaveGameUserRequest) ClearUser()
func (*SaveGameUserRequest) GetUser ¶
func (x *SaveGameUserRequest) GetUser() *UserData
func (*SaveGameUserRequest) HasUser ¶
func (x *SaveGameUserRequest) HasUser() bool
func (*SaveGameUserRequest) ProtoMessage ¶
func (*SaveGameUserRequest) ProtoMessage()
func (*SaveGameUserRequest) ProtoReflect ¶
func (x *SaveGameUserRequest) ProtoReflect() protoreflect.Message
func (*SaveGameUserRequest) Reset ¶
func (x *SaveGameUserRequest) Reset()
func (*SaveGameUserRequest) SetUser ¶
func (x *SaveGameUserRequest) SetUser(v *UserData)
func (*SaveGameUserRequest) String ¶
func (x *SaveGameUserRequest) String() string
type SaveGameUserRequest_builder ¶
type SaveGameUserRequest_builder struct {
// User data to save for anon profile
User *UserData
// contains filtered or unexported fields
}
func (SaveGameUserRequest_builder) Build ¶
func (b0 SaveGameUserRequest_builder) Build() *SaveGameUserRequest
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) ClearIgnoreGamePaymentAccountsDuplicates ¶
func (x *SignInGameUserRequest) ClearIgnoreGamePaymentAccountsDuplicates()
func (*SignInGameUserRequest) GetIgnoreGamePaymentAccountsDuplicates ¶
func (x *SignInGameUserRequest) GetIgnoreGamePaymentAccountsDuplicates() bool
func (*SignInGameUserRequest) GetUserToken ¶
func (x *SignInGameUserRequest) GetUserToken() string
func (*SignInGameUserRequest) HasIgnoreGamePaymentAccountsDuplicates ¶
func (x *SignInGameUserRequest) HasIgnoreGamePaymentAccountsDuplicates() bool
func (*SignInGameUserRequest) ProtoMessage ¶
func (*SignInGameUserRequest) ProtoMessage()
func (*SignInGameUserRequest) ProtoReflect ¶
func (x *SignInGameUserRequest) ProtoReflect() protoreflect.Message
func (*SignInGameUserRequest) Reset ¶
func (x *SignInGameUserRequest) Reset()
func (*SignInGameUserRequest) SetIgnoreGamePaymentAccountsDuplicates ¶
func (x *SignInGameUserRequest) SetIgnoreGamePaymentAccountsDuplicates(v bool)
func (*SignInGameUserRequest) SetUserToken ¶
func (x *SignInGameUserRequest) SetUserToken(v string)
func (*SignInGameUserRequest) String ¶
func (x *SignInGameUserRequest) String() string
type SignInGameUserRequest_builder ¶
type SignInGameUserRequest_builder struct {
// Special temporary user token given on game auth stage
UserToken string
// Flag that forces usege of existing wallet account and
// ignores previously created anonymous account
IgnoreGamePaymentAccountsDuplicates *bool
// contains filtered or unexported fields
}
func (SignInGameUserRequest_builder) Build ¶
func (b0 SignInGameUserRequest_builder) Build() *SignInGameUserRequest
type SignInGameUserResponse ¶
type SignInGameUserResponse struct {
// Access token, which has to stored on your side to make ability
// to 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) ClearUser ¶
func (x *SignInGameUserResponse) ClearUser()
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) HasUser ¶
func (x *SignInGameUserResponse) HasUser() bool
func (*SignInGameUserResponse) ProtoMessage ¶
func (*SignInGameUserResponse) ProtoMessage()
func (*SignInGameUserResponse) ProtoReflect ¶
func (x *SignInGameUserResponse) ProtoReflect() protoreflect.Message
func (*SignInGameUserResponse) Reset ¶
func (x *SignInGameUserResponse) Reset()
func (*SignInGameUserResponse) SetAccessToken ¶
func (x *SignInGameUserResponse) SetAccessToken(v string)
func (*SignInGameUserResponse) SetId ¶
func (x *SignInGameUserResponse) SetId(v int32)
func (*SignInGameUserResponse) SetUser ¶
func (x *SignInGameUserResponse) SetUser(v *UserData)
func (*SignInGameUserResponse) String ¶
func (x *SignInGameUserResponse) String() string
type SignInGameUserResponse_builder ¶
type SignInGameUserResponse_builder struct {
// Access token, which has to stored on your side to make ability
// to do requests on behalf of user
AccessToken string
// User id
Id int32
// User data, see UserData definition
User *UserData
// contains filtered or unexported fields
}
func (SignInGameUserResponse_builder) Build ¶
func (b0 SignInGameUserResponse_builder) Build() *SignInGameUserResponse
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) ClearUser ¶
func (x *SignUpGameUserRequest) ClearUser()
func (*SignUpGameUserRequest) GetUser ¶
func (x *SignUpGameUserRequest) GetUser() *UserData
func (*SignUpGameUserRequest) HasUser ¶
func (x *SignUpGameUserRequest) HasUser() bool
func (*SignUpGameUserRequest) ProtoMessage ¶
func (*SignUpGameUserRequest) ProtoMessage()
func (*SignUpGameUserRequest) ProtoReflect ¶
func (x *SignUpGameUserRequest) ProtoReflect() protoreflect.Message
func (*SignUpGameUserRequest) Reset ¶
func (x *SignUpGameUserRequest) Reset()
func (*SignUpGameUserRequest) SetUser ¶
func (x *SignUpGameUserRequest) SetUser(v *UserData)
func (*SignUpGameUserRequest) String ¶
func (x *SignUpGameUserRequest) String() string
type SignUpGameUserRequest_builder ¶
type SignUpGameUserRequest_builder struct {
// User data to match or create user, see UserData description
User *UserData
// contains filtered or unexported fields
}
func (SignUpGameUserRequest_builder) Build ¶
func (b0 SignUpGameUserRequest_builder) Build() *SignUpGameUserRequest
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 `` /* 197-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) 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) SetMismatchedUserFields ¶
func (x *SignUpGameUserResponse) SetMismatchedUserFields(v map[string]string)
func (*SignUpGameUserResponse) SetUserToken ¶
func (x *SignUpGameUserResponse) SetUserToken(v string)
func (*SignUpGameUserResponse) String ¶
func (x *SignUpGameUserResponse) String() string
type SignUpGameUserResponse_builder ¶
type SignUpGameUserResponse_builder struct {
// Temporary user token for obtaining real wallet acces_token
UserToken string
// Mismatched user data
MismatchedUserFields map[string]string
// contains filtered or unexported fields
}
func (SignUpGameUserResponse_builder) Build ¶
func (b0 SignUpGameUserResponse_builder) Build() *SignUpGameUserResponse
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
func (*UserData) SetDob ¶
func (x *UserData) SetDob(v *timestamppb.Timestamp)
type UserData_builder ¶
type UserData_builder struct {
// Phone number of the user
Phone string
// Email of the user
Email string
// First name of the user
FirstName string
// Last name of the user
LastName string
// Date of birth of ther user
Dob *timestamppb.Timestamp
// contains filtered or unexported fields
}
func (UserData_builder) Build ¶
func (b0 UserData_builder) Build() *UserData
Source Files
¶
- user.pb.go
Click to show internal directories.
Click to hide internal directories.