gamev1

package
v1.33.0-20240417131334... Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: unknown License: MIT Imports: 4 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_linq_auth_game_v1_game_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type SignInGameRequest

type SignInGameRequest struct {

	// Dedicated special token for linking game services and wallet services.
	// It is needed for establishing the initial handshake between services and
	// before user obtained their's own access token.
	GameToken string `protobuf:"bytes,1,opt,name=game_token,json=gameToken,proto3" json:"game_token,omitempty"`
	// Internal game user identifier used for linking it with profile on wallet side.
	// Prefered to use value that can not be changed in the future.
	//
	// Good example: incremental ID, UUID value, eny kind of unique value
	// Bad example: username, email or any kind of information which users can update by themself.
	GameUserId string `protobuf:"bytes,2,opt,name=game_user_id,json=gameUserId,proto3" json:"game_user_id,omitempty"`
	// contains filtered or unexported fields
}

Request data for registering in the services as a game user

func (*SignInGameRequest) Descriptor deprecated

func (*SignInGameRequest) Descriptor() ([]byte, []int)

Deprecated: Use SignInGameRequest.ProtoReflect.Descriptor instead.

func (*SignInGameRequest) GetGameToken

func (x *SignInGameRequest) GetGameToken() string

func (*SignInGameRequest) GetGameUserId

func (x *SignInGameRequest) GetGameUserId() string

func (*SignInGameRequest) ProtoMessage

func (*SignInGameRequest) ProtoMessage()

func (*SignInGameRequest) ProtoReflect

func (x *SignInGameRequest) ProtoReflect() protoreflect.Message

func (*SignInGameRequest) Reset

func (x *SignInGameRequest) Reset()

func (*SignInGameRequest) String

func (x *SignInGameRequest) String() string

type SignInGameResponse

type SignInGameResponse struct {

	// Access token for getting access to protected API endpoints, which requires user authorisation.
	AccessToken string `protobuf:"bytes,1,opt,name=access_token,json=accessToken,proto3" json:"access_token,omitempty"`
	// contains filtered or unexported fields
}

Response with generated access token for a given user.

func (*SignInGameResponse) Descriptor deprecated

func (*SignInGameResponse) Descriptor() ([]byte, []int)

Deprecated: Use SignInGameResponse.ProtoReflect.Descriptor instead.

func (*SignInGameResponse) GetAccessToken

func (x *SignInGameResponse) GetAccessToken() string

func (*SignInGameResponse) ProtoMessage

func (*SignInGameResponse) ProtoMessage()

func (*SignInGameResponse) ProtoReflect

func (x *SignInGameResponse) ProtoReflect() protoreflect.Message

func (*SignInGameResponse) Reset

func (x *SignInGameResponse) Reset()

func (*SignInGameResponse) String

func (x *SignInGameResponse) String() string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL