diff --git a/auth/auth.pb.go b/auth/auth.pb.go index 9c4b8f03..f3d8732f 100644 --- a/auth/auth.pb.go +++ b/auth/auth.pb.go @@ -14,8 +14,8 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.36.8 -// protoc v5.29.3 +// protoc-gen-go v1.36.10 +// protoc v3.19.1 // source: auth/auth.proto package auth @@ -759,7 +759,7 @@ const file_auth_auth_proto_rawDesc = "" + "\vtokenStates\x18\x01 \x03(\v22.openim.auth.getExistingTokenResp.TokenStatesEntryR\vtokenStates\x1a>\n" + "\x10TokenStatesEntry\x12\x10\n" + "\x03key\x18\x01 \x01(\tR\x03key\x12\x14\n" + - "\x05value\x18\x02 \x01(\x05R\x05value:\x028\x012\xaa\x04\n" + + "\x05value\x18\x02 \x01(\x05R\x05value:\x028\x012\xf8\x04\n" + "\x04Auth\x12N\n" + "\rgetAdminToken\x12\x1d.openim.auth.getAdminTokenReq\x1a\x1e.openim.auth.getAdminTokenResp\x12K\n" + "\fgetUserToken\x12\x1c.openim.auth.getUserTokenReq\x1a\x1d.openim.auth.getUserTokenResp\x12H\n" + @@ -769,7 +769,8 @@ const file_auth_auth_proto_rawDesc = "" + "\x0finvalidateToken\x12\x1f.openim.auth.invalidateTokenReq\x1a .openim.auth.invalidateTokenResp\x12E\n" + "\n" + "kickTokens\x12\x1a.openim.auth.kickTokensReq\x1a\x1b.openim.auth.kickTokensResp\x12W\n" + - "\x10getExistingToken\x12 .openim.auth.GetExistingTokenReq\x1a!.openim.auth.getExistingTokenRespB$Z\"github.com/openimsdk/protocol/authb\x06proto3" + "\x10getExistingToken\x12 .openim.auth.GetExistingTokenReq\x1a!.openim.auth.getExistingTokenResp\x12L\n" + + "\x0fforceLogoutTest\x12\x1b.openim.auth.forceLogoutReq\x1a\x1c.openim.auth.forceLogoutRespB$Z\"github.com/openimsdk/protocol/authb\x06proto3" var ( file_auth_auth_proto_rawDescOnce sync.Once @@ -810,15 +811,17 @@ var file_auth_auth_proto_depIdxs = []int32{ 8, // 5: openim.auth.Auth.invalidateToken:input_type -> openim.auth.invalidateTokenReq 10, // 6: openim.auth.Auth.kickTokens:input_type -> openim.auth.kickTokensReq 12, // 7: openim.auth.Auth.getExistingToken:input_type -> openim.auth.GetExistingTokenReq - 1, // 8: openim.auth.Auth.getAdminToken:output_type -> openim.auth.getAdminTokenResp - 7, // 9: openim.auth.Auth.getUserToken:output_type -> openim.auth.getUserTokenResp - 3, // 10: openim.auth.Auth.forceLogout:output_type -> openim.auth.forceLogoutResp - 5, // 11: openim.auth.Auth.parseToken:output_type -> openim.auth.parseTokenResp - 9, // 12: openim.auth.Auth.invalidateToken:output_type -> openim.auth.invalidateTokenResp - 11, // 13: openim.auth.Auth.kickTokens:output_type -> openim.auth.kickTokensResp - 13, // 14: openim.auth.Auth.getExistingToken:output_type -> openim.auth.getExistingTokenResp - 8, // [8:15] is the sub-list for method output_type - 1, // [1:8] is the sub-list for method input_type + 2, // 8: openim.auth.Auth.forceLogoutTest:input_type -> openim.auth.forceLogoutReq + 1, // 9: openim.auth.Auth.getAdminToken:output_type -> openim.auth.getAdminTokenResp + 7, // 10: openim.auth.Auth.getUserToken:output_type -> openim.auth.getUserTokenResp + 3, // 11: openim.auth.Auth.forceLogout:output_type -> openim.auth.forceLogoutResp + 5, // 12: openim.auth.Auth.parseToken:output_type -> openim.auth.parseTokenResp + 9, // 13: openim.auth.Auth.invalidateToken:output_type -> openim.auth.invalidateTokenResp + 11, // 14: openim.auth.Auth.kickTokens:output_type -> openim.auth.kickTokensResp + 13, // 15: openim.auth.Auth.getExistingToken:output_type -> openim.auth.getExistingTokenResp + 3, // 16: openim.auth.Auth.forceLogoutTest:output_type -> openim.auth.forceLogoutResp + 9, // [9:17] is the sub-list for method output_type + 1, // [1:9] is the sub-list for method input_type 1, // [1:1] is the sub-list for extension type_name 1, // [1:1] is the sub-list for extension extendee 0, // [0:1] is the sub-list for field type_name diff --git a/auth/auth.proto b/auth/auth.proto index 7089ddad..2d72d5f8 100644 --- a/auth/auth.proto +++ b/auth/auth.proto @@ -87,4 +87,6 @@ service Auth { rpc kickTokens(kickTokensReq) returns (kickTokensResp); // Get existing token rpc getExistingToken(GetExistingTokenReq) returns (getExistingTokenResp); + + rpc forceLogoutTest(forceLogoutReq) returns (forceLogoutResp); } diff --git a/auth/auth_grpc.pb.go b/auth/auth_grpc.pb.go index 76aa5d3c..4aa5bea8 100644 --- a/auth/auth_grpc.pb.go +++ b/auth/auth_grpc.pb.go @@ -15,7 +15,7 @@ // Code generated by protoc-gen-go-grpc. DO NOT EDIT. // versions: // - protoc-gen-go-grpc v1.5.1 -// - protoc v5.29.3 +// - protoc v3.19.1 // source: auth/auth.proto package auth @@ -40,6 +40,7 @@ const ( Auth_InvalidateToken_FullMethodName = "/openim.auth.Auth/invalidateToken" Auth_KickTokens_FullMethodName = "/openim.auth.Auth/kickTokens" Auth_GetExistingToken_FullMethodName = "/openim.auth.Auth/getExistingToken" + Auth_ForceLogoutTest_FullMethodName = "/openim.auth.Auth/forceLogoutTest" ) // AuthClient is the client API for Auth service. @@ -60,6 +61,7 @@ type AuthClient interface { KickTokens(ctx context.Context, in *KickTokensReq, opts ...grpc.CallOption) (*KickTokensResp, error) // Get existing token GetExistingToken(ctx context.Context, in *GetExistingTokenReq, opts ...grpc.CallOption) (*GetExistingTokenResp, error) + ForceLogoutTest(ctx context.Context, in *ForceLogoutReq, opts ...grpc.CallOption) (*ForceLogoutResp, error) } type authClient struct { @@ -140,6 +142,16 @@ func (c *authClient) GetExistingToken(ctx context.Context, in *GetExistingTokenR return out, nil } +func (c *authClient) ForceLogoutTest(ctx context.Context, in *ForceLogoutReq, opts ...grpc.CallOption) (*ForceLogoutResp, error) { + cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) + out := new(ForceLogoutResp) + err := c.cc.Invoke(ctx, Auth_ForceLogoutTest_FullMethodName, in, out, cOpts...) + if err != nil { + return nil, err + } + return out, nil +} + // AuthServer is the server API for Auth service. // All implementations must embed UnimplementedAuthServer // for forward compatibility. @@ -158,6 +170,7 @@ type AuthServer interface { KickTokens(context.Context, *KickTokensReq) (*KickTokensResp, error) // Get existing token GetExistingToken(context.Context, *GetExistingTokenReq) (*GetExistingTokenResp, error) + ForceLogoutTest(context.Context, *ForceLogoutReq) (*ForceLogoutResp, error) mustEmbedUnimplementedAuthServer() } @@ -189,6 +202,9 @@ func (UnimplementedAuthServer) KickTokens(context.Context, *KickTokensReq) (*Kic func (UnimplementedAuthServer) GetExistingToken(context.Context, *GetExistingTokenReq) (*GetExistingTokenResp, error) { return nil, status.Errorf(codes.Unimplemented, "method GetExistingToken not implemented") } +func (UnimplementedAuthServer) ForceLogoutTest(context.Context, *ForceLogoutReq) (*ForceLogoutResp, error) { + return nil, status.Errorf(codes.Unimplemented, "method ForceLogoutTest not implemented") +} func (UnimplementedAuthServer) mustEmbedUnimplementedAuthServer() {} func (UnimplementedAuthServer) testEmbeddedByValue() {} @@ -336,6 +352,24 @@ func _Auth_GetExistingToken_Handler(srv interface{}, ctx context.Context, dec fu return interceptor(ctx, in, info, handler) } +func _Auth_ForceLogoutTest_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(ForceLogoutReq) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(AuthServer).ForceLogoutTest(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: Auth_ForceLogoutTest_FullMethodName, + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(AuthServer).ForceLogoutTest(ctx, req.(*ForceLogoutReq)) + } + return interceptor(ctx, in, info, handler) +} + // Auth_ServiceDesc is the grpc.ServiceDesc for Auth service. // It's only intended for direct use with grpc.RegisterService, // and not to be introspected or modified (even as a copy) @@ -371,6 +405,10 @@ var Auth_ServiceDesc = grpc.ServiceDesc{ MethodName: "getExistingToken", Handler: _Auth_GetExistingToken_Handler, }, + { + MethodName: "forceLogoutTest", + Handler: _Auth_ForceLogoutTest_Handler, + }, }, Streams: []grpc.StreamDesc{}, Metadata: "auth/auth.proto", diff --git a/conversation/conversation.pb.go b/conversation/conversation.pb.go index a535e035..aaf8196c 100644 --- a/conversation/conversation.pb.go +++ b/conversation/conversation.pb.go @@ -14,8 +14,8 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.36.8 -// protoc v5.29.3 +// protoc-gen-go v1.36.10 +// protoc v3.19.1 // source: conversation/conversation.proto package conversation diff --git a/conversation/conversation_grpc.pb.go b/conversation/conversation_grpc.pb.go index 7bc31c31..aec9abe5 100644 --- a/conversation/conversation_grpc.pb.go +++ b/conversation/conversation_grpc.pb.go @@ -15,7 +15,7 @@ // Code generated by protoc-gen-go-grpc. DO NOT EDIT. // versions: // - protoc-gen-go-grpc v1.5.1 -// - protoc v5.29.3 +// - protoc v3.19.1 // source: conversation/conversation.proto package conversation diff --git a/errinfo/errinfo.pb.go b/errinfo/errinfo.pb.go index 5e26474d..8712ac67 100644 --- a/errinfo/errinfo.pb.go +++ b/errinfo/errinfo.pb.go @@ -14,8 +14,8 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.36.8 -// protoc v5.29.3 +// protoc-gen-go v1.36.10 +// protoc v3.19.1 // source: errinfo/errinfo.proto package errinfo diff --git a/group/group.pb.go b/group/group.pb.go index d7097cdb..a759328b 100644 --- a/group/group.pb.go +++ b/group/group.pb.go @@ -14,8 +14,8 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.36.8 -// protoc v5.29.3 +// protoc-gen-go v1.36.10 +// protoc v3.19.1 // source: group/group.proto package group diff --git a/group/group_grpc.pb.go b/group/group_grpc.pb.go index cca56105..67b801fe 100644 --- a/group/group_grpc.pb.go +++ b/group/group_grpc.pb.go @@ -15,7 +15,7 @@ // Code generated by protoc-gen-go-grpc. DO NOT EDIT. // versions: // - protoc-gen-go-grpc v1.5.1 -// - protoc v5.29.3 +// - protoc v3.19.1 // source: group/group.proto package group diff --git a/jssdk/jssdk.pb.go b/jssdk/jssdk.pb.go index 666c6038..93b8dc5e 100644 --- a/jssdk/jssdk.pb.go +++ b/jssdk/jssdk.pb.go @@ -14,8 +14,8 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.36.8 -// protoc v5.29.3 +// protoc-gen-go v1.36.10 +// protoc v3.19.1 // source: jssdk/jssdk.proto package jssdk diff --git a/msg/msg.pb.go b/msg/msg.pb.go index 44961cf5..6f60697b 100644 --- a/msg/msg.pb.go +++ b/msg/msg.pb.go @@ -14,8 +14,8 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.36.8 -// protoc v5.29.3 +// protoc-gen-go v1.36.10 +// protoc v3.19.1 // source: msg/msg.proto package msg diff --git a/msg/msg_grpc.pb.go b/msg/msg_grpc.pb.go index d7950ac3..ea0196cd 100644 --- a/msg/msg_grpc.pb.go +++ b/msg/msg_grpc.pb.go @@ -15,7 +15,7 @@ // Code generated by protoc-gen-go-grpc. DO NOT EDIT. // versions: // - protoc-gen-go-grpc v1.5.1 -// - protoc v5.29.3 +// - protoc v3.19.1 // source: msg/msg.proto package msg diff --git a/msggateway/msggateway.pb.go b/msggateway/msggateway.pb.go index c4d679c3..96c4de7a 100644 --- a/msggateway/msggateway.pb.go +++ b/msggateway/msggateway.pb.go @@ -14,8 +14,8 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.36.8 -// protoc v5.29.3 +// protoc-gen-go v1.36.10 +// protoc v3.19.1 // source: msggateway/msggateway.proto package msggateway diff --git a/msggateway/msggateway_grpc.pb.go b/msggateway/msggateway_grpc.pb.go index c4197f11..54490b6e 100644 --- a/msggateway/msggateway_grpc.pb.go +++ b/msggateway/msggateway_grpc.pb.go @@ -15,7 +15,7 @@ // Code generated by protoc-gen-go-grpc. DO NOT EDIT. // versions: // - protoc-gen-go-grpc v1.5.1 -// - protoc v5.29.3 +// - protoc v3.19.1 // source: msggateway/msggateway.proto package msggateway diff --git a/push/push.pb.go b/push/push.pb.go index a0e823a8..ea93d81f 100644 --- a/push/push.pb.go +++ b/push/push.pb.go @@ -14,8 +14,8 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.36.8 -// protoc v5.29.3 +// protoc-gen-go v1.36.10 +// protoc v3.19.1 // source: push/push.proto package push diff --git a/push/push_grpc.pb.go b/push/push_grpc.pb.go index 22d24651..18396405 100644 --- a/push/push_grpc.pb.go +++ b/push/push_grpc.pb.go @@ -15,7 +15,7 @@ // Code generated by protoc-gen-go-grpc. DO NOT EDIT. // versions: // - protoc-gen-go-grpc v1.5.1 -// - protoc v5.29.3 +// - protoc v3.19.1 // source: push/push.proto package push diff --git a/relation/relation.pb.go b/relation/relation.pb.go index a0cc5eb7..ebea4990 100644 --- a/relation/relation.pb.go +++ b/relation/relation.pb.go @@ -14,8 +14,8 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.36.8 -// protoc v5.29.3 +// protoc-gen-go v1.36.10 +// protoc v3.19.1 // source: relation/relation.proto package relation diff --git a/relation/relation_grpc.pb.go b/relation/relation_grpc.pb.go index 15a03266..064dd7df 100644 --- a/relation/relation_grpc.pb.go +++ b/relation/relation_grpc.pb.go @@ -15,7 +15,7 @@ // Code generated by protoc-gen-go-grpc. DO NOT EDIT. // versions: // - protoc-gen-go-grpc v1.5.1 -// - protoc v5.29.3 +// - protoc v3.19.1 // source: relation/relation.proto package relation diff --git a/rtc/rtc.pb.go b/rtc/rtc.pb.go index 9c679c34..ddc86f72 100644 --- a/rtc/rtc.pb.go +++ b/rtc/rtc.pb.go @@ -1,7 +1,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.36.8 -// protoc v5.29.3 +// protoc-gen-go v1.36.10 +// protoc v3.19.1 // source: rtc/rtc.proto package rtc diff --git a/rtc/rtc_grpc.pb.go b/rtc/rtc_grpc.pb.go index c84a5756..ba4967fd 100644 --- a/rtc/rtc_grpc.pb.go +++ b/rtc/rtc_grpc.pb.go @@ -1,7 +1,7 @@ // Code generated by protoc-gen-go-grpc. DO NOT EDIT. // versions: // - protoc-gen-go-grpc v1.5.1 -// - protoc v5.29.3 +// - protoc v3.19.1 // source: rtc/rtc.proto package rtc diff --git a/sdkws/sdkws.pb.go b/sdkws/sdkws.pb.go index 4eaa5a3d..ab551394 100644 --- a/sdkws/sdkws.pb.go +++ b/sdkws/sdkws.pb.go @@ -14,8 +14,8 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.36.8 -// protoc v5.29.3 +// protoc-gen-go v1.36.10 +// protoc v3.19.1 // source: sdkws/sdkws.proto package sdkws diff --git a/third/third.pb.go b/third/third.pb.go index 0263fdd3..eb7959ad 100644 --- a/third/third.pb.go +++ b/third/third.pb.go @@ -14,8 +14,8 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.36.8 -// protoc v5.29.3 +// protoc-gen-go v1.36.10 +// protoc v3.19.1 // source: third/third.proto package third diff --git a/third/third_grpc.pb.go b/third/third_grpc.pb.go index 5b3348d5..804088c7 100644 --- a/third/third_grpc.pb.go +++ b/third/third_grpc.pb.go @@ -15,7 +15,7 @@ // Code generated by protoc-gen-go-grpc. DO NOT EDIT. // versions: // - protoc-gen-go-grpc v1.5.1 -// - protoc v5.29.3 +// - protoc v3.19.1 // source: third/third.proto package third diff --git a/user/user.pb.go b/user/user.pb.go index 26ab05e8..ea8995bb 100644 --- a/user/user.pb.go +++ b/user/user.pb.go @@ -14,8 +14,8 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.36.8 -// protoc v5.29.3 +// protoc-gen-go v1.36.10 +// protoc v3.19.1 // source: user/user.proto package user diff --git a/user/user_grpc.pb.go b/user/user_grpc.pb.go index 9637f98b..23a1cc18 100644 --- a/user/user_grpc.pb.go +++ b/user/user_grpc.pb.go @@ -15,7 +15,7 @@ // Code generated by protoc-gen-go-grpc. DO NOT EDIT. // versions: // - protoc-gen-go-grpc v1.5.1 -// - protoc v5.29.3 +// - protoc v3.19.1 // source: user/user.proto package user diff --git a/wrapperspb/wrapperspb.pb.go b/wrapperspb/wrapperspb.pb.go index 031e2316..7055b876 100644 --- a/wrapperspb/wrapperspb.pb.go +++ b/wrapperspb/wrapperspb.pb.go @@ -14,8 +14,8 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.36.8 -// protoc v5.29.3 +// protoc-gen-go v1.36.10 +// protoc v3.19.1 // source: wrapperspb/wrapperspb.proto package wrapperspb