This commit is contained in:
root
2023-02-16 17:30:15 +08:00
parent 98769fefae
commit f0a0e0ade6
10 changed files with 1156 additions and 605 deletions
+30 -39
View File
@@ -36,7 +36,7 @@ func (m *UserTokenReq) Reset() { *m = UserTokenReq{} }
func (m *UserTokenReq) String() string { return proto.CompactTextString(m) }
func (*UserTokenReq) ProtoMessage() {}
func (*UserTokenReq) Descriptor() ([]byte, []int) {
return fileDescriptor_auth_ffdf6e1278396193, []int{0}
return fileDescriptor_auth_750060e22d9d752f, []int{0}
}
func (m *UserTokenReq) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_UserTokenReq.Unmarshal(m, b)
@@ -82,7 +82,7 @@ func (m *UserTokenResp) Reset() { *m = UserTokenResp{} }
func (m *UserTokenResp) String() string { return proto.CompactTextString(m) }
func (*UserTokenResp) ProtoMessage() {}
func (*UserTokenResp) Descriptor() ([]byte, []int) {
return fileDescriptor_auth_ffdf6e1278396193, []int{1}
return fileDescriptor_auth_750060e22d9d752f, []int{1}
}
func (m *UserTokenResp) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_UserTokenResp.Unmarshal(m, b)
@@ -128,7 +128,7 @@ func (m *ForceLogoutReq) Reset() { *m = ForceLogoutReq{} }
func (m *ForceLogoutReq) String() string { return proto.CompactTextString(m) }
func (*ForceLogoutReq) ProtoMessage() {}
func (*ForceLogoutReq) Descriptor() ([]byte, []int) {
return fileDescriptor_auth_ffdf6e1278396193, []int{2}
return fileDescriptor_auth_750060e22d9d752f, []int{2}
}
func (m *ForceLogoutReq) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_ForceLogoutReq.Unmarshal(m, b)
@@ -172,7 +172,7 @@ func (m *ForceLogoutResp) Reset() { *m = ForceLogoutResp{} }
func (m *ForceLogoutResp) String() string { return proto.CompactTextString(m) }
func (*ForceLogoutResp) ProtoMessage() {}
func (*ForceLogoutResp) Descriptor() ([]byte, []int) {
return fileDescriptor_auth_ffdf6e1278396193, []int{3}
return fileDescriptor_auth_750060e22d9d752f, []int{3}
}
func (m *ForceLogoutResp) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_ForceLogoutResp.Unmarshal(m, b)
@@ -194,7 +194,6 @@ var xxx_messageInfo_ForceLogoutResp proto.InternalMessageInfo
type ParseTokenReq struct {
Token string `protobuf:"bytes,1,opt,name=token" json:"token,omitempty"`
OperationID string `protobuf:"bytes,2,opt,name=operationID" json:"operationID,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
@@ -204,7 +203,7 @@ func (m *ParseTokenReq) Reset() { *m = ParseTokenReq{} }
func (m *ParseTokenReq) String() string { return proto.CompactTextString(m) }
func (*ParseTokenReq) ProtoMessage() {}
func (*ParseTokenReq) Descriptor() ([]byte, []int) {
return fileDescriptor_auth_ffdf6e1278396193, []int{4}
return fileDescriptor_auth_750060e22d9d752f, []int{4}
}
func (m *ParseTokenReq) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_ParseTokenReq.Unmarshal(m, b)
@@ -231,13 +230,6 @@ func (m *ParseTokenReq) GetToken() string {
return ""
}
func (m *ParseTokenReq) GetOperationID() string {
if m != nil {
return m.OperationID
}
return ""
}
type ParseTokenResp struct {
UserID string `protobuf:"bytes,1,opt,name=userID" json:"userID,omitempty"`
Platform string `protobuf:"bytes,2,opt,name=platform" json:"platform,omitempty"`
@@ -251,7 +243,7 @@ func (m *ParseTokenResp) Reset() { *m = ParseTokenResp{} }
func (m *ParseTokenResp) String() string { return proto.CompactTextString(m) }
func (*ParseTokenResp) ProtoMessage() {}
func (*ParseTokenResp) Descriptor() ([]byte, []int) {
return fileDescriptor_auth_ffdf6e1278396193, []int{5}
return fileDescriptor_auth_750060e22d9d752f, []int{5}
}
func (m *ParseTokenResp) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_ParseTokenResp.Unmarshal(m, b)
@@ -439,30 +431,29 @@ var _Auth_serviceDesc = grpc.ServiceDesc{
Metadata: "auth/auth.proto",
}
func init() { proto.RegisterFile("auth/auth.proto", fileDescriptor_auth_ffdf6e1278396193) }
func init() { proto.RegisterFile("auth/auth.proto", fileDescriptor_auth_750060e22d9d752f) }
var fileDescriptor_auth_ffdf6e1278396193 = []byte{
// 350 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xa4, 0x52, 0x4f, 0x4f, 0xfa, 0x40,
0x10, 0x4d, 0x7f, 0xfc, 0xc9, 0x8f, 0x41, 0x20, 0x6c, 0x10, 0x49, 0x13, 0xb5, 0xe9, 0xa9, 0x07,
0xa1, 0x89, 0x5e, 0x4c, 0x48, 0x4c, 0x34, 0x44, 0x6d, 0x22, 0x31, 0x29, 0x9c, 0xbc, 0x90, 0x02,
0xc3, 0x9f, 0x20, 0xdd, 0x71, 0x77, 0x2b, 0x7e, 0x39, 0xbf, 0x9b, 0x29, 0x85, 0xba, 0xc4, 0x7a,
0xf2, 0xd2, 0xe4, 0xbd, 0xbe, 0xbe, 0xbe, 0x79, 0x33, 0x50, 0x0b, 0x22, 0xb5, 0x70, 0xe3, 0x47,
0x87, 0x04, 0x57, 0x9c, 0x15, 0x69, 0x7c, 0x1b, 0xa9, 0x85, 0xe9, 0x3c, 0x13, 0x86, 0x6d, 0xaf,
0xdf, 0x1e, 0xa0, 0x78, 0x47, 0xe1, 0xd2, 0x6a, 0xee, 0x6e, 0x15, 0xae, 0x9c, 0xae, 0x46, 0x1b,
0xe9, 0x6e, 0x64, 0xf2, 0x85, 0x7d, 0x0f, 0x47, 0x91, 0x44, 0x31, 0xe4, 0x2b, 0x0c, 0x7d, 0x7c,
0x63, 0x67, 0x00, 0xf4, 0x1a, 0xa8, 0x19, 0x17, 0x6b, 0xaf, 0xd7, 0x32, 0x2c, 0xc3, 0x29, 0xf8,
0x1a, 0xc3, 0x9a, 0x50, 0x8c, 0xf5, 0x5e, 0xaf, 0xf5, 0xcf, 0x32, 0x9c, 0x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 0x41, 0xd0, 0x40, 0x58, 0xe3, 0x02, 0x00, 0x00,
var fileDescriptor_auth_750060e22d9d752f = []byte{
// 335 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xa4, 0x52, 0x5d, 0x4b, 0x02, 0x51,
0x10, 0xe5, 0xe6, 0x07, 0x39, 0xa5, 0xe2, 0xc5, 0x4c, 0x16, 0x2a, 0x59, 0x88, 0x7c, 0x48, 0x17,
0xea, 0x25, 0x10, 0x82, 0x42, 0xa2, 0x85, 0x24, 0x58, 0x7d, 0xea, 0x25, 0xfc, 0x18, 0x3f, 0x30,
0xbd, 0xd3, 0x9d, 0xdd, 0xec, 0xcf, 0xf5, 0xdf, 0x62, 0x5d, 0xdd, 0xae, 0xb4, 0x3d, 0xf5, 0xb2,
0x30, 0x67, 0xcf, 0x9d, 0x73, 0xce, 0xcc, 0x40, 0xb1, 0x1f, 0xf8, 0x53, 0x27, 0xfc, 0x34, 0x49,
0x2b, 0x5f, 0xc9, 0x2c, 0x0d, 0xee, 0x02, 0x7f, 0x6a, 0x5d, 0x3c, 0x13, 0x2e, 0x1b, 0x6e, 0xa7,
0xd1, 0x45, 0xfd, 0x81, 0xda, 0xa1, 0xf9, 0xc4, 0x59, 0x33, 0x1c, 0x1e, 0xcd, 0x57, 0xec, 0xac,
0x38, 0x7a, 0x60, 0x3f, 0xc0, 0x61, 0xc0, 0xa8, 0x7b, 0x6a, 0x8e, 0x4b, 0x0f, 0xdf, 0xe5, 0x29,
0x00, 0xbd, 0xf5, 0xfd, 0xb1, 0xd2, 0x0b, 0xb7, 0x5d, 0x15, 0x35, 0x51, 0xcf, 0x78, 0x06, 0x22,
0x2b, 0x90, 0x0d, 0xf9, 0x6e, 0xbb, 0xba, 0x57, 0x13, 0xf5, 0x9c, 0xb7, 0xa9, 0xec, 0x2e, 0xe4,
0x8d, 0x3e, 0x4c, 0xb2, 0x0c, 0x19, 0x3f, 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