Documentation ¶
Index ¶
- Variables
- 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) GetUser() *User
- func (*SignInGameUserResponse) ProtoMessage()
- func (x *SignInGameUserResponse) ProtoReflect() protoreflect.Message
- func (x *SignInGameUserResponse) Reset()
- func (x *SignInGameUserResponse) String() string
- type SignUpGameUserResponse
- func (*SignUpGameUserResponse) Descriptor() ([]byte, []int)deprecated
- func (x *SignUpGameUserResponse) GetUserToken() string
- func (*SignUpGameUserResponse) ProtoMessage()
- func (x *SignUpGameUserResponse) ProtoReflect() protoreflect.Message
- func (x *SignUpGameUserResponse) Reset()
- func (x *SignUpGameUserResponse) String() string
- type User
- func (*User) Descriptor() ([]byte, []int)deprecated
- func (x *User) GetEmail() string
- func (x *User) GetFirstName() string
- func (x *User) GetIdentifier() int32
- func (x *User) GetLastName() string
- func (x *User) GetNickname() string
- func (x *User) GetPhone() string
- func (*User) ProtoMessage()
- func (x *User) ProtoReflect() protoreflect.Message
- func (x *User) Reset()
- func (x *User) 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 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 data, see User's definition User *User `protobuf:"bytes,2,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) GetUser ¶
func (x *SignInGameUserResponse) GetUser() *User
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 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"` // 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) 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 User ¶
type User struct { // User identifier in the wallet services Identifier int32 `protobuf:"varint,1,opt,name=identifier,proto3" json:"identifier,omitempty"` // First name of the user FirstName string `protobuf:"bytes,2,opt,name=first_name,json=firstName,proto3" json:"first_name,omitempty"` // Last name of the user LastName string `protobuf:"bytes,3,opt,name=last_name,json=lastName,proto3" json:"last_name,omitempty"` // Phone with which user is registered Phone string `protobuf:"bytes,4,opt,name=phone,proto3" json:"phone,omitempty"` // Email with which user is registered Email string `protobuf:"bytes,5,opt,name=email,proto3" json:"email,omitempty"` // Optional user's nickname, internally used in Wallet app, can be ignored Nickname *string `protobuf:"bytes,6,opt,name=nickname,proto3,oneof" json:"nickname,omitempty"` // contains filtered or unexported fields }
User data returned after sign in is completed
func (*User) ProtoReflect ¶
func (x *User) ProtoReflect() protoreflect.Message
Click to show internal directories.
Click to hide internal directories.