Documentation ¶
Index ¶
- Variables
- type ActionOnPirServerToken
- func (*ActionOnPirServerToken) Descriptor() ([]byte, []int)deprecated
- func (x *ActionOnPirServerToken) GetAction() enums.Token_Action
- func (x *ActionOnPirServerToken) GetToken() string
- func (*ActionOnPirServerToken) ProtoMessage()
- func (x *ActionOnPirServerToken) ProtoReflect() protoreflect.Message
- func (x *ActionOnPirServerToken) Reset()
- func (x *ActionOnPirServerToken) String() string
- type GenerateTokenForPartyRequest
- func (*GenerateTokenForPartyRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GenerateTokenForPartyRequest) GetPartyId() string
- func (x *GenerateTokenForPartyRequest) GetServiceId() uint64
- func (*GenerateTokenForPartyRequest) ProtoMessage()
- func (x *GenerateTokenForPartyRequest) ProtoReflect() protoreflect.Message
- func (x *GenerateTokenForPartyRequest) Reset()
- func (x *GenerateTokenForPartyRequest) String() string
- type GenerateTokenForPartyResponse
- func (*GenerateTokenForPartyResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GenerateTokenForPartyResponse) GetToken() string
- func (*GenerateTokenForPartyResponse) ProtoMessage()
- func (x *GenerateTokenForPartyResponse) ProtoReflect() protoreflect.Message
- func (x *GenerateTokenForPartyResponse) Reset()
- func (x *GenerateTokenForPartyResponse) String() string
- type GetPartyTokenRequest
- func (*GetPartyTokenRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetPartyTokenRequest) GetPaginator() *paginator.Paginator
- func (x *GetPartyTokenRequest) GetServiceId() uint64
- func (x *GetPartyTokenRequest) GetTokenType() uint32
- func (*GetPartyTokenRequest) ProtoMessage()
- func (x *GetPartyTokenRequest) ProtoReflect() protoreflect.Message
- func (x *GetPartyTokenRequest) Reset()
- func (x *GetPartyTokenRequest) String() string
- type GetPartyTokenResponse
- func (*GetPartyTokenResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetPartyTokenResponse) GetCount() uint64
- func (x *GetPartyTokenResponse) GetData() []*PirServerToken
- func (*GetPartyTokenResponse) ProtoMessage()
- func (x *GetPartyTokenResponse) ProtoReflect() protoreflect.Message
- func (x *GetPartyTokenResponse) Reset()
- func (x *GetPartyTokenResponse) String() string
- type PirServerToken
- func (*PirServerToken) Descriptor() ([]byte, []int)deprecated
- func (x *PirServerToken) GetCreatedTime() uint64
- func (x *PirServerToken) GetIssuerUserId() uint64
- func (x *PirServerToken) GetLastUsedTime() uint64
- func (x *PirServerToken) GetPartyId() string
- func (x *PirServerToken) GetServiceId() uint64
- func (x *PirServerToken) GetStatus() enums.Token_Status
- func (x *PirServerToken) GetToken() string
- func (*PirServerToken) ProtoMessage()
- func (x *PirServerToken) ProtoReflect() protoreflect.Message
- func (x *PirServerToken) Reset()
- func (x *PirServerToken) String() string
Constants ¶
This section is empty.
Variables ¶
View Source
var File_protobuf_mpc_virtual_service_platform_token_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type ActionOnPirServerToken ¶
type ActionOnPirServerToken struct { Token string `protobuf:"bytes,1,opt,name=token,proto3" json:"token,omitempty"` Action enums.Token_Action `protobuf:"varint,2,opt,name=action,proto3,enum=sudo.protobuf.enums.Token_Action" json:"action,omitempty"` // contains filtered or unexported fields }
func (*ActionOnPirServerToken) Descriptor
deprecated
func (*ActionOnPirServerToken) Descriptor() ([]byte, []int)
Deprecated: Use ActionOnPirServerToken.ProtoReflect.Descriptor instead.
func (*ActionOnPirServerToken) GetAction ¶
func (x *ActionOnPirServerToken) GetAction() enums.Token_Action
func (*ActionOnPirServerToken) GetToken ¶
func (x *ActionOnPirServerToken) GetToken() string
func (*ActionOnPirServerToken) ProtoMessage ¶
func (*ActionOnPirServerToken) ProtoMessage()
func (*ActionOnPirServerToken) ProtoReflect ¶
func (x *ActionOnPirServerToken) ProtoReflect() protoreflect.Message
func (*ActionOnPirServerToken) Reset ¶
func (x *ActionOnPirServerToken) Reset()
func (*ActionOnPirServerToken) String ¶
func (x *ActionOnPirServerToken) String() string
type GenerateTokenForPartyRequest ¶
type GenerateTokenForPartyRequest struct { PartyId string `protobuf:"bytes,1,opt,name=party_id,json=partyId,proto3" json:"party_id,omitempty"` ServiceId uint64 `protobuf:"varint,2,opt,name=service_id,json=serviceId,proto3" json:"service_id,omitempty"` // contains filtered or unexported fields }
func (*GenerateTokenForPartyRequest) Descriptor
deprecated
func (*GenerateTokenForPartyRequest) Descriptor() ([]byte, []int)
Deprecated: Use GenerateTokenForPartyRequest.ProtoReflect.Descriptor instead.
func (*GenerateTokenForPartyRequest) GetPartyId ¶
func (x *GenerateTokenForPartyRequest) GetPartyId() string
func (*GenerateTokenForPartyRequest) GetServiceId ¶
func (x *GenerateTokenForPartyRequest) GetServiceId() uint64
func (*GenerateTokenForPartyRequest) ProtoMessage ¶
func (*GenerateTokenForPartyRequest) ProtoMessage()
func (*GenerateTokenForPartyRequest) ProtoReflect ¶
func (x *GenerateTokenForPartyRequest) ProtoReflect() protoreflect.Message
func (*GenerateTokenForPartyRequest) Reset ¶
func (x *GenerateTokenForPartyRequest) Reset()
func (*GenerateTokenForPartyRequest) String ¶
func (x *GenerateTokenForPartyRequest) String() string
type GenerateTokenForPartyResponse ¶
type GenerateTokenForPartyResponse struct { Token string `protobuf:"bytes,1,opt,name=token,proto3" json:"token,omitempty"` // contains filtered or unexported fields }
func (*GenerateTokenForPartyResponse) Descriptor
deprecated
func (*GenerateTokenForPartyResponse) Descriptor() ([]byte, []int)
Deprecated: Use GenerateTokenForPartyResponse.ProtoReflect.Descriptor instead.
func (*GenerateTokenForPartyResponse) GetToken ¶
func (x *GenerateTokenForPartyResponse) GetToken() string
func (*GenerateTokenForPartyResponse) ProtoMessage ¶
func (*GenerateTokenForPartyResponse) ProtoMessage()
func (*GenerateTokenForPartyResponse) ProtoReflect ¶
func (x *GenerateTokenForPartyResponse) ProtoReflect() protoreflect.Message
func (*GenerateTokenForPartyResponse) Reset ¶
func (x *GenerateTokenForPartyResponse) Reset()
func (*GenerateTokenForPartyResponse) String ¶
func (x *GenerateTokenForPartyResponse) String() string
type GetPartyTokenRequest ¶
type GetPartyTokenRequest struct { Paginator *paginator.Paginator `protobuf:"bytes,1,opt,name=paginator,proto3" json:"paginator,omitempty"` TokenType uint32 `protobuf:"varint,2,opt,name=token_type,json=tokenType,proto3" json:"token_type,omitempty"` ServiceId uint64 `protobuf:"varint,3,opt,name=service_id,json=serviceId,proto3" json:"service_id,omitempty"` // contains filtered or unexported fields }
func (*GetPartyTokenRequest) Descriptor
deprecated
func (*GetPartyTokenRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetPartyTokenRequest.ProtoReflect.Descriptor instead.
func (*GetPartyTokenRequest) GetPaginator ¶
func (x *GetPartyTokenRequest) GetPaginator() *paginator.Paginator
func (*GetPartyTokenRequest) GetServiceId ¶
func (x *GetPartyTokenRequest) GetServiceId() uint64
func (*GetPartyTokenRequest) GetTokenType ¶
func (x *GetPartyTokenRequest) GetTokenType() uint32
func (*GetPartyTokenRequest) ProtoMessage ¶
func (*GetPartyTokenRequest) ProtoMessage()
func (*GetPartyTokenRequest) ProtoReflect ¶
func (x *GetPartyTokenRequest) ProtoReflect() protoreflect.Message
func (*GetPartyTokenRequest) Reset ¶
func (x *GetPartyTokenRequest) Reset()
func (*GetPartyTokenRequest) String ¶
func (x *GetPartyTokenRequest) String() string
type GetPartyTokenResponse ¶
type GetPartyTokenResponse struct { Data []*PirServerToken `protobuf:"bytes,1,rep,name=data,proto3" json:"data,omitempty"` Count uint64 `protobuf:"varint,2,opt,name=count,proto3" json:"count,omitempty"` // contains filtered or unexported fields }
func (*GetPartyTokenResponse) Descriptor
deprecated
func (*GetPartyTokenResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetPartyTokenResponse.ProtoReflect.Descriptor instead.
func (*GetPartyTokenResponse) GetCount ¶
func (x *GetPartyTokenResponse) GetCount() uint64
func (*GetPartyTokenResponse) GetData ¶
func (x *GetPartyTokenResponse) GetData() []*PirServerToken
func (*GetPartyTokenResponse) ProtoMessage ¶
func (*GetPartyTokenResponse) ProtoMessage()
func (*GetPartyTokenResponse) ProtoReflect ¶
func (x *GetPartyTokenResponse) ProtoReflect() protoreflect.Message
func (*GetPartyTokenResponse) Reset ¶
func (x *GetPartyTokenResponse) Reset()
func (*GetPartyTokenResponse) String ¶
func (x *GetPartyTokenResponse) String() string
type PirServerToken ¶
type PirServerToken struct { Token string `protobuf:"bytes,1,opt,name=token,proto3" json:"token,omitempty"` PartyId string `protobuf:"bytes,2,opt,name=party_id,json=partyId,proto3" json:"party_id,omitempty"` IssuerUserId uint64 `protobuf:"varint,3,opt,name=issuer_user_id,json=issuerUserId,proto3" json:"issuer_user_id,omitempty"` ServiceId uint64 `protobuf:"varint,4,opt,name=service_id,json=serviceId,proto3" json:"service_id,omitempty"` Status enums.Token_Status `protobuf:"varint,5,opt,name=status,proto3,enum=sudo.protobuf.enums.Token_Status" json:"status,omitempty"` CreatedTime uint64 `protobuf:"varint,6,opt,name=created_time,json=createdTime,proto3" json:"created_time,omitempty"` LastUsedTime uint64 `protobuf:"varint,7,opt,name=last_used_time,json=lastUsedTime,proto3" json:"last_used_time,omitempty"` // contains filtered or unexported fields }
func (*PirServerToken) Descriptor
deprecated
func (*PirServerToken) Descriptor() ([]byte, []int)
Deprecated: Use PirServerToken.ProtoReflect.Descriptor instead.
func (*PirServerToken) GetCreatedTime ¶
func (x *PirServerToken) GetCreatedTime() uint64
func (*PirServerToken) GetIssuerUserId ¶
func (x *PirServerToken) GetIssuerUserId() uint64
func (*PirServerToken) GetLastUsedTime ¶
func (x *PirServerToken) GetLastUsedTime() uint64
func (*PirServerToken) GetPartyId ¶
func (x *PirServerToken) GetPartyId() string
func (*PirServerToken) GetServiceId ¶
func (x *PirServerToken) GetServiceId() uint64
func (*PirServerToken) GetStatus ¶
func (x *PirServerToken) GetStatus() enums.Token_Status
func (*PirServerToken) GetToken ¶
func (x *PirServerToken) GetToken() string
func (*PirServerToken) ProtoMessage ¶
func (*PirServerToken) ProtoMessage()
func (*PirServerToken) ProtoReflect ¶
func (x *PirServerToken) ProtoReflect() protoreflect.Message
func (*PirServerToken) Reset ¶
func (x *PirServerToken) Reset()
func (*PirServerToken) String ¶
func (x *PirServerToken) String() string
Click to show internal directories.
Click to hide internal directories.