Files
open-im-server/pkg/proto/auth/auth.pb.go
T

466 lines
16 KiB
Go
Raw Normal View History

2021-05-26 19:19:41 +08:00
// Code generated by protoc-gen-go. DO NOT EDIT.
// source: auth/auth.proto
2023-02-23 19:15:30 +08:00
package pbAuth // import "OpenIM/pkg/proto/auth"
2023-01-31 20:33:33 +08:00
import proto "github.com/golang/protobuf/proto"
import fmt "fmt"
import math "math"
2023-02-23 19:15:30 +08:00
import _ "OpenIM/pkg/proto/sdkws"
2021-05-26 19:19:41 +08:00
import (
2023-01-31 20:33:33 +08:00
context "golang.org/x/net/context"
2021-05-26 19:19:41 +08:00
grpc "google.golang.org/grpc"
)
2023-01-31 20:33:33 +08:00
// Reference imports to suppress errors if they are not otherwise used.
var _ = proto.Marshal
var _ = fmt.Errorf
var _ = math.Inf
2021-05-26 19:19:41 +08:00
2023-01-31 20:33:33 +08:00
// This is a compile-time assertion to ensure that this generated file
// is compatible with the proto package it is being compiled against.
// A compilation error at this line likely means your copy of the
// proto package needs to be updated.
const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package
2022-08-07 22:37:27 +08:00
2023-01-31 20:33:33 +08:00
type UserTokenReq struct {
PlatformID int32 `protobuf:"varint,1,opt,name=platformID" json:"platformID,omitempty"`
UserID string `protobuf:"bytes,2,opt,name=userID" json:"userID,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
2021-05-26 19:19:41 +08:00
}
2022-09-27 16:59:56 +08:00
2023-01-31 20:33:33 +08:00
func (m *UserTokenReq) Reset() { *m = UserTokenReq{} }
func (m *UserTokenReq) String() string { return proto.CompactTextString(m) }
func (*UserTokenReq) ProtoMessage() {}
func (*UserTokenReq) Descriptor() ([]byte, []int) {
2023-02-28 17:17:21 +08:00
return fileDescriptor_auth_46440b04180edb10, []int{0}
2022-09-21 20:20:26 +08:00
}
2023-01-31 20:33:33 +08:00
func (m *UserTokenReq) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_UserTokenReq.Unmarshal(m, b)
2022-08-07 22:37:27 +08:00
}
2023-01-31 20:33:33 +08:00
func (m *UserTokenReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_UserTokenReq.Marshal(b, m, deterministic)
2022-09-21 20:20:26 +08:00
}
2023-01-31 20:33:33 +08:00
func (dst *UserTokenReq) XXX_Merge(src proto.Message) {
xxx_messageInfo_UserTokenReq.Merge(dst, src)
2022-09-27 16:59:56 +08:00
}
2023-01-31 20:33:33 +08:00
func (m *UserTokenReq) XXX_Size() int {
return xxx_messageInfo_UserTokenReq.Size(m)
2021-05-26 19:19:41 +08:00
}
2023-01-31 20:33:33 +08:00
func (m *UserTokenReq) XXX_DiscardUnknown() {
xxx_messageInfo_UserTokenReq.DiscardUnknown(m)
2021-05-26 19:19:41 +08:00
}
2023-01-31 20:33:33 +08:00
var xxx_messageInfo_UserTokenReq proto.InternalMessageInfo
2022-09-27 16:59:56 +08:00
2023-01-31 20:33:33 +08:00
func (m *UserTokenReq) GetPlatformID() int32 {
if m != nil {
return m.PlatformID
2022-09-27 16:59:56 +08:00
}
2023-01-31 20:33:33 +08:00
return 0
2022-09-21 20:20:26 +08:00
}
2022-09-27 16:59:56 +08:00
2023-01-31 20:33:33 +08:00
func (m *UserTokenReq) GetUserID() string {
if m != nil {
return m.UserID
2021-05-26 19:19:41 +08:00
}
return ""
}
2023-01-31 20:33:33 +08:00
type UserTokenResp struct {
Token string `protobuf:"bytes,2,opt,name=token" json:"token,omitempty"`
ExpireTimeSeconds int64 `protobuf:"varint,3,opt,name=expireTimeSeconds" json:"expireTimeSeconds,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
2021-05-26 19:19:41 +08:00
}
2023-01-31 20:33:33 +08:00
func (m *UserTokenResp) Reset() { *m = UserTokenResp{} }
func (m *UserTokenResp) String() string { return proto.CompactTextString(m) }
func (*UserTokenResp) ProtoMessage() {}
func (*UserTokenResp) Descriptor() ([]byte, []int) {
2023-02-28 17:17:21 +08:00
return fileDescriptor_auth_46440b04180edb10, []int{1}
2022-09-27 16:59:56 +08:00
}
2023-01-31 20:33:33 +08:00
func (m *UserTokenResp) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_UserTokenResp.Unmarshal(m, b)
2021-05-26 19:19:41 +08:00
}
2023-01-31 20:33:33 +08:00
func (m *UserTokenResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_UserTokenResp.Marshal(b, m, deterministic)
2022-08-07 22:37:27 +08:00
}
2023-01-31 20:33:33 +08:00
func (dst *UserTokenResp) XXX_Merge(src proto.Message) {
xxx_messageInfo_UserTokenResp.Merge(dst, src)
2022-09-21 20:20:26 +08:00
}
2023-01-31 20:33:33 +08:00
func (m *UserTokenResp) XXX_Size() int {
return xxx_messageInfo_UserTokenResp.Size(m)
2022-09-27 16:59:56 +08:00
}
2023-01-31 20:33:33 +08:00
func (m *UserTokenResp) XXX_DiscardUnknown() {
xxx_messageInfo_UserTokenResp.DiscardUnknown(m)
2021-05-26 19:19:41 +08:00
}
2023-01-31 20:33:33 +08:00
var xxx_messageInfo_UserTokenResp proto.InternalMessageInfo
2021-12-27 16:48:05 +08:00
2023-01-31 20:33:33 +08:00
func (m *UserTokenResp) GetToken() string {
if m != nil {
return m.Token
2021-12-27 16:48:05 +08:00
}
return ""
}
2023-01-31 20:33:33 +08:00
func (m *UserTokenResp) GetExpireTimeSeconds() int64 {
if m != nil {
return m.ExpireTimeSeconds
2021-05-26 19:19:41 +08:00
}
2023-01-31 20:33:33 +08:00
return 0
2021-05-26 19:19:41 +08:00
}
2023-01-31 20:33:33 +08:00
type ForceLogoutReq struct {
PlatformID int32 `protobuf:"varint,1,opt,name=platformID" json:"platformID,omitempty"`
UserID string `protobuf:"bytes,2,opt,name=userID" json:"userID,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
2021-05-26 19:19:41 +08:00
}
2023-01-31 20:33:33 +08:00
func (m *ForceLogoutReq) Reset() { *m = ForceLogoutReq{} }
func (m *ForceLogoutReq) String() string { return proto.CompactTextString(m) }
func (*ForceLogoutReq) ProtoMessage() {}
func (*ForceLogoutReq) Descriptor() ([]byte, []int) {
2023-02-28 17:17:21 +08:00
return fileDescriptor_auth_46440b04180edb10, []int{2}
2021-05-26 19:19:41 +08:00
}
2023-01-31 20:33:33 +08:00
func (m *ForceLogoutReq) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_ForceLogoutReq.Unmarshal(m, b)
2022-08-07 22:37:27 +08:00
}
2023-01-31 20:33:33 +08:00
func (m *ForceLogoutReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_ForceLogoutReq.Marshal(b, m, deterministic)
2022-09-21 20:20:26 +08:00
}
2023-01-31 20:33:33 +08:00
func (dst *ForceLogoutReq) XXX_Merge(src proto.Message) {
xxx_messageInfo_ForceLogoutReq.Merge(dst, src)
2022-09-21 20:20:26 +08:00
}
2023-01-31 20:33:33 +08:00
func (m *ForceLogoutReq) XXX_Size() int {
return xxx_messageInfo_ForceLogoutReq.Size(m)
2022-09-27 16:59:56 +08:00
}
2023-01-31 20:33:33 +08:00
func (m *ForceLogoutReq) XXX_DiscardUnknown() {
xxx_messageInfo_ForceLogoutReq.DiscardUnknown(m)
2021-05-26 19:19:41 +08:00
}
2023-01-31 20:33:33 +08:00
var xxx_messageInfo_ForceLogoutReq proto.InternalMessageInfo
2021-05-26 19:19:41 +08:00
2023-01-31 20:33:33 +08:00
func (m *ForceLogoutReq) GetPlatformID() int32 {
if m != nil {
return m.PlatformID
2021-05-26 19:19:41 +08:00
}
return 0
}
2023-01-31 20:33:33 +08:00
func (m *ForceLogoutReq) GetUserID() string {
if m != nil {
return m.UserID
2022-09-27 16:59:56 +08:00
}
2023-01-31 20:33:33 +08:00
return ""
2022-09-27 16:59:56 +08:00
}
2022-09-21 20:20:26 +08:00
2023-01-31 20:33:33 +08:00
type ForceLogoutResp struct {
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
2022-06-06 20:39:45 +08:00
}
2023-01-31 20:33:33 +08:00
func (m *ForceLogoutResp) Reset() { *m = ForceLogoutResp{} }
func (m *ForceLogoutResp) String() string { return proto.CompactTextString(m) }
func (*ForceLogoutResp) ProtoMessage() {}
func (*ForceLogoutResp) Descriptor() ([]byte, []int) {
2023-02-28 17:17:21 +08:00
return fileDescriptor_auth_46440b04180edb10, []int{3}
2022-06-06 20:39:45 +08:00
}
2023-01-31 20:33:33 +08:00
func (m *ForceLogoutResp) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_ForceLogoutResp.Unmarshal(m, b)
2022-06-06 20:39:45 +08:00
}
2023-01-31 20:33:33 +08:00
func (m *ForceLogoutResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_ForceLogoutResp.Marshal(b, m, deterministic)
2022-06-06 20:39:45 +08:00
}
2023-01-31 20:33:33 +08:00
func (dst *ForceLogoutResp) XXX_Merge(src proto.Message) {
xxx_messageInfo_ForceLogoutResp.Merge(dst, src)
2022-09-21 20:20:26 +08:00
}
2023-01-31 20:33:33 +08:00
func (m *ForceLogoutResp) XXX_Size() int {
return xxx_messageInfo_ForceLogoutResp.Size(m)
2022-09-21 20:20:26 +08:00
}
2023-01-31 20:33:33 +08:00
func (m *ForceLogoutResp) XXX_DiscardUnknown() {
xxx_messageInfo_ForceLogoutResp.DiscardUnknown(m)
2022-09-21 20:20:26 +08:00
}
2022-09-27 16:59:56 +08:00
2023-01-31 20:33:33 +08:00
var xxx_messageInfo_ForceLogoutResp proto.InternalMessageInfo
2022-09-27 16:59:56 +08:00
2023-01-31 20:33:33 +08:00
type ParseTokenReq struct {
Token string `protobuf:"bytes,1,opt,name=token" json:"token,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
2022-06-06 20:39:45 +08:00
}
2022-08-07 22:37:27 +08:00
2023-01-31 20:33:33 +08:00
func (m *ParseTokenReq) Reset() { *m = ParseTokenReq{} }
func (m *ParseTokenReq) String() string { return proto.CompactTextString(m) }
func (*ParseTokenReq) ProtoMessage() {}
func (*ParseTokenReq) Descriptor() ([]byte, []int) {
2023-02-28 17:17:21 +08:00
return fileDescriptor_auth_46440b04180edb10, []int{4}
2022-09-27 16:59:56 +08:00
}
2023-01-31 20:33:33 +08:00
func (m *ParseTokenReq) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_ParseTokenReq.Unmarshal(m, b)
2022-06-06 20:39:45 +08:00
}
2023-01-31 20:33:33 +08:00
func (m *ParseTokenReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_ParseTokenReq.Marshal(b, m, deterministic)
2022-09-21 20:20:26 +08:00
}
2023-01-31 20:33:33 +08:00
func (dst *ParseTokenReq) XXX_Merge(src proto.Message) {
xxx_messageInfo_ParseTokenReq.Merge(dst, src)
2022-09-21 20:20:26 +08:00
}
2023-01-31 20:33:33 +08:00
func (m *ParseTokenReq) XXX_Size() int {
return xxx_messageInfo_ParseTokenReq.Size(m)
2022-09-21 20:20:26 +08:00
}
2023-01-31 20:33:33 +08:00
func (m *ParseTokenReq) XXX_DiscardUnknown() {
xxx_messageInfo_ParseTokenReq.DiscardUnknown(m)
2022-09-21 20:20:26 +08:00
}
2023-01-31 20:33:33 +08:00
var xxx_messageInfo_ParseTokenReq proto.InternalMessageInfo
2022-08-07 22:37:27 +08:00
2023-01-31 20:33:33 +08:00
func (m *ParseTokenReq) GetToken() string {
if m != nil {
return m.Token
2022-08-07 22:37:27 +08:00
}
2022-09-21 20:20:26 +08:00
return ""
2022-06-06 20:39:45 +08:00
}
2022-09-21 20:20:26 +08:00
type ParseTokenResp struct {
2023-01-31 20:33:33 +08:00
UserID string `protobuf:"bytes,1,opt,name=userID" json:"userID,omitempty"`
Platform string `protobuf:"bytes,2,opt,name=platform" json:"platform,omitempty"`
ExpireTimeSeconds int64 `protobuf:"varint,4,opt,name=expireTimeSeconds" json:"expireTimeSeconds,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
2022-09-27 16:59:56 +08:00
}
2023-01-31 20:33:33 +08:00
func (m *ParseTokenResp) Reset() { *m = ParseTokenResp{} }
func (m *ParseTokenResp) String() string { return proto.CompactTextString(m) }
func (*ParseTokenResp) ProtoMessage() {}
func (*ParseTokenResp) Descriptor() ([]byte, []int) {
2023-02-28 17:17:21 +08:00
return fileDescriptor_auth_46440b04180edb10, []int{5}
2022-09-21 20:20:26 +08:00
}
2023-01-31 20:33:33 +08:00
func (m *ParseTokenResp) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_ParseTokenResp.Unmarshal(m, b)
2022-09-21 20:20:26 +08:00
}
2023-01-31 20:33:33 +08:00
func (m *ParseTokenResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_ParseTokenResp.Marshal(b, m, deterministic)
2022-09-21 20:20:26 +08:00
}
2023-01-31 20:33:33 +08:00
func (dst *ParseTokenResp) XXX_Merge(src proto.Message) {
xxx_messageInfo_ParseTokenResp.Merge(dst, src)
2022-09-27 16:59:56 +08:00
}
2023-01-31 20:33:33 +08:00
func (m *ParseTokenResp) XXX_Size() int {
return xxx_messageInfo_ParseTokenResp.Size(m)
}
func (m *ParseTokenResp) XXX_DiscardUnknown() {
xxx_messageInfo_ParseTokenResp.DiscardUnknown(m)
2022-09-21 20:20:26 +08:00
}
2023-01-31 20:33:33 +08:00
var xxx_messageInfo_ParseTokenResp proto.InternalMessageInfo
func (m *ParseTokenResp) GetUserID() string {
if m != nil {
return m.UserID
2022-09-21 20:20:26 +08:00
}
return ""
}
2023-01-31 20:33:33 +08:00
func (m *ParseTokenResp) GetPlatform() string {
if m != nil {
return m.Platform
2022-06-06 20:39:45 +08:00
}
2023-01-31 20:33:33 +08:00
return ""
2022-06-06 20:39:45 +08:00
}
2023-01-31 20:33:33 +08:00
func (m *ParseTokenResp) GetExpireTimeSeconds() int64 {
if m != nil {
return m.ExpireTimeSeconds
2022-09-21 20:20:26 +08:00
}
return 0
}
2022-08-07 22:37:27 +08:00
2023-01-31 20:33:33 +08:00
func init() {
proto.RegisterType((*UserTokenReq)(nil), "pbAuth.userTokenReq")
proto.RegisterType((*UserTokenResp)(nil), "pbAuth.userTokenResp")
proto.RegisterType((*ForceLogoutReq)(nil), "pbAuth.forceLogoutReq")
proto.RegisterType((*ForceLogoutResp)(nil), "pbAuth.forceLogoutResp")
proto.RegisterType((*ParseTokenReq)(nil), "pbAuth.parseTokenReq")
proto.RegisterType((*ParseTokenResp)(nil), "pbAuth.parseTokenResp")
2021-05-26 19:19:41 +08:00
}
// Reference imports to suppress errors if they are not otherwise used.
var _ context.Context
2023-01-31 20:33:33 +08:00
var _ grpc.ClientConn
2021-05-26 19:19:41 +08:00
// This is a compile-time assertion to ensure that this generated file
// is compatible with the grpc package it is being compiled against.
2023-01-31 20:33:33 +08:00
const _ = grpc.SupportPackageIsVersion4
// Client API for Auth service
2021-05-26 19:19:41 +08:00
type AuthClient interface {
2023-02-28 17:17:21 +08:00
// 生成token
2021-05-26 19:19:41 +08:00
UserToken(ctx context.Context, in *UserTokenReq, opts ...grpc.CallOption) (*UserTokenResp, error)
2023-02-28 17:17:21 +08:00
// 强制退出登录
2022-06-06 20:39:45 +08:00
ForceLogout(ctx context.Context, in *ForceLogoutReq, opts ...grpc.CallOption) (*ForceLogoutResp, error)
2023-02-28 17:17:21 +08:00
// 解析token
2022-09-21 20:20:26 +08:00
ParseToken(ctx context.Context, in *ParseTokenReq, opts ...grpc.CallOption) (*ParseTokenResp, error)
2021-05-26 19:19:41 +08:00
}
type authClient struct {
2023-01-31 20:33:33 +08:00
cc *grpc.ClientConn
2021-05-26 19:19:41 +08:00
}
2023-01-31 20:33:33 +08:00
func NewAuthClient(cc *grpc.ClientConn) AuthClient {
2021-05-26 19:19:41 +08:00
return &authClient{cc}
}
func (c *authClient) UserToken(ctx context.Context, in *UserTokenReq, opts ...grpc.CallOption) (*UserTokenResp, error) {
out := new(UserTokenResp)
2023-01-31 20:33:33 +08:00
err := grpc.Invoke(ctx, "/pbAuth.Auth/userToken", in, out, c.cc, opts...)
2021-05-26 19:19:41 +08:00
if err != nil {
return nil, err
}
return out, nil
}
2022-06-06 20:39:45 +08:00
func (c *authClient) ForceLogout(ctx context.Context, in *ForceLogoutReq, opts ...grpc.CallOption) (*ForceLogoutResp, error) {
out := new(ForceLogoutResp)
2023-01-31 20:33:33 +08:00
err := grpc.Invoke(ctx, "/pbAuth.Auth/forceLogout", in, out, c.cc, opts...)
2022-06-06 20:39:45 +08:00
if err != nil {
return nil, err
}
return out, nil
}
2022-09-21 20:20:26 +08:00
func (c *authClient) ParseToken(ctx context.Context, in *ParseTokenReq, opts ...grpc.CallOption) (*ParseTokenResp, error) {
out := new(ParseTokenResp)
2023-01-31 20:33:33 +08:00
err := grpc.Invoke(ctx, "/pbAuth.Auth/parseToken", in, out, c.cc, opts...)
2022-09-21 20:20:26 +08:00
if err != nil {
return nil, err
}
return out, nil
}
2023-01-31 20:33:33 +08:00
// Server API for Auth service
2021-05-26 19:19:41 +08:00
type AuthServer interface {
2023-02-28 17:17:21 +08:00
// 生成token
2021-05-26 19:19:41 +08:00
UserToken(context.Context, *UserTokenReq) (*UserTokenResp, error)
2023-02-28 17:17:21 +08:00
// 强制退出登录
2022-06-06 20:39:45 +08:00
ForceLogout(context.Context, *ForceLogoutReq) (*ForceLogoutResp, error)
2023-02-28 17:17:21 +08:00
// 解析token
2022-09-21 20:20:26 +08:00
ParseToken(context.Context, *ParseTokenReq) (*ParseTokenResp, error)
2022-08-07 22:37:27 +08:00
}
2021-05-26 19:19:41 +08:00
func RegisterAuthServer(s *grpc.Server, srv AuthServer) {
s.RegisterService(&_Auth_serviceDesc, srv)
}
func _Auth_UserToken_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(UserTokenReq)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(AuthServer).UserToken(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/pbAuth.Auth/UserToken",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(AuthServer).UserToken(ctx, req.(*UserTokenReq))
}
return interceptor(ctx, in, info, handler)
}
2022-06-06 20:39:45 +08:00
func _Auth_ForceLogout_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).ForceLogout(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/pbAuth.Auth/ForceLogout",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(AuthServer).ForceLogout(ctx, req.(*ForceLogoutReq))
}
return interceptor(ctx, in, info, handler)
}
2022-09-21 20:20:26 +08:00
func _Auth_ParseToken_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(ParseTokenReq)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(AuthServer).ParseToken(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/pbAuth.Auth/ParseToken",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(AuthServer).ParseToken(ctx, req.(*ParseTokenReq))
}
return interceptor(ctx, in, info, handler)
}
2021-05-26 19:19:41 +08:00
var _Auth_serviceDesc = grpc.ServiceDesc{
ServiceName: "pbAuth.Auth",
HandlerType: (*AuthServer)(nil),
Methods: []grpc.MethodDesc{
{
2023-01-31 20:33:33 +08:00
MethodName: "userToken",
2021-05-26 19:19:41 +08:00
Handler: _Auth_UserToken_Handler,
},
2022-06-06 20:39:45 +08:00
{
2023-01-31 20:33:33 +08:00
MethodName: "forceLogout",
2022-06-06 20:39:45 +08:00
Handler: _Auth_ForceLogout_Handler,
},
2022-09-21 20:20:26 +08:00
{
2023-01-31 20:33:33 +08:00
MethodName: "parseToken",
2022-09-21 20:20:26 +08:00
Handler: _Auth_ParseToken_Handler,
},
2021-05-26 19:19:41 +08:00
},
Streams: []grpc.StreamDesc{},
Metadata: "auth/auth.proto",
}
2023-01-31 20:33:33 +08:00
2023-02-28 17:17:21 +08:00
func init() { proto.RegisterFile("auth/auth.proto", fileDescriptor_auth_46440b04180edb10) }
2023-02-16 17:30:15 +08:00
2023-02-28 17:17:21 +08:00
var fileDescriptor_auth_46440b04180edb10 = []byte{
2023-02-16 17:30:15 +08:00
// 335 bytes of a gzipped FileDescriptorProto
2023-02-28 17:17:21 +08:00
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xa4, 0x52, 0xdd, 0x4b, 0x3a, 0x51,
0x10, 0xe5, 0xfe, 0xfc, 0xe0, 0xe7, 0x94, 0x8a, 0x17, 0x33, 0x59, 0x42, 0x64, 0x21, 0xf2, 0x21,
0x5d, 0xa8, 0x97, 0x40, 0x08, 0x0a, 0x89, 0x16, 0x92, 0x60, 0xf5, 0xa9, 0x37, 0x3f, 0xc6, 0x0f,
0x4c, 0xef, 0x74, 0x67, 0x37, 0xfb, 0xe7, 0xfa, 0xdf, 0x62, 0x5d, 0xdd, 0xee, 0xd2, 0xf6, 0xd4,
0xcb, 0xc2, 0x9c, 0x3d, 0x77, 0xce, 0x39, 0x33, 0x03, 0xe5, 0x51, 0xe0, 0x2f, 0x9c, 0xf0, 0xd3,
0x21, 0xad, 0x7c, 0x25, 0xf3, 0x34, 0xbe, 0x0b, 0xfc, 0x85, 0x75, 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