1483 lines
55 KiB
Go
1483 lines
55 KiB
Go
|
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||
|
// versions:
|
||
|
// protoc-gen-go v1.25.0
|
||
|
// protoc v3.17.3
|
||
|
// source: clientapi/mp/auth/auth.proto
|
||
|
|
||
|
package authpb
|
||
|
|
||
|
import (
|
||
|
proto "github.com/golang/protobuf/proto"
|
||
|
_ "google.golang.org/genproto/googleapis/api/annotations"
|
||
|
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
|
||
|
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
|
||
|
emptypb "google.golang.org/protobuf/types/known/emptypb"
|
||
|
timestamppb "google.golang.org/protobuf/types/known/timestamppb"
|
||
|
reflect "reflect"
|
||
|
sync "sync"
|
||
|
)
|
||
|
|
||
|
const (
|
||
|
// Verify that this generated code is sufficiently up-to-date.
|
||
|
_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
|
||
|
// Verify that runtime/protoimpl is sufficiently up-to-date.
|
||
|
_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
|
||
|
)
|
||
|
|
||
|
// This is a compile-time assertion that a sufficiently up-to-date version
|
||
|
// of the legacy proto package is being used.
|
||
|
const _ = proto.ProtoPackageIsVersion4
|
||
|
|
||
|
type GetCodeURLRequest_Scope int32
|
||
|
|
||
|
const (
|
||
|
GetCodeURLRequest_snsapi_base GetCodeURLRequest_Scope = 0
|
||
|
GetCodeURLRequest_snsapi_userinfo GetCodeURLRequest_Scope = 1
|
||
|
)
|
||
|
|
||
|
// Enum value maps for GetCodeURLRequest_Scope.
|
||
|
var (
|
||
|
GetCodeURLRequest_Scope_name = map[int32]string{
|
||
|
0: "snsapi_base",
|
||
|
1: "snsapi_userinfo",
|
||
|
}
|
||
|
GetCodeURLRequest_Scope_value = map[string]int32{
|
||
|
"snsapi_base": 0,
|
||
|
"snsapi_userinfo": 1,
|
||
|
}
|
||
|
)
|
||
|
|
||
|
func (x GetCodeURLRequest_Scope) Enum() *GetCodeURLRequest_Scope {
|
||
|
p := new(GetCodeURLRequest_Scope)
|
||
|
*p = x
|
||
|
return p
|
||
|
}
|
||
|
|
||
|
func (x GetCodeURLRequest_Scope) String() string {
|
||
|
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
|
||
|
}
|
||
|
|
||
|
func (GetCodeURLRequest_Scope) Descriptor() protoreflect.EnumDescriptor {
|
||
|
return file_clientapi_mp_auth_auth_proto_enumTypes[0].Descriptor()
|
||
|
}
|
||
|
|
||
|
func (GetCodeURLRequest_Scope) Type() protoreflect.EnumType {
|
||
|
return &file_clientapi_mp_auth_auth_proto_enumTypes[0]
|
||
|
}
|
||
|
|
||
|
func (x GetCodeURLRequest_Scope) Number() protoreflect.EnumNumber {
|
||
|
return protoreflect.EnumNumber(x)
|
||
|
}
|
||
|
|
||
|
// Deprecated: Use GetCodeURLRequest_Scope.Descriptor instead.
|
||
|
func (GetCodeURLRequest_Scope) EnumDescriptor() ([]byte, []int) {
|
||
|
return file_clientapi_mp_auth_auth_proto_rawDescGZIP(), []int{0, 0}
|
||
|
}
|
||
|
|
||
|
type GetUserinfoRequest_Lang int32
|
||
|
|
||
|
const (
|
||
|
GetUserinfoRequest_zh_CN GetUserinfoRequest_Lang = 0
|
||
|
GetUserinfoRequest_zh_TW GetUserinfoRequest_Lang = 1
|
||
|
GetUserinfoRequest_en GetUserinfoRequest_Lang = 2
|
||
|
)
|
||
|
|
||
|
// Enum value maps for GetUserinfoRequest_Lang.
|
||
|
var (
|
||
|
GetUserinfoRequest_Lang_name = map[int32]string{
|
||
|
0: "zh_CN",
|
||
|
1: "zh_TW",
|
||
|
2: "en",
|
||
|
}
|
||
|
GetUserinfoRequest_Lang_value = map[string]int32{
|
||
|
"zh_CN": 0,
|
||
|
"zh_TW": 1,
|
||
|
"en": 2,
|
||
|
}
|
||
|
)
|
||
|
|
||
|
func (x GetUserinfoRequest_Lang) Enum() *GetUserinfoRequest_Lang {
|
||
|
p := new(GetUserinfoRequest_Lang)
|
||
|
*p = x
|
||
|
return p
|
||
|
}
|
||
|
|
||
|
func (x GetUserinfoRequest_Lang) String() string {
|
||
|
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
|
||
|
}
|
||
|
|
||
|
func (GetUserinfoRequest_Lang) Descriptor() protoreflect.EnumDescriptor {
|
||
|
return file_clientapi_mp_auth_auth_proto_enumTypes[1].Descriptor()
|
||
|
}
|
||
|
|
||
|
func (GetUserinfoRequest_Lang) Type() protoreflect.EnumType {
|
||
|
return &file_clientapi_mp_auth_auth_proto_enumTypes[1]
|
||
|
}
|
||
|
|
||
|
func (x GetUserinfoRequest_Lang) Number() protoreflect.EnumNumber {
|
||
|
return protoreflect.EnumNumber(x)
|
||
|
}
|
||
|
|
||
|
// Deprecated: Use GetUserinfoRequest_Lang.Descriptor instead.
|
||
|
func (GetUserinfoRequest_Lang) EnumDescriptor() ([]byte, []int) {
|
||
|
return file_clientapi_mp_auth_auth_proto_rawDescGZIP(), []int{8, 0}
|
||
|
}
|
||
|
|
||
|
type SyncUserinfoRequest_Lang int32
|
||
|
|
||
|
const (
|
||
|
SyncUserinfoRequest_zh_CN SyncUserinfoRequest_Lang = 0
|
||
|
SyncUserinfoRequest_zh_TW SyncUserinfoRequest_Lang = 1
|
||
|
SyncUserinfoRequest_en SyncUserinfoRequest_Lang = 2
|
||
|
)
|
||
|
|
||
|
// Enum value maps for SyncUserinfoRequest_Lang.
|
||
|
var (
|
||
|
SyncUserinfoRequest_Lang_name = map[int32]string{
|
||
|
0: "zh_CN",
|
||
|
1: "zh_TW",
|
||
|
2: "en",
|
||
|
}
|
||
|
SyncUserinfoRequest_Lang_value = map[string]int32{
|
||
|
"zh_CN": 0,
|
||
|
"zh_TW": 1,
|
||
|
"en": 2,
|
||
|
}
|
||
|
)
|
||
|
|
||
|
func (x SyncUserinfoRequest_Lang) Enum() *SyncUserinfoRequest_Lang {
|
||
|
p := new(SyncUserinfoRequest_Lang)
|
||
|
*p = x
|
||
|
return p
|
||
|
}
|
||
|
|
||
|
func (x SyncUserinfoRequest_Lang) String() string {
|
||
|
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
|
||
|
}
|
||
|
|
||
|
func (SyncUserinfoRequest_Lang) Descriptor() protoreflect.EnumDescriptor {
|
||
|
return file_clientapi_mp_auth_auth_proto_enumTypes[2].Descriptor()
|
||
|
}
|
||
|
|
||
|
func (SyncUserinfoRequest_Lang) Type() protoreflect.EnumType {
|
||
|
return &file_clientapi_mp_auth_auth_proto_enumTypes[2]
|
||
|
}
|
||
|
|
||
|
func (x SyncUserinfoRequest_Lang) Number() protoreflect.EnumNumber {
|
||
|
return protoreflect.EnumNumber(x)
|
||
|
}
|
||
|
|
||
|
// Deprecated: Use SyncUserinfoRequest_Lang.Descriptor instead.
|
||
|
func (SyncUserinfoRequest_Lang) EnumDescriptor() ([]byte, []int) {
|
||
|
return file_clientapi_mp_auth_auth_proto_rawDescGZIP(), []int{10, 0}
|
||
|
}
|
||
|
|
||
|
type GetCodeURLRequest struct {
|
||
|
state protoimpl.MessageState
|
||
|
sizeCache protoimpl.SizeCache
|
||
|
unknownFields protoimpl.UnknownFields
|
||
|
|
||
|
RedirectUrl string `protobuf:"bytes,1,opt,name=redirect_url,json=redirectUrl,proto3" json:"redirect_url,omitempty"`
|
||
|
State string `protobuf:"bytes,2,opt,name=state,proto3" json:"state,omitempty"`
|
||
|
Scope GetCodeURLRequest_Scope `protobuf:"varint,3,opt,name=scope,proto3,enum=lab.weixin.mp.auth.GetCodeURLRequest_Scope" json:"scope,omitempty"`
|
||
|
}
|
||
|
|
||
|
func (x *GetCodeURLRequest) Reset() {
|
||
|
*x = GetCodeURLRequest{}
|
||
|
if protoimpl.UnsafeEnabled {
|
||
|
mi := &file_clientapi_mp_auth_auth_proto_msgTypes[0]
|
||
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
|
ms.StoreMessageInfo(mi)
|
||
|
}
|
||
|
}
|
||
|
|
||
|
func (x *GetCodeURLRequest) String() string {
|
||
|
return protoimpl.X.MessageStringOf(x)
|
||
|
}
|
||
|
|
||
|
func (*GetCodeURLRequest) ProtoMessage() {}
|
||
|
|
||
|
func (x *GetCodeURLRequest) ProtoReflect() protoreflect.Message {
|
||
|
mi := &file_clientapi_mp_auth_auth_proto_msgTypes[0]
|
||
|
if protoimpl.UnsafeEnabled && x != nil {
|
||
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
|
if ms.LoadMessageInfo() == nil {
|
||
|
ms.StoreMessageInfo(mi)
|
||
|
}
|
||
|
return ms
|
||
|
}
|
||
|
return mi.MessageOf(x)
|
||
|
}
|
||
|
|
||
|
// Deprecated: Use GetCodeURLRequest.ProtoReflect.Descriptor instead.
|
||
|
func (*GetCodeURLRequest) Descriptor() ([]byte, []int) {
|
||
|
return file_clientapi_mp_auth_auth_proto_rawDescGZIP(), []int{0}
|
||
|
}
|
||
|
|
||
|
func (x *GetCodeURLRequest) GetRedirectUrl() string {
|
||
|
if x != nil {
|
||
|
return x.RedirectUrl
|
||
|
}
|
||
|
return ""
|
||
|
}
|
||
|
|
||
|
func (x *GetCodeURLRequest) GetState() string {
|
||
|
if x != nil {
|
||
|
return x.State
|
||
|
}
|
||
|
return ""
|
||
|
}
|
||
|
|
||
|
func (x *GetCodeURLRequest) GetScope() GetCodeURLRequest_Scope {
|
||
|
if x != nil {
|
||
|
return x.Scope
|
||
|
}
|
||
|
return GetCodeURLRequest_snsapi_base
|
||
|
}
|
||
|
|
||
|
type GetCodeURLResponse struct {
|
||
|
state protoimpl.MessageState
|
||
|
sizeCache protoimpl.SizeCache
|
||
|
unknownFields protoimpl.UnknownFields
|
||
|
|
||
|
Url string `protobuf:"bytes,1,opt,name=url,proto3" json:"url,omitempty"`
|
||
|
}
|
||
|
|
||
|
func (x *GetCodeURLResponse) Reset() {
|
||
|
*x = GetCodeURLResponse{}
|
||
|
if protoimpl.UnsafeEnabled {
|
||
|
mi := &file_clientapi_mp_auth_auth_proto_msgTypes[1]
|
||
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
|
ms.StoreMessageInfo(mi)
|
||
|
}
|
||
|
}
|
||
|
|
||
|
func (x *GetCodeURLResponse) String() string {
|
||
|
return protoimpl.X.MessageStringOf(x)
|
||
|
}
|
||
|
|
||
|
func (*GetCodeURLResponse) ProtoMessage() {}
|
||
|
|
||
|
func (x *GetCodeURLResponse) ProtoReflect() protoreflect.Message {
|
||
|
mi := &file_clientapi_mp_auth_auth_proto_msgTypes[1]
|
||
|
if protoimpl.UnsafeEnabled && x != nil {
|
||
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
|
if ms.LoadMessageInfo() == nil {
|
||
|
ms.StoreMessageInfo(mi)
|
||
|
}
|
||
|
return ms
|
||
|
}
|
||
|
return mi.MessageOf(x)
|
||
|
}
|
||
|
|
||
|
// Deprecated: Use GetCodeURLResponse.ProtoReflect.Descriptor instead.
|
||
|
func (*GetCodeURLResponse) Descriptor() ([]byte, []int) {
|
||
|
return file_clientapi_mp_auth_auth_proto_rawDescGZIP(), []int{1}
|
||
|
}
|
||
|
|
||
|
func (x *GetCodeURLResponse) GetUrl() string {
|
||
|
if x != nil {
|
||
|
return x.Url
|
||
|
}
|
||
|
return ""
|
||
|
}
|
||
|
|
||
|
type ExchangeTokenRequest struct {
|
||
|
state protoimpl.MessageState
|
||
|
sizeCache protoimpl.SizeCache
|
||
|
unknownFields protoimpl.UnknownFields
|
||
|
|
||
|
Code string `protobuf:"bytes,1,opt,name=code,proto3" json:"code,omitempty"`
|
||
|
}
|
||
|
|
||
|
func (x *ExchangeTokenRequest) Reset() {
|
||
|
*x = ExchangeTokenRequest{}
|
||
|
if protoimpl.UnsafeEnabled {
|
||
|
mi := &file_clientapi_mp_auth_auth_proto_msgTypes[2]
|
||
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
|
ms.StoreMessageInfo(mi)
|
||
|
}
|
||
|
}
|
||
|
|
||
|
func (x *ExchangeTokenRequest) String() string {
|
||
|
return protoimpl.X.MessageStringOf(x)
|
||
|
}
|
||
|
|
||
|
func (*ExchangeTokenRequest) ProtoMessage() {}
|
||
|
|
||
|
func (x *ExchangeTokenRequest) ProtoReflect() protoreflect.Message {
|
||
|
mi := &file_clientapi_mp_auth_auth_proto_msgTypes[2]
|
||
|
if protoimpl.UnsafeEnabled && x != nil {
|
||
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
|
if ms.LoadMessageInfo() == nil {
|
||
|
ms.StoreMessageInfo(mi)
|
||
|
}
|
||
|
return ms
|
||
|
}
|
||
|
return mi.MessageOf(x)
|
||
|
}
|
||
|
|
||
|
// Deprecated: Use ExchangeTokenRequest.ProtoReflect.Descriptor instead.
|
||
|
func (*ExchangeTokenRequest) Descriptor() ([]byte, []int) {
|
||
|
return file_clientapi_mp_auth_auth_proto_rawDescGZIP(), []int{2}
|
||
|
}
|
||
|
|
||
|
func (x *ExchangeTokenRequest) GetCode() string {
|
||
|
if x != nil {
|
||
|
return x.Code
|
||
|
}
|
||
|
return ""
|
||
|
}
|
||
|
|
||
|
type Token struct {
|
||
|
state protoimpl.MessageState
|
||
|
sizeCache protoimpl.SizeCache
|
||
|
unknownFields protoimpl.UnknownFields
|
||
|
|
||
|
AccessToken string `protobuf:"bytes,1,opt,name=access_token,json=accessToken,proto3" json:"access_token,omitempty"`
|
||
|
ExpiresIn int32 `protobuf:"varint,2,opt,name=expires_in,json=expiresIn,proto3" json:"expires_in,omitempty"`
|
||
|
RefreshToken string `protobuf:"bytes,3,opt,name=refresh_token,json=refreshToken,proto3" json:"refresh_token,omitempty"`
|
||
|
OpenId string `protobuf:"bytes,4,opt,name=open_id,json=openId,proto3" json:"open_id,omitempty"`
|
||
|
Scope string `protobuf:"bytes,5,opt,name=scope,proto3" json:"scope,omitempty"`
|
||
|
}
|
||
|
|
||
|
func (x *Token) Reset() {
|
||
|
*x = Token{}
|
||
|
if protoimpl.UnsafeEnabled {
|
||
|
mi := &file_clientapi_mp_auth_auth_proto_msgTypes[3]
|
||
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
|
ms.StoreMessageInfo(mi)
|
||
|
}
|
||
|
}
|
||
|
|
||
|
func (x *Token) String() string {
|
||
|
return protoimpl.X.MessageStringOf(x)
|
||
|
}
|
||
|
|
||
|
func (*Token) ProtoMessage() {}
|
||
|
|
||
|
func (x *Token) ProtoReflect() protoreflect.Message {
|
||
|
mi := &file_clientapi_mp_auth_auth_proto_msgTypes[3]
|
||
|
if protoimpl.UnsafeEnabled && x != nil {
|
||
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
|
if ms.LoadMessageInfo() == nil {
|
||
|
ms.StoreMessageInfo(mi)
|
||
|
}
|
||
|
return ms
|
||
|
}
|
||
|
return mi.MessageOf(x)
|
||
|
}
|
||
|
|
||
|
// Deprecated: Use Token.ProtoReflect.Descriptor instead.
|
||
|
func (*Token) Descriptor() ([]byte, []int) {
|
||
|
return file_clientapi_mp_auth_auth_proto_rawDescGZIP(), []int{3}
|
||
|
}
|
||
|
|
||
|
func (x *Token) GetAccessToken() string {
|
||
|
if x != nil {
|
||
|
return x.AccessToken
|
||
|
}
|
||
|
return ""
|
||
|
}
|
||
|
|
||
|
func (x *Token) GetExpiresIn() int32 {
|
||
|
if x != nil {
|
||
|
return x.ExpiresIn
|
||
|
}
|
||
|
return 0
|
||
|
}
|
||
|
|
||
|
func (x *Token) GetRefreshToken() string {
|
||
|
if x != nil {
|
||
|
return x.RefreshToken
|
||
|
}
|
||
|
return ""
|
||
|
}
|
||
|
|
||
|
func (x *Token) GetOpenId() string {
|
||
|
if x != nil {
|
||
|
return x.OpenId
|
||
|
}
|
||
|
return ""
|
||
|
}
|
||
|
|
||
|
func (x *Token) GetScope() string {
|
||
|
if x != nil {
|
||
|
return x.Scope
|
||
|
}
|
||
|
return ""
|
||
|
}
|
||
|
|
||
|
type ExchangeTokenResponse struct {
|
||
|
state protoimpl.MessageState
|
||
|
sizeCache protoimpl.SizeCache
|
||
|
unknownFields protoimpl.UnknownFields
|
||
|
|
||
|
Token *Token `protobuf:"bytes,1,opt,name=token,proto3" json:"token,omitempty"`
|
||
|
Timestamp *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
|
||
|
}
|
||
|
|
||
|
func (x *ExchangeTokenResponse) Reset() {
|
||
|
*x = ExchangeTokenResponse{}
|
||
|
if protoimpl.UnsafeEnabled {
|
||
|
mi := &file_clientapi_mp_auth_auth_proto_msgTypes[4]
|
||
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
|
ms.StoreMessageInfo(mi)
|
||
|
}
|
||
|
}
|
||
|
|
||
|
func (x *ExchangeTokenResponse) String() string {
|
||
|
return protoimpl.X.MessageStringOf(x)
|
||
|
}
|
||
|
|
||
|
func (*ExchangeTokenResponse) ProtoMessage() {}
|
||
|
|
||
|
func (x *ExchangeTokenResponse) ProtoReflect() protoreflect.Message {
|
||
|
mi := &file_clientapi_mp_auth_auth_proto_msgTypes[4]
|
||
|
if protoimpl.UnsafeEnabled && x != nil {
|
||
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
|
if ms.LoadMessageInfo() == nil {
|
||
|
ms.StoreMessageInfo(mi)
|
||
|
}
|
||
|
return ms
|
||
|
}
|
||
|
return mi.MessageOf(x)
|
||
|
}
|
||
|
|
||
|
// Deprecated: Use ExchangeTokenResponse.ProtoReflect.Descriptor instead.
|
||
|
func (*ExchangeTokenResponse) Descriptor() ([]byte, []int) {
|
||
|
return file_clientapi_mp_auth_auth_proto_rawDescGZIP(), []int{4}
|
||
|
}
|
||
|
|
||
|
func (x *ExchangeTokenResponse) GetToken() *Token {
|
||
|
if x != nil {
|
||
|
return x.Token
|
||
|
}
|
||
|
return nil
|
||
|
}
|
||
|
|
||
|
func (x *ExchangeTokenResponse) GetTimestamp() *timestamppb.Timestamp {
|
||
|
if x != nil {
|
||
|
return x.Timestamp
|
||
|
}
|
||
|
return nil
|
||
|
}
|
||
|
|
||
|
type RefreshTokenRequest struct {
|
||
|
state protoimpl.MessageState
|
||
|
sizeCache protoimpl.SizeCache
|
||
|
unknownFields protoimpl.UnknownFields
|
||
|
|
||
|
OpenId string `protobuf:"bytes,1,opt,name=open_id,json=openId,proto3" json:"open_id,omitempty"`
|
||
|
}
|
||
|
|
||
|
func (x *RefreshTokenRequest) Reset() {
|
||
|
*x = RefreshTokenRequest{}
|
||
|
if protoimpl.UnsafeEnabled {
|
||
|
mi := &file_clientapi_mp_auth_auth_proto_msgTypes[5]
|
||
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
|
ms.StoreMessageInfo(mi)
|
||
|
}
|
||
|
}
|
||
|
|
||
|
func (x *RefreshTokenRequest) String() string {
|
||
|
return protoimpl.X.MessageStringOf(x)
|
||
|
}
|
||
|
|
||
|
func (*RefreshTokenRequest) ProtoMessage() {}
|
||
|
|
||
|
func (x *RefreshTokenRequest) ProtoReflect() protoreflect.Message {
|
||
|
mi := &file_clientapi_mp_auth_auth_proto_msgTypes[5]
|
||
|
if protoimpl.UnsafeEnabled && x != nil {
|
||
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
|
if ms.LoadMessageInfo() == nil {
|
||
|
ms.StoreMessageInfo(mi)
|
||
|
}
|
||
|
return ms
|
||
|
}
|
||
|
return mi.MessageOf(x)
|
||
|
}
|
||
|
|
||
|
// Deprecated: Use RefreshTokenRequest.ProtoReflect.Descriptor instead.
|
||
|
func (*RefreshTokenRequest) Descriptor() ([]byte, []int) {
|
||
|
return file_clientapi_mp_auth_auth_proto_rawDescGZIP(), []int{5}
|
||
|
}
|
||
|
|
||
|
func (x *RefreshTokenRequest) GetOpenId() string {
|
||
|
if x != nil {
|
||
|
return x.OpenId
|
||
|
}
|
||
|
return ""
|
||
|
}
|
||
|
|
||
|
type RefreshTokenResponse struct {
|
||
|
state protoimpl.MessageState
|
||
|
sizeCache protoimpl.SizeCache
|
||
|
unknownFields protoimpl.UnknownFields
|
||
|
|
||
|
Token *Token `protobuf:"bytes,1,opt,name=token,proto3" json:"token,omitempty"`
|
||
|
Timestamp *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
|
||
|
}
|
||
|
|
||
|
func (x *RefreshTokenResponse) Reset() {
|
||
|
*x = RefreshTokenResponse{}
|
||
|
if protoimpl.UnsafeEnabled {
|
||
|
mi := &file_clientapi_mp_auth_auth_proto_msgTypes[6]
|
||
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
|
ms.StoreMessageInfo(mi)
|
||
|
}
|
||
|
}
|
||
|
|
||
|
func (x *RefreshTokenResponse) String() string {
|
||
|
return protoimpl.X.MessageStringOf(x)
|
||
|
}
|
||
|
|
||
|
func (*RefreshTokenResponse) ProtoMessage() {}
|
||
|
|
||
|
func (x *RefreshTokenResponse) ProtoReflect() protoreflect.Message {
|
||
|
mi := &file_clientapi_mp_auth_auth_proto_msgTypes[6]
|
||
|
if protoimpl.UnsafeEnabled && x != nil {
|
||
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
|
if ms.LoadMessageInfo() == nil {
|
||
|
ms.StoreMessageInfo(mi)
|
||
|
}
|
||
|
return ms
|
||
|
}
|
||
|
return mi.MessageOf(x)
|
||
|
}
|
||
|
|
||
|
// Deprecated: Use RefreshTokenResponse.ProtoReflect.Descriptor instead.
|
||
|
func (*RefreshTokenResponse) Descriptor() ([]byte, []int) {
|
||
|
return file_clientapi_mp_auth_auth_proto_rawDescGZIP(), []int{6}
|
||
|
}
|
||
|
|
||
|
func (x *RefreshTokenResponse) GetToken() *Token {
|
||
|
if x != nil {
|
||
|
return x.Token
|
||
|
}
|
||
|
return nil
|
||
|
}
|
||
|
|
||
|
func (x *RefreshTokenResponse) GetTimestamp() *timestamppb.Timestamp {
|
||
|
if x != nil {
|
||
|
return x.Timestamp
|
||
|
}
|
||
|
return nil
|
||
|
}
|
||
|
|
||
|
type Userinfo struct {
|
||
|
state protoimpl.MessageState
|
||
|
sizeCache protoimpl.SizeCache
|
||
|
unknownFields protoimpl.UnknownFields
|
||
|
|
||
|
OpenId string `protobuf:"bytes,1,opt,name=open_id,json=openId,proto3" json:"open_id,omitempty"`
|
||
|
NickName string `protobuf:"bytes,2,opt,name=nick_name,json=nickName,proto3" json:"nick_name,omitempty"`
|
||
|
Sex int32 `protobuf:"varint,3,opt,name=sex,proto3" json:"sex,omitempty"`
|
||
|
Province string `protobuf:"bytes,4,opt,name=province,proto3" json:"province,omitempty"`
|
||
|
City string `protobuf:"bytes,5,opt,name=city,proto3" json:"city,omitempty"`
|
||
|
Country string `protobuf:"bytes,6,opt,name=country,proto3" json:"country,omitempty"`
|
||
|
HeadImgUrl string `protobuf:"bytes,7,opt,name=head_img_url,json=headImgUrl,proto3" json:"head_img_url,omitempty"`
|
||
|
Privilege []string `protobuf:"bytes,8,rep,name=privilege,proto3" json:"privilege,omitempty"`
|
||
|
UnionId string `protobuf:"bytes,9,opt,name=union_id,json=unionId,proto3" json:"union_id,omitempty"`
|
||
|
}
|
||
|
|
||
|
func (x *Userinfo) Reset() {
|
||
|
*x = Userinfo{}
|
||
|
if protoimpl.UnsafeEnabled {
|
||
|
mi := &file_clientapi_mp_auth_auth_proto_msgTypes[7]
|
||
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
|
ms.StoreMessageInfo(mi)
|
||
|
}
|
||
|
}
|
||
|
|
||
|
func (x *Userinfo) String() string {
|
||
|
return protoimpl.X.MessageStringOf(x)
|
||
|
}
|
||
|
|
||
|
func (*Userinfo) ProtoMessage() {}
|
||
|
|
||
|
func (x *Userinfo) ProtoReflect() protoreflect.Message {
|
||
|
mi := &file_clientapi_mp_auth_auth_proto_msgTypes[7]
|
||
|
if protoimpl.UnsafeEnabled && x != nil {
|
||
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
|
if ms.LoadMessageInfo() == nil {
|
||
|
ms.StoreMessageInfo(mi)
|
||
|
}
|
||
|
return ms
|
||
|
}
|
||
|
return mi.MessageOf(x)
|
||
|
}
|
||
|
|
||
|
// Deprecated: Use Userinfo.ProtoReflect.Descriptor instead.
|
||
|
func (*Userinfo) Descriptor() ([]byte, []int) {
|
||
|
return file_clientapi_mp_auth_auth_proto_rawDescGZIP(), []int{7}
|
||
|
}
|
||
|
|
||
|
func (x *Userinfo) GetOpenId() string {
|
||
|
if x != nil {
|
||
|
return x.OpenId
|
||
|
}
|
||
|
return ""
|
||
|
}
|
||
|
|
||
|
func (x *Userinfo) GetNickName() string {
|
||
|
if x != nil {
|
||
|
return x.NickName
|
||
|
}
|
||
|
return ""
|
||
|
}
|
||
|
|
||
|
func (x *Userinfo) GetSex() int32 {
|
||
|
if x != nil {
|
||
|
return x.Sex
|
||
|
}
|
||
|
return 0
|
||
|
}
|
||
|
|
||
|
func (x *Userinfo) GetProvince() string {
|
||
|
if x != nil {
|
||
|
return x.Province
|
||
|
}
|
||
|
return ""
|
||
|
}
|
||
|
|
||
|
func (x *Userinfo) GetCity() string {
|
||
|
if x != nil {
|
||
|
return x.City
|
||
|
}
|
||
|
return ""
|
||
|
}
|
||
|
|
||
|
func (x *Userinfo) GetCountry() string {
|
||
|
if x != nil {
|
||
|
return x.Country
|
||
|
}
|
||
|
return ""
|
||
|
}
|
||
|
|
||
|
func (x *Userinfo) GetHeadImgUrl() string {
|
||
|
if x != nil {
|
||
|
return x.HeadImgUrl
|
||
|
}
|
||
|
return ""
|
||
|
}
|
||
|
|
||
|
func (x *Userinfo) GetPrivilege() []string {
|
||
|
if x != nil {
|
||
|
return x.Privilege
|
||
|
}
|
||
|
return nil
|
||
|
}
|
||
|
|
||
|
func (x *Userinfo) GetUnionId() string {
|
||
|
if x != nil {
|
||
|
return x.UnionId
|
||
|
}
|
||
|
return ""
|
||
|
}
|
||
|
|
||
|
type GetUserinfoRequest struct {
|
||
|
state protoimpl.MessageState
|
||
|
sizeCache protoimpl.SizeCache
|
||
|
unknownFields protoimpl.UnknownFields
|
||
|
|
||
|
OpenId string `protobuf:"bytes,1,opt,name=open_id,json=openId,proto3" json:"open_id,omitempty"`
|
||
|
Lang GetUserinfoRequest_Lang `protobuf:"varint,2,opt,name=lang,proto3,enum=lab.weixin.mp.auth.GetUserinfoRequest_Lang" json:"lang,omitempty"`
|
||
|
}
|
||
|
|
||
|
func (x *GetUserinfoRequest) Reset() {
|
||
|
*x = GetUserinfoRequest{}
|
||
|
if protoimpl.UnsafeEnabled {
|
||
|
mi := &file_clientapi_mp_auth_auth_proto_msgTypes[8]
|
||
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
|
ms.StoreMessageInfo(mi)
|
||
|
}
|
||
|
}
|
||
|
|
||
|
func (x *GetUserinfoRequest) String() string {
|
||
|
return protoimpl.X.MessageStringOf(x)
|
||
|
}
|
||
|
|
||
|
func (*GetUserinfoRequest) ProtoMessage() {}
|
||
|
|
||
|
func (x *GetUserinfoRequest) ProtoReflect() protoreflect.Message {
|
||
|
mi := &file_clientapi_mp_auth_auth_proto_msgTypes[8]
|
||
|
if protoimpl.UnsafeEnabled && x != nil {
|
||
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
|
if ms.LoadMessageInfo() == nil {
|
||
|
ms.StoreMessageInfo(mi)
|
||
|
}
|
||
|
return ms
|
||
|
}
|
||
|
return mi.MessageOf(x)
|
||
|
}
|
||
|
|
||
|
// Deprecated: Use GetUserinfoRequest.ProtoReflect.Descriptor instead.
|
||
|
func (*GetUserinfoRequest) Descriptor() ([]byte, []int) {
|
||
|
return file_clientapi_mp_auth_auth_proto_rawDescGZIP(), []int{8}
|
||
|
}
|
||
|
|
||
|
func (x *GetUserinfoRequest) GetOpenId() string {
|
||
|
if x != nil {
|
||
|
return x.OpenId
|
||
|
}
|
||
|
return ""
|
||
|
}
|
||
|
|
||
|
func (x *GetUserinfoRequest) GetLang() GetUserinfoRequest_Lang {
|
||
|
if x != nil {
|
||
|
return x.Lang
|
||
|
}
|
||
|
return GetUserinfoRequest_zh_CN
|
||
|
}
|
||
|
|
||
|
type GetUserinfoResponse struct {
|
||
|
state protoimpl.MessageState
|
||
|
sizeCache protoimpl.SizeCache
|
||
|
unknownFields protoimpl.UnknownFields
|
||
|
|
||
|
Userinfo *Userinfo `protobuf:"bytes,1,opt,name=userinfo,proto3" json:"userinfo,omitempty"`
|
||
|
CreatedTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=created_time,json=createdTime,proto3" json:"created_time,omitempty"`
|
||
|
UpdatedTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=updated_time,json=updatedTime,proto3" json:"updated_time,omitempty"`
|
||
|
}
|
||
|
|
||
|
func (x *GetUserinfoResponse) Reset() {
|
||
|
*x = GetUserinfoResponse{}
|
||
|
if protoimpl.UnsafeEnabled {
|
||
|
mi := &file_clientapi_mp_auth_auth_proto_msgTypes[9]
|
||
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
|
ms.StoreMessageInfo(mi)
|
||
|
}
|
||
|
}
|
||
|
|
||
|
func (x *GetUserinfoResponse) String() string {
|
||
|
return protoimpl.X.MessageStringOf(x)
|
||
|
}
|
||
|
|
||
|
func (*GetUserinfoResponse) ProtoMessage() {}
|
||
|
|
||
|
func (x *GetUserinfoResponse) ProtoReflect() protoreflect.Message {
|
||
|
mi := &file_clientapi_mp_auth_auth_proto_msgTypes[9]
|
||
|
if protoimpl.UnsafeEnabled && x != nil {
|
||
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
|
if ms.LoadMessageInfo() == nil {
|
||
|
ms.StoreMessageInfo(mi)
|
||
|
}
|
||
|
return ms
|
||
|
}
|
||
|
return mi.MessageOf(x)
|
||
|
}
|
||
|
|
||
|
// Deprecated: Use GetUserinfoResponse.ProtoReflect.Descriptor instead.
|
||
|
func (*GetUserinfoResponse) Descriptor() ([]byte, []int) {
|
||
|
return file_clientapi_mp_auth_auth_proto_rawDescGZIP(), []int{9}
|
||
|
}
|
||
|
|
||
|
func (x *GetUserinfoResponse) GetUserinfo() *Userinfo {
|
||
|
if x != nil {
|
||
|
return x.Userinfo
|
||
|
}
|
||
|
return nil
|
||
|
}
|
||
|
|
||
|
func (x *GetUserinfoResponse) GetCreatedTime() *timestamppb.Timestamp {
|
||
|
if x != nil {
|
||
|
return x.CreatedTime
|
||
|
}
|
||
|
return nil
|
||
|
}
|
||
|
|
||
|
func (x *GetUserinfoResponse) GetUpdatedTime() *timestamppb.Timestamp {
|
||
|
if x != nil {
|
||
|
return x.UpdatedTime
|
||
|
}
|
||
|
return nil
|
||
|
}
|
||
|
|
||
|
type SyncUserinfoRequest struct {
|
||
|
state protoimpl.MessageState
|
||
|
sizeCache protoimpl.SizeCache
|
||
|
unknownFields protoimpl.UnknownFields
|
||
|
|
||
|
OpenId string `protobuf:"bytes,1,opt,name=open_id,json=openId,proto3" json:"open_id,omitempty"`
|
||
|
Lang SyncUserinfoRequest_Lang `protobuf:"varint,2,opt,name=lang,proto3,enum=lab.weixin.mp.auth.SyncUserinfoRequest_Lang" json:"lang,omitempty"`
|
||
|
}
|
||
|
|
||
|
func (x *SyncUserinfoRequest) Reset() {
|
||
|
*x = SyncUserinfoRequest{}
|
||
|
if protoimpl.UnsafeEnabled {
|
||
|
mi := &file_clientapi_mp_auth_auth_proto_msgTypes[10]
|
||
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
|
ms.StoreMessageInfo(mi)
|
||
|
}
|
||
|
}
|
||
|
|
||
|
func (x *SyncUserinfoRequest) String() string {
|
||
|
return protoimpl.X.MessageStringOf(x)
|
||
|
}
|
||
|
|
||
|
func (*SyncUserinfoRequest) ProtoMessage() {}
|
||
|
|
||
|
func (x *SyncUserinfoRequest) ProtoReflect() protoreflect.Message {
|
||
|
mi := &file_clientapi_mp_auth_auth_proto_msgTypes[10]
|
||
|
if protoimpl.UnsafeEnabled && x != nil {
|
||
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
|
if ms.LoadMessageInfo() == nil {
|
||
|
ms.StoreMessageInfo(mi)
|
||
|
}
|
||
|
return ms
|
||
|
}
|
||
|
return mi.MessageOf(x)
|
||
|
}
|
||
|
|
||
|
// Deprecated: Use SyncUserinfoRequest.ProtoReflect.Descriptor instead.
|
||
|
func (*SyncUserinfoRequest) Descriptor() ([]byte, []int) {
|
||
|
return file_clientapi_mp_auth_auth_proto_rawDescGZIP(), []int{10}
|
||
|
}
|
||
|
|
||
|
func (x *SyncUserinfoRequest) GetOpenId() string {
|
||
|
if x != nil {
|
||
|
return x.OpenId
|
||
|
}
|
||
|
return ""
|
||
|
}
|
||
|
|
||
|
func (x *SyncUserinfoRequest) GetLang() SyncUserinfoRequest_Lang {
|
||
|
if x != nil {
|
||
|
return x.Lang
|
||
|
}
|
||
|
return SyncUserinfoRequest_zh_CN
|
||
|
}
|
||
|
|
||
|
type SyncUserinfoResponse struct {
|
||
|
state protoimpl.MessageState
|
||
|
sizeCache protoimpl.SizeCache
|
||
|
unknownFields protoimpl.UnknownFields
|
||
|
|
||
|
Userinfo *Userinfo `protobuf:"bytes,1,opt,name=userinfo,proto3" json:"userinfo,omitempty"`
|
||
|
CreatedTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=created_time,json=createdTime,proto3" json:"created_time,omitempty"`
|
||
|
UpdatedTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=updated_time,json=updatedTime,proto3" json:"updated_time,omitempty"`
|
||
|
}
|
||
|
|
||
|
func (x *SyncUserinfoResponse) Reset() {
|
||
|
*x = SyncUserinfoResponse{}
|
||
|
if protoimpl.UnsafeEnabled {
|
||
|
mi := &file_clientapi_mp_auth_auth_proto_msgTypes[11]
|
||
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
|
ms.StoreMessageInfo(mi)
|
||
|
}
|
||
|
}
|
||
|
|
||
|
func (x *SyncUserinfoResponse) String() string {
|
||
|
return protoimpl.X.MessageStringOf(x)
|
||
|
}
|
||
|
|
||
|
func (*SyncUserinfoResponse) ProtoMessage() {}
|
||
|
|
||
|
func (x *SyncUserinfoResponse) ProtoReflect() protoreflect.Message {
|
||
|
mi := &file_clientapi_mp_auth_auth_proto_msgTypes[11]
|
||
|
if protoimpl.UnsafeEnabled && x != nil {
|
||
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
|
if ms.LoadMessageInfo() == nil {
|
||
|
ms.StoreMessageInfo(mi)
|
||
|
}
|
||
|
return ms
|
||
|
}
|
||
|
return mi.MessageOf(x)
|
||
|
}
|
||
|
|
||
|
// Deprecated: Use SyncUserinfoResponse.ProtoReflect.Descriptor instead.
|
||
|
func (*SyncUserinfoResponse) Descriptor() ([]byte, []int) {
|
||
|
return file_clientapi_mp_auth_auth_proto_rawDescGZIP(), []int{11}
|
||
|
}
|
||
|
|
||
|
func (x *SyncUserinfoResponse) GetUserinfo() *Userinfo {
|
||
|
if x != nil {
|
||
|
return x.Userinfo
|
||
|
}
|
||
|
return nil
|
||
|
}
|
||
|
|
||
|
func (x *SyncUserinfoResponse) GetCreatedTime() *timestamppb.Timestamp {
|
||
|
if x != nil {
|
||
|
return x.CreatedTime
|
||
|
}
|
||
|
return nil
|
||
|
}
|
||
|
|
||
|
func (x *SyncUserinfoResponse) GetUpdatedTime() *timestamppb.Timestamp {
|
||
|
if x != nil {
|
||
|
return x.UpdatedTime
|
||
|
}
|
||
|
return nil
|
||
|
}
|
||
|
|
||
|
type ClientCredential struct {
|
||
|
state protoimpl.MessageState
|
||
|
sizeCache protoimpl.SizeCache
|
||
|
unknownFields protoimpl.UnknownFields
|
||
|
|
||
|
AccessToken string `protobuf:"bytes,1,opt,name=access_token,json=accessToken,proto3" json:"access_token,omitempty"`
|
||
|
ExpiresIn int32 `protobuf:"varint,2,opt,name=expires_in,json=expiresIn,proto3" json:"expires_in,omitempty"`
|
||
|
}
|
||
|
|
||
|
func (x *ClientCredential) Reset() {
|
||
|
*x = ClientCredential{}
|
||
|
if protoimpl.UnsafeEnabled {
|
||
|
mi := &file_clientapi_mp_auth_auth_proto_msgTypes[12]
|
||
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
|
ms.StoreMessageInfo(mi)
|
||
|
}
|
||
|
}
|
||
|
|
||
|
func (x *ClientCredential) String() string {
|
||
|
return protoimpl.X.MessageStringOf(x)
|
||
|
}
|
||
|
|
||
|
func (*ClientCredential) ProtoMessage() {}
|
||
|
|
||
|
func (x *ClientCredential) ProtoReflect() protoreflect.Message {
|
||
|
mi := &file_clientapi_mp_auth_auth_proto_msgTypes[12]
|
||
|
if protoimpl.UnsafeEnabled && x != nil {
|
||
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
|
if ms.LoadMessageInfo() == nil {
|
||
|
ms.StoreMessageInfo(mi)
|
||
|
}
|
||
|
return ms
|
||
|
}
|
||
|
return mi.MessageOf(x)
|
||
|
}
|
||
|
|
||
|
// Deprecated: Use ClientCredential.ProtoReflect.Descriptor instead.
|
||
|
func (*ClientCredential) Descriptor() ([]byte, []int) {
|
||
|
return file_clientapi_mp_auth_auth_proto_rawDescGZIP(), []int{12}
|
||
|
}
|
||
|
|
||
|
func (x *ClientCredential) GetAccessToken() string {
|
||
|
if x != nil {
|
||
|
return x.AccessToken
|
||
|
}
|
||
|
return ""
|
||
|
}
|
||
|
|
||
|
func (x *ClientCredential) GetExpiresIn() int32 {
|
||
|
if x != nil {
|
||
|
return x.ExpiresIn
|
||
|
}
|
||
|
return 0
|
||
|
}
|
||
|
|
||
|
type GetClientCredentialResponse struct {
|
||
|
state protoimpl.MessageState
|
||
|
sizeCache protoimpl.SizeCache
|
||
|
unknownFields protoimpl.UnknownFields
|
||
|
|
||
|
ClientCredential *ClientCredential `protobuf:"bytes,1,opt,name=client_credential,json=clientCredential,proto3" json:"client_credential,omitempty"`
|
||
|
Timestamp *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
|
||
|
}
|
||
|
|
||
|
func (x *GetClientCredentialResponse) Reset() {
|
||
|
*x = GetClientCredentialResponse{}
|
||
|
if protoimpl.UnsafeEnabled {
|
||
|
mi := &file_clientapi_mp_auth_auth_proto_msgTypes[13]
|
||
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
|
ms.StoreMessageInfo(mi)
|
||
|
}
|
||
|
}
|
||
|
|
||
|
func (x *GetClientCredentialResponse) String() string {
|
||
|
return protoimpl.X.MessageStringOf(x)
|
||
|
}
|
||
|
|
||
|
func (*GetClientCredentialResponse) ProtoMessage() {}
|
||
|
|
||
|
func (x *GetClientCredentialResponse) ProtoReflect() protoreflect.Message {
|
||
|
mi := &file_clientapi_mp_auth_auth_proto_msgTypes[13]
|
||
|
if protoimpl.UnsafeEnabled && x != nil {
|
||
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
|
if ms.LoadMessageInfo() == nil {
|
||
|
ms.StoreMessageInfo(mi)
|
||
|
}
|
||
|
return ms
|
||
|
}
|
||
|
return mi.MessageOf(x)
|
||
|
}
|
||
|
|
||
|
// Deprecated: Use GetClientCredentialResponse.ProtoReflect.Descriptor instead.
|
||
|
func (*GetClientCredentialResponse) Descriptor() ([]byte, []int) {
|
||
|
return file_clientapi_mp_auth_auth_proto_rawDescGZIP(), []int{13}
|
||
|
}
|
||
|
|
||
|
func (x *GetClientCredentialResponse) GetClientCredential() *ClientCredential {
|
||
|
if x != nil {
|
||
|
return x.ClientCredential
|
||
|
}
|
||
|
return nil
|
||
|
}
|
||
|
|
||
|
func (x *GetClientCredentialResponse) GetTimestamp() *timestamppb.Timestamp {
|
||
|
if x != nil {
|
||
|
return x.Timestamp
|
||
|
}
|
||
|
return nil
|
||
|
}
|
||
|
|
||
|
var File_clientapi_mp_auth_auth_proto protoreflect.FileDescriptor
|
||
|
|
||
|
var file_clientapi_mp_auth_auth_proto_rawDesc = []byte{
|
||
|
0x0a, 0x1c, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x61, 0x70, 0x69, 0x2f, 0x6d, 0x70, 0x2f, 0x61,
|
||
|
0x75, 0x74, 0x68, 0x2f, 0x61, 0x75, 0x74, 0x68, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x12,
|
||
|
0x6c, 0x61, 0x62, 0x2e, 0x77, 0x65, 0x69, 0x78, 0x69, 0x6e, 0x2e, 0x6d, 0x70, 0x2e, 0x61, 0x75,
|
||
|
0x74, 0x68, 0x1a, 0x1c, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x61,
|
||
|
0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f,
|
||
|
0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75,
|
||
|
0x66, 0x2f, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74,
|
||
|
0x6f, 0x1a, 0x1b, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62,
|
||
|
0x75, 0x66, 0x2f, 0x65, 0x6d, 0x70, 0x74, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xbe,
|
||
|
0x01, 0x0a, 0x11, 0x47, 0x65, 0x74, 0x43, 0x6f, 0x64, 0x65, 0x55, 0x52, 0x4c, 0x52, 0x65, 0x71,
|
||
|
0x75, 0x65, 0x73, 0x74, 0x12, 0x21, 0x0a, 0x0c, 0x72, 0x65, 0x64, 0x69, 0x72, 0x65, 0x63, 0x74,
|
||
|
0x5f, 0x75, 0x72, 0x6c, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x72, 0x65, 0x64, 0x69,
|
||
|
0x72, 0x65, 0x63, 0x74, 0x55, 0x72, 0x6c, 0x12, 0x14, 0x0a, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65,
|
||
|
0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x12, 0x41, 0x0a,
|
||
|
0x05, 0x73, 0x63, 0x6f, 0x70, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x2b, 0x2e, 0x6c,
|
||
|
0x61, 0x62, 0x2e, 0x77, 0x65, 0x69, 0x78, 0x69, 0x6e, 0x2e, 0x6d, 0x70, 0x2e, 0x61, 0x75, 0x74,
|
||
|
0x68, 0x2e, 0x47, 0x65, 0x74, 0x43, 0x6f, 0x64, 0x65, 0x55, 0x52, 0x4c, 0x52, 0x65, 0x71, 0x75,
|
||
|
0x65, 0x73, 0x74, 0x2e, 0x53, 0x63, 0x6f, 0x70, 0x65, 0x52, 0x05, 0x73, 0x63, 0x6f, 0x70, 0x65,
|
||
|
0x22, 0x2d, 0x0a, 0x05, 0x53, 0x63, 0x6f, 0x70, 0x65, 0x12, 0x0f, 0x0a, 0x0b, 0x73, 0x6e, 0x73,
|
||
|
0x61, 0x70, 0x69, 0x5f, 0x62, 0x61, 0x73, 0x65, 0x10, 0x00, 0x12, 0x13, 0x0a, 0x0f, 0x73, 0x6e,
|
||
|
0x73, 0x61, 0x70, 0x69, 0x5f, 0x75, 0x73, 0x65, 0x72, 0x69, 0x6e, 0x66, 0x6f, 0x10, 0x01, 0x22,
|
||
|
0x26, 0x0a, 0x12, 0x47, 0x65, 0x74, 0x43, 0x6f, 0x64, 0x65, 0x55, 0x52, 0x4c, 0x52, 0x65, 0x73,
|
||
|
0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x10, 0x0a, 0x03, 0x75, 0x72, 0x6c, 0x18, 0x01, 0x20, 0x01,
|
||
|
0x28, 0x09, 0x52, 0x03, 0x75, 0x72, 0x6c, 0x22, 0x2a, 0x0a, 0x14, 0x45, 0x78, 0x63, 0x68, 0x61,
|
||
|
0x6e, 0x67, 0x65, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12,
|
||
|
0x12, 0x0a, 0x04, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x63,
|
||
|
0x6f, 0x64, 0x65, 0x22, 0x9d, 0x01, 0x0a, 0x05, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x12, 0x21, 0x0a,
|
||
|
0x0c, 0x61, 0x63, 0x63, 0x65, 0x73, 0x73, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x01, 0x20,
|
||
|
0x01, 0x28, 0x09, 0x52, 0x0b, 0x61, 0x63, 0x63, 0x65, 0x73, 0x73, 0x54, 0x6f, 0x6b, 0x65, 0x6e,
|
||
|
0x12, 0x1d, 0x0a, 0x0a, 0x65, 0x78, 0x70, 0x69, 0x72, 0x65, 0x73, 0x5f, 0x69, 0x6e, 0x18, 0x02,
|
||
|
0x20, 0x01, 0x28, 0x05, 0x52, 0x09, 0x65, 0x78, 0x70, 0x69, 0x72, 0x65, 0x73, 0x49, 0x6e, 0x12,
|
||
|
0x23, 0x0a, 0x0d, 0x72, 0x65, 0x66, 0x72, 0x65, 0x73, 0x68, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e,
|
||
|
0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x72, 0x65, 0x66, 0x72, 0x65, 0x73, 0x68, 0x54,
|
||
|
0x6f, 0x6b, 0x65, 0x6e, 0x12, 0x17, 0x0a, 0x07, 0x6f, 0x70, 0x65, 0x6e, 0x5f, 0x69, 0x64, 0x18,
|
||
|
0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x6f, 0x70, 0x65, 0x6e, 0x49, 0x64, 0x12, 0x14, 0x0a,
|
||
|
0x05, 0x73, 0x63, 0x6f, 0x70, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x73, 0x63,
|
||
|
0x6f, 0x70, 0x65, 0x22, 0x82, 0x01, 0x0a, 0x15, 0x45, 0x78, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65,
|
||
|
0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x2f, 0x0a,
|
||
|
0x05, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x6c,
|
||
|
0x61, 0x62, 0x2e, 0x77, 0x65, 0x69, 0x78, 0x69, 0x6e, 0x2e, 0x6d, 0x70, 0x2e, 0x61, 0x75, 0x74,
|
||
|
0x68, 0x2e, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x52, 0x05, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x12, 0x38,
|
||
|
0x0a, 0x09, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x18, 0x02, 0x20, 0x01, 0x28,
|
||
|
0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f,
|
||
|
0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x09, 0x74,
|
||
|
0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x22, 0x2e, 0x0a, 0x13, 0x52, 0x65, 0x66, 0x72,
|
||
|
0x65, 0x73, 0x68, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12,
|
||
|
0x17, 0x0a, 0x07, 0x6f, 0x70, 0x65, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09,
|
||
|
0x52, 0x06, 0x6f, 0x70, 0x65, 0x6e, 0x49, 0x64, 0x22, 0x81, 0x01, 0x0a, 0x14, 0x52, 0x65, 0x66,
|
||
|
0x72, 0x65, 0x73, 0x68, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73,
|
||
|
0x65, 0x12, 0x2f, 0x0a, 0x05, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b,
|
||
|
0x32, 0x19, 0x2e, 0x6c, 0x61, 0x62, 0x2e, 0x77, 0x65, 0x69, 0x78, 0x69, 0x6e, 0x2e, 0x6d, 0x70,
|
||
|
0x2e, 0x61, 0x75, 0x74, 0x68, 0x2e, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x52, 0x05, 0x74, 0x6f, 0x6b,
|
||
|
0x65, 0x6e, 0x12, 0x38, 0x0a, 0x09, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x18,
|
||
|
0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70,
|
||
|
0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d,
|
||
|
0x70, 0x52, 0x09, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x22, 0xf7, 0x01, 0x0a,
|
||
|
0x08, 0x55, 0x73, 0x65, 0x72, 0x69, 0x6e, 0x66, 0x6f, 0x12, 0x17, 0x0a, 0x07, 0x6f, 0x70, 0x65,
|
||
|
0x6e, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x6f, 0x70, 0x65, 0x6e,
|
||
|
0x49, 0x64, 0x12, 0x1b, 0x0a, 0x09, 0x6e, 0x69, 0x63, 0x6b, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18,
|
||
|
0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x6e, 0x69, 0x63, 0x6b, 0x4e, 0x61, 0x6d, 0x65, 0x12,
|
||
|
0x10, 0x0a, 0x03, 0x73, 0x65, 0x78, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x03, 0x73, 0x65,
|
||
|
0x78, 0x12, 0x1a, 0x0a, 0x08, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x6e, 0x63, 0x65, 0x18, 0x04, 0x20,
|
||
|
0x01, 0x28, 0x09, 0x52, 0x08, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x6e, 0x63, 0x65, 0x12, 0x12, 0x0a,
|
||
|
0x04, 0x63, 0x69, 0x74, 0x79, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x63, 0x69, 0x74,
|
||
|
0x79, 0x12, 0x18, 0x0a, 0x07, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x72, 0x79, 0x18, 0x06, 0x20, 0x01,
|
||
|
0x28, 0x09, 0x52, 0x07, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x20, 0x0a, 0x0c, 0x68,
|
||
|
0x65, 0x61, 0x64, 0x5f, 0x69, 0x6d, 0x67, 0x5f, 0x75, 0x72, 0x6c, 0x18, 0x07, 0x20, 0x01, 0x28,
|
||
|
0x09, 0x52, 0x0a, 0x68, 0x65, 0x61, 0x64, 0x49, 0x6d, 0x67, 0x55, 0x72, 0x6c, 0x12, 0x1c, 0x0a,
|
||
|
0x09, 0x70, 0x72, 0x69, 0x76, 0x69, 0x6c, 0x65, 0x67, 0x65, 0x18, 0x08, 0x20, 0x03, 0x28, 0x09,
|
||
|
0x52, 0x09, 0x70, 0x72, 0x69, 0x76, 0x69, 0x6c, 0x65, 0x67, 0x65, 0x12, 0x19, 0x0a, 0x08, 0x75,
|
||
|
0x6e, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x09, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x75,
|
||
|
0x6e, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x22, 0x94, 0x01, 0x0a, 0x12, 0x47, 0x65, 0x74, 0x55, 0x73,
|
||
|
0x65, 0x72, 0x69, 0x6e, 0x66, 0x6f, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x17, 0x0a,
|
||
|
0x07, 0x6f, 0x70, 0x65, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06,
|
||
|
0x6f, 0x70, 0x65, 0x6e, 0x49, 0x64, 0x12, 0x3f, 0x0a, 0x04, 0x6c, 0x61, 0x6e, 0x67, 0x18, 0x02,
|
||
|
0x20, 0x01, 0x28, 0x0e, 0x32, 0x2b, 0x2e, 0x6c, 0x61, 0x62, 0x2e, 0x77, 0x65, 0x69, 0x78, 0x69,
|
||
|
0x6e, 0x2e, 0x6d, 0x70, 0x2e, 0x61, 0x75, 0x74, 0x68, 0x2e, 0x47, 0x65, 0x74, 0x55, 0x73, 0x65,
|
||
|
0x72, 0x69, 0x6e, 0x66, 0x6f, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x2e, 0x4c, 0x61, 0x6e,
|
||
|
0x67, 0x52, 0x04, 0x6c, 0x61, 0x6e, 0x67, 0x22, 0x24, 0x0a, 0x04, 0x4c, 0x61, 0x6e, 0x67, 0x12,
|
||
|
0x09, 0x0a, 0x05, 0x7a, 0x68, 0x5f, 0x43, 0x4e, 0x10, 0x00, 0x12, 0x09, 0x0a, 0x05, 0x7a, 0x68,
|
||
|
0x5f, 0x54, 0x57, 0x10, 0x01, 0x12, 0x06, 0x0a, 0x02, 0x65, 0x6e, 0x10, 0x02, 0x22, 0xcd, 0x01,
|
||
|
0x0a, 0x13, 0x47, 0x65, 0x74, 0x55, 0x73, 0x65, 0x72, 0x69, 0x6e, 0x66, 0x6f, 0x52, 0x65, 0x73,
|
||
|
0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x38, 0x0a, 0x08, 0x75, 0x73, 0x65, 0x72, 0x69, 0x6e, 0x66,
|
||
|
0x6f, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x6c, 0x61, 0x62, 0x2e, 0x77, 0x65,
|
||
|
0x69, 0x78, 0x69, 0x6e, 0x2e, 0x6d, 0x70, 0x2e, 0x61, 0x75, 0x74, 0x68, 0x2e, 0x55, 0x73, 0x65,
|
||
|
0x72, 0x69, 0x6e, 0x66, 0x6f, 0x52, 0x08, 0x75, 0x73, 0x65, 0x72, 0x69, 0x6e, 0x66, 0x6f, 0x12,
|
||
|
0x3d, 0x0a, 0x0c, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18,
|
||
|
0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70,
|
||
|
0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d,
|
||
|
0x70, 0x52, 0x0b, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x3d,
|
||
|
0x0a, 0x0c, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x03,
|
||
|
0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72,
|
||
|
0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70,
|
||
|
0x52, 0x0b, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x64, 0x54, 0x69, 0x6d, 0x65, 0x22, 0x96, 0x01,
|
||
|
0x0a, 0x13, 0x53, 0x79, 0x6e, 0x63, 0x55, 0x73, 0x65, 0x72, 0x69, 0x6e, 0x66, 0x6f, 0x52, 0x65,
|
||
|
0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x17, 0x0a, 0x07, 0x6f, 0x70, 0x65, 0x6e, 0x5f, 0x69, 0x64,
|
||
|
0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x6f, 0x70, 0x65, 0x6e, 0x49, 0x64, 0x12, 0x40,
|
||
|
0x0a, 0x04, 0x6c, 0x61, 0x6e, 0x67, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x2c, 0x2e, 0x6c,
|
||
|
0x61, 0x62, 0x2e, 0x77, 0x65, 0x69, 0x78, 0x69, 0x6e, 0x2e, 0x6d, 0x70, 0x2e, 0x61, 0x75, 0x74,
|
||
|
0x68, 0x2e, 0x53, 0x79, 0x6e, 0x63, 0x55, 0x73, 0x65, 0x72, 0x69, 0x6e, 0x66, 0x6f, 0x52, 0x65,
|
||
|
0x71, 0x75, 0x65, 0x73, 0x74, 0x2e, 0x4c, 0x61, 0x6e, 0x67, 0x52, 0x04, 0x6c, 0x61, 0x6e, 0x67,
|
||
|
0x22, 0x24, 0x0a, 0x04, 0x4c, 0x61, 0x6e, 0x67, 0x12, 0x09, 0x0a, 0x05, 0x7a, 0x68, 0x5f, 0x43,
|
||
|
0x4e, 0x10, 0x00, 0x12, 0x09, 0x0a, 0x05, 0x7a, 0x68, 0x5f, 0x54, 0x57, 0x10, 0x01, 0x12, 0x06,
|
||
|
0x0a, 0x02, 0x65, 0x6e, 0x10, 0x02, 0x22, 0xce, 0x01, 0x0a, 0x14, 0x53, 0x79, 0x6e, 0x63, 0x55,
|
||
|
0x73, 0x65, 0x72, 0x69, 0x6e, 0x66, 0x6f, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12,
|
||
|
0x38, 0x0a, 0x08, 0x75, 0x73, 0x65, 0x72, 0x69, 0x6e, 0x66, 0x6f, 0x18, 0x01, 0x20, 0x01, 0x28,
|
||
|
0x0b, 0x32, 0x1c, 0x2e, 0x6c, 0x61, 0x62, 0x2e, 0x77, 0x65, 0x69, 0x78, 0x69, 0x6e, 0x2e, 0x6d,
|
||
|
0x70, 0x2e, 0x61, 0x75, 0x74, 0x68, 0x2e, 0x55, 0x73, 0x65, 0x72, 0x69, 0x6e, 0x66, 0x6f, 0x52,
|
||
|
0x08, 0x75, 0x73, 0x65, 0x72, 0x69, 0x6e, 0x66, 0x6f, 0x12, 0x3d, 0x0a, 0x0c, 0x63, 0x72, 0x65,
|
||
|
0x61, 0x74, 0x65, 0x64, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32,
|
||
|
0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75,
|
||
|
0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x0b, 0x63, 0x72, 0x65,
|
||
|
0x61, 0x74, 0x65, 0x64, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x3d, 0x0a, 0x0c, 0x75, 0x70, 0x64, 0x61,
|
||
|
0x74, 0x65, 0x64, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a,
|
||
|
0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66,
|
||
|
0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x0b, 0x75, 0x70, 0x64, 0x61,
|
||
|
0x74, 0x65, 0x64, 0x54, 0x69, 0x6d, 0x65, 0x22, 0x54, 0x0a, 0x10, 0x43, 0x6c, 0x69, 0x65, 0x6e,
|
||
|
0x74, 0x43, 0x72, 0x65, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x61, 0x6c, 0x12, 0x21, 0x0a, 0x0c, 0x61,
|
||
|
0x63, 0x63, 0x65, 0x73, 0x73, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28,
|
||
|
0x09, 0x52, 0x0b, 0x61, 0x63, 0x63, 0x65, 0x73, 0x73, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x12, 0x1d,
|
||
|
0x0a, 0x0a, 0x65, 0x78, 0x70, 0x69, 0x72, 0x65, 0x73, 0x5f, 0x69, 0x6e, 0x18, 0x02, 0x20, 0x01,
|
||
|
0x28, 0x05, 0x52, 0x09, 0x65, 0x78, 0x70, 0x69, 0x72, 0x65, 0x73, 0x49, 0x6e, 0x22, 0xaa, 0x01,
|
||
|
0x0a, 0x1b, 0x47, 0x65, 0x74, 0x43, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x43, 0x72, 0x65, 0x64, 0x65,
|
||
|
0x6e, 0x74, 0x69, 0x61, 0x6c, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x51, 0x0a,
|
||
|
0x11, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x5f, 0x63, 0x72, 0x65, 0x64, 0x65, 0x6e, 0x74, 0x69,
|
||
|
0x61, 0x6c, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x24, 0x2e, 0x6c, 0x61, 0x62, 0x2e, 0x77,
|
||
|
0x65, 0x69, 0x78, 0x69, 0x6e, 0x2e, 0x6d, 0x70, 0x2e, 0x61, 0x75, 0x74, 0x68, 0x2e, 0x43, 0x6c,
|
||
|
0x69, 0x65, 0x6e, 0x74, 0x43, 0x72, 0x65, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x61, 0x6c, 0x52, 0x10,
|
||
|
0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x43, 0x72, 0x65, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x61, 0x6c,
|
||
|
0x12, 0x38, 0x0a, 0x09, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x18, 0x02, 0x20,
|
||
|
0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f,
|
||
|
0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52,
|
||
|
0x09, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x32, 0xac, 0x06, 0x0a, 0x0b, 0x41,
|
||
|
0x75, 0x74, 0x68, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x78, 0x0a, 0x0a, 0x47, 0x65,
|
||
|
0x74, 0x43, 0x6f, 0x64, 0x65, 0x55, 0x52, 0x4c, 0x12, 0x25, 0x2e, 0x6c, 0x61, 0x62, 0x2e, 0x77,
|
||
|
0x65, 0x69, 0x78, 0x69, 0x6e, 0x2e, 0x6d, 0x70, 0x2e, 0x61, 0x75, 0x74, 0x68, 0x2e, 0x47, 0x65,
|
||
|
0x74, 0x43, 0x6f, 0x64, 0x65, 0x55, 0x52, 0x4c, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a,
|
||
|
0x26, 0x2e, 0x6c, 0x61, 0x62, 0x2e, 0x77, 0x65, 0x69, 0x78, 0x69, 0x6e, 0x2e, 0x6d, 0x70, 0x2e,
|
||
|
0x61, 0x75, 0x74, 0x68, 0x2e, 0x47, 0x65, 0x74, 0x43, 0x6f, 0x64, 0x65, 0x55, 0x52, 0x4c, 0x52,
|
||
|
0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x1b, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x15, 0x12,
|
||
|
0x13, 0x2f, 0x77, 0x65, 0x69, 0x78, 0x69, 0x6e, 0x2f, 0x6d, 0x70, 0x2f, 0x61, 0x75, 0x74, 0x68,
|
||
|
0x2f, 0x75, 0x72, 0x6c, 0x12, 0x83, 0x01, 0x0a, 0x0d, 0x45, 0x78, 0x63, 0x68, 0x61, 0x6e, 0x67,
|
||
|
0x65, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x12, 0x28, 0x2e, 0x6c, 0x61, 0x62, 0x2e, 0x77, 0x65, 0x69,
|
||
|
0x78, 0x69, 0x6e, 0x2e, 0x6d, 0x70, 0x2e, 0x61, 0x75, 0x74, 0x68, 0x2e, 0x45, 0x78, 0x63, 0x68,
|
||
|
0x61, 0x6e, 0x67, 0x65, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74,
|
||
|
0x1a, 0x29, 0x2e, 0x6c, 0x61, 0x62, 0x2e, 0x77, 0x65, 0x69, 0x78, 0x69, 0x6e, 0x2e, 0x6d, 0x70,
|
||
|
0x2e, 0x61, 0x75, 0x74, 0x68, 0x2e, 0x45, 0x78, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x54, 0x6f,
|
||
|
0x6b, 0x65, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x1d, 0x82, 0xd3, 0xe4,
|
||
|
0x93, 0x02, 0x17, 0x12, 0x15, 0x2f, 0x77, 0x65, 0x69, 0x78, 0x69, 0x6e, 0x2f, 0x6d, 0x70, 0x2f,
|
||
|
0x61, 0x75, 0x74, 0x68, 0x2f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x12, 0x83, 0x01, 0x0a, 0x0c, 0x52,
|
||
|
0x65, 0x66, 0x72, 0x65, 0x73, 0x68, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x12, 0x27, 0x2e, 0x6c, 0x61,
|
||
|
0x62, 0x2e, 0x77, 0x65, 0x69, 0x78, 0x69, 0x6e, 0x2e, 0x6d, 0x70, 0x2e, 0x61, 0x75, 0x74, 0x68,
|
||
|
0x2e, 0x52, 0x65, 0x66, 0x72, 0x65, 0x73, 0x68, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x52, 0x65, 0x71,
|
||
|
0x75, 0x65, 0x73, 0x74, 0x1a, 0x28, 0x2e, 0x6c, 0x61, 0x62, 0x2e, 0x77, 0x65, 0x69, 0x78, 0x69,
|
||
|
0x6e, 0x2e, 0x6d, 0x70, 0x2e, 0x61, 0x75, 0x74, 0x68, 0x2e, 0x52, 0x65, 0x66, 0x72, 0x65, 0x73,
|
||
|
0x68, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x20,
|
||
|
0x82, 0xd3, 0xe4, 0x93, 0x02, 0x1a, 0x22, 0x15, 0x2f, 0x77, 0x65, 0x69, 0x78, 0x69, 0x6e, 0x2f,
|
||
|
0x6d, 0x70, 0x2f, 0x61, 0x75, 0x74, 0x68, 0x2f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x3a, 0x01, 0x2a,
|
||
|
0x12, 0x80, 0x01, 0x0a, 0x0b, 0x47, 0x65, 0x74, 0x55, 0x73, 0x65, 0x72, 0x69, 0x6e, 0x66, 0x6f,
|
||
|
0x12, 0x26, 0x2e, 0x6c, 0x61, 0x62, 0x2e, 0x77, 0x65, 0x69, 0x78, 0x69, 0x6e, 0x2e, 0x6d, 0x70,
|
||
|
0x2e, 0x61, 0x75, 0x74, 0x68, 0x2e, 0x47, 0x65, 0x74, 0x55, 0x73, 0x65, 0x72, 0x69, 0x6e, 0x66,
|
||
|
0x6f, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x27, 0x2e, 0x6c, 0x61, 0x62, 0x2e, 0x77,
|
||
|
0x65, 0x69, 0x78, 0x69, 0x6e, 0x2e, 0x6d, 0x70, 0x2e, 0x61, 0x75, 0x74, 0x68, 0x2e, 0x47, 0x65,
|
||
|
0x74, 0x55, 0x73, 0x65, 0x72, 0x69, 0x6e, 0x66, 0x6f, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73,
|
||
|
0x65, 0x22, 0x20, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x1a, 0x12, 0x18, 0x2f, 0x77, 0x65, 0x69, 0x78,
|
||
|
0x69, 0x6e, 0x2f, 0x6d, 0x70, 0x2f, 0x61, 0x75, 0x74, 0x68, 0x2f, 0x75, 0x73, 0x65, 0x72, 0x69,
|
||
|
0x6e, 0x66, 0x6f, 0x12, 0x88, 0x01, 0x0a, 0x0c, 0x53, 0x79, 0x6e, 0x63, 0x55, 0x73, 0x65, 0x72,
|
||
|
0x69, 0x6e, 0x66, 0x6f, 0x12, 0x27, 0x2e, 0x6c, 0x61, 0x62, 0x2e, 0x77, 0x65, 0x69, 0x78, 0x69,
|
||
|
0x6e, 0x2e, 0x6d, 0x70, 0x2e, 0x61, 0x75, 0x74, 0x68, 0x2e, 0x53, 0x79, 0x6e, 0x63, 0x55, 0x73,
|
||
|
0x65, 0x72, 0x69, 0x6e, 0x66, 0x6f, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x28, 0x2e,
|
||
|
0x6c, 0x61, 0x62, 0x2e, 0x77, 0x65, 0x69, 0x78, 0x69, 0x6e, 0x2e, 0x6d, 0x70, 0x2e, 0x61, 0x75,
|
||
|
0x74, 0x68, 0x2e, 0x53, 0x79, 0x6e, 0x63, 0x55, 0x73, 0x65, 0x72, 0x69, 0x6e, 0x66, 0x6f, 0x52,
|
||
|
0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x25, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x1f, 0x12,
|
||
|
0x1d, 0x2f, 0x77, 0x65, 0x69, 0x78, 0x69, 0x6e, 0x2f, 0x6d, 0x70, 0x2f, 0x61, 0x75, 0x74, 0x68,
|
||
|
0x2f, 0x75, 0x73, 0x65, 0x72, 0x69, 0x6e, 0x66, 0x6f, 0x2f, 0x73, 0x79, 0x6e, 0x63, 0x12, 0x88,
|
||
|
0x01, 0x0a, 0x13, 0x47, 0x65, 0x74, 0x43, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x43, 0x72, 0x65, 0x64,
|
||
|
0x65, 0x6e, 0x74, 0x69, 0x61, 0x6c, 0x12, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e,
|
||
|
0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x1a, 0x2f,
|
||
|
0x2e, 0x6c, 0x61, 0x62, 0x2e, 0x77, 0x65, 0x69, 0x78, 0x69, 0x6e, 0x2e, 0x6d, 0x70, 0x2e, 0x61,
|
||
|
0x75, 0x74, 0x68, 0x2e, 0x47, 0x65, 0x74, 0x43, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x43, 0x72, 0x65,
|
||
|
0x64, 0x65, 0x6e, 0x74, 0x69, 0x61, 0x6c, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22,
|
||
|
0x28, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x22, 0x12, 0x20, 0x2f, 0x77, 0x65, 0x69, 0x78, 0x69, 0x6e,
|
||
|
0x2f, 0x6d, 0x70, 0x2f, 0x61, 0x75, 0x74, 0x68, 0x2f, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x63,
|
||
|
0x72, 0x65, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x61, 0x6c, 0x42, 0x30, 0x5a, 0x2e, 0x67, 0x69, 0x74,
|
||
|
0x2e, 0x65, 0x73, 0x69, 0x6e, 0x2e, 0x69, 0x6f, 0x2f, 0x6c, 0x61, 0x62, 0x2f, 0x77, 0x65, 0x69,
|
||
|
0x78, 0x69, 0x6e, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x6d, 0x70, 0x2f,
|
||
|
0x61, 0x75, 0x74, 0x68, 0x3b, 0x61, 0x75, 0x74, 0x68, 0x70, 0x62, 0x62, 0x06, 0x70, 0x72, 0x6f,
|
||
|
0x74, 0x6f, 0x33,
|
||
|
}
|
||
|
|
||
|
var (
|
||
|
file_clientapi_mp_auth_auth_proto_rawDescOnce sync.Once
|
||
|
file_clientapi_mp_auth_auth_proto_rawDescData = file_clientapi_mp_auth_auth_proto_rawDesc
|
||
|
)
|
||
|
|
||
|
func file_clientapi_mp_auth_auth_proto_rawDescGZIP() []byte {
|
||
|
file_clientapi_mp_auth_auth_proto_rawDescOnce.Do(func() {
|
||
|
file_clientapi_mp_auth_auth_proto_rawDescData = protoimpl.X.CompressGZIP(file_clientapi_mp_auth_auth_proto_rawDescData)
|
||
|
})
|
||
|
return file_clientapi_mp_auth_auth_proto_rawDescData
|
||
|
}
|
||
|
|
||
|
var file_clientapi_mp_auth_auth_proto_enumTypes = make([]protoimpl.EnumInfo, 3)
|
||
|
var file_clientapi_mp_auth_auth_proto_msgTypes = make([]protoimpl.MessageInfo, 14)
|
||
|
var file_clientapi_mp_auth_auth_proto_goTypes = []interface{}{
|
||
|
(GetCodeURLRequest_Scope)(0), // 0: lab.weixin.mp.auth.GetCodeURLRequest.Scope
|
||
|
(GetUserinfoRequest_Lang)(0), // 1: lab.weixin.mp.auth.GetUserinfoRequest.Lang
|
||
|
(SyncUserinfoRequest_Lang)(0), // 2: lab.weixin.mp.auth.SyncUserinfoRequest.Lang
|
||
|
(*GetCodeURLRequest)(nil), // 3: lab.weixin.mp.auth.GetCodeURLRequest
|
||
|
(*GetCodeURLResponse)(nil), // 4: lab.weixin.mp.auth.GetCodeURLResponse
|
||
|
(*ExchangeTokenRequest)(nil), // 5: lab.weixin.mp.auth.ExchangeTokenRequest
|
||
|
(*Token)(nil), // 6: lab.weixin.mp.auth.Token
|
||
|
(*ExchangeTokenResponse)(nil), // 7: lab.weixin.mp.auth.ExchangeTokenResponse
|
||
|
(*RefreshTokenRequest)(nil), // 8: lab.weixin.mp.auth.RefreshTokenRequest
|
||
|
(*RefreshTokenResponse)(nil), // 9: lab.weixin.mp.auth.RefreshTokenResponse
|
||
|
(*Userinfo)(nil), // 10: lab.weixin.mp.auth.Userinfo
|
||
|
(*GetUserinfoRequest)(nil), // 11: lab.weixin.mp.auth.GetUserinfoRequest
|
||
|
(*GetUserinfoResponse)(nil), // 12: lab.weixin.mp.auth.GetUserinfoResponse
|
||
|
(*SyncUserinfoRequest)(nil), // 13: lab.weixin.mp.auth.SyncUserinfoRequest
|
||
|
(*SyncUserinfoResponse)(nil), // 14: lab.weixin.mp.auth.SyncUserinfoResponse
|
||
|
(*ClientCredential)(nil), // 15: lab.weixin.mp.auth.ClientCredential
|
||
|
(*GetClientCredentialResponse)(nil), // 16: lab.weixin.mp.auth.GetClientCredentialResponse
|
||
|
(*timestamppb.Timestamp)(nil), // 17: google.protobuf.Timestamp
|
||
|
(*emptypb.Empty)(nil), // 18: google.protobuf.Empty
|
||
|
}
|
||
|
var file_clientapi_mp_auth_auth_proto_depIdxs = []int32{
|
||
|
0, // 0: lab.weixin.mp.auth.GetCodeURLRequest.scope:type_name -> lab.weixin.mp.auth.GetCodeURLRequest.Scope
|
||
|
6, // 1: lab.weixin.mp.auth.ExchangeTokenResponse.token:type_name -> lab.weixin.mp.auth.Token
|
||
|
17, // 2: lab.weixin.mp.auth.ExchangeTokenResponse.timestamp:type_name -> google.protobuf.Timestamp
|
||
|
6, // 3: lab.weixin.mp.auth.RefreshTokenResponse.token:type_name -> lab.weixin.mp.auth.Token
|
||
|
17, // 4: lab.weixin.mp.auth.RefreshTokenResponse.timestamp:type_name -> google.protobuf.Timestamp
|
||
|
1, // 5: lab.weixin.mp.auth.GetUserinfoRequest.lang:type_name -> lab.weixin.mp.auth.GetUserinfoRequest.Lang
|
||
|
10, // 6: lab.weixin.mp.auth.GetUserinfoResponse.userinfo:type_name -> lab.weixin.mp.auth.Userinfo
|
||
|
17, // 7: lab.weixin.mp.auth.GetUserinfoResponse.created_time:type_name -> google.protobuf.Timestamp
|
||
|
17, // 8: lab.weixin.mp.auth.GetUserinfoResponse.updated_time:type_name -> google.protobuf.Timestamp
|
||
|
2, // 9: lab.weixin.mp.auth.SyncUserinfoRequest.lang:type_name -> lab.weixin.mp.auth.SyncUserinfoRequest.Lang
|
||
|
10, // 10: lab.weixin.mp.auth.SyncUserinfoResponse.userinfo:type_name -> lab.weixin.mp.auth.Userinfo
|
||
|
17, // 11: lab.weixin.mp.auth.SyncUserinfoResponse.created_time:type_name -> google.protobuf.Timestamp
|
||
|
17, // 12: lab.weixin.mp.auth.SyncUserinfoResponse.updated_time:type_name -> google.protobuf.Timestamp
|
||
|
15, // 13: lab.weixin.mp.auth.GetClientCredentialResponse.client_credential:type_name -> lab.weixin.mp.auth.ClientCredential
|
||
|
17, // 14: lab.weixin.mp.auth.GetClientCredentialResponse.timestamp:type_name -> google.protobuf.Timestamp
|
||
|
3, // 15: lab.weixin.mp.auth.AuthService.GetCodeURL:input_type -> lab.weixin.mp.auth.GetCodeURLRequest
|
||
|
5, // 16: lab.weixin.mp.auth.AuthService.ExchangeToken:input_type -> lab.weixin.mp.auth.ExchangeTokenRequest
|
||
|
8, // 17: lab.weixin.mp.auth.AuthService.RefreshToken:input_type -> lab.weixin.mp.auth.RefreshTokenRequest
|
||
|
11, // 18: lab.weixin.mp.auth.AuthService.GetUserinfo:input_type -> lab.weixin.mp.auth.GetUserinfoRequest
|
||
|
13, // 19: lab.weixin.mp.auth.AuthService.SyncUserinfo:input_type -> lab.weixin.mp.auth.SyncUserinfoRequest
|
||
|
18, // 20: lab.weixin.mp.auth.AuthService.GetClientCredential:input_type -> google.protobuf.Empty
|
||
|
4, // 21: lab.weixin.mp.auth.AuthService.GetCodeURL:output_type -> lab.weixin.mp.auth.GetCodeURLResponse
|
||
|
7, // 22: lab.weixin.mp.auth.AuthService.ExchangeToken:output_type -> lab.weixin.mp.auth.ExchangeTokenResponse
|
||
|
9, // 23: lab.weixin.mp.auth.AuthService.RefreshToken:output_type -> lab.weixin.mp.auth.RefreshTokenResponse
|
||
|
12, // 24: lab.weixin.mp.auth.AuthService.GetUserinfo:output_type -> lab.weixin.mp.auth.GetUserinfoResponse
|
||
|
14, // 25: lab.weixin.mp.auth.AuthService.SyncUserinfo:output_type -> lab.weixin.mp.auth.SyncUserinfoResponse
|
||
|
16, // 26: lab.weixin.mp.auth.AuthService.GetClientCredential:output_type -> lab.weixin.mp.auth.GetClientCredentialResponse
|
||
|
21, // [21:27] is the sub-list for method output_type
|
||
|
15, // [15:21] is the sub-list for method input_type
|
||
|
15, // [15:15] is the sub-list for extension type_name
|
||
|
15, // [15:15] is the sub-list for extension extendee
|
||
|
0, // [0:15] is the sub-list for field type_name
|
||
|
}
|
||
|
|
||
|
func init() { file_clientapi_mp_auth_auth_proto_init() }
|
||
|
func file_clientapi_mp_auth_auth_proto_init() {
|
||
|
if File_clientapi_mp_auth_auth_proto != nil {
|
||
|
return
|
||
|
}
|
||
|
if !protoimpl.UnsafeEnabled {
|
||
|
file_clientapi_mp_auth_auth_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
|
||
|
switch v := v.(*GetCodeURLRequest); i {
|
||
|
case 0:
|
||
|
return &v.state
|
||
|
case 1:
|
||
|
return &v.sizeCache
|
||
|
case 2:
|
||
|
return &v.unknownFields
|
||
|
default:
|
||
|
return nil
|
||
|
}
|
||
|
}
|
||
|
file_clientapi_mp_auth_auth_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
|
||
|
switch v := v.(*GetCodeURLResponse); i {
|
||
|
case 0:
|
||
|
return &v.state
|
||
|
case 1:
|
||
|
return &v.sizeCache
|
||
|
case 2:
|
||
|
return &v.unknownFields
|
||
|
default:
|
||
|
return nil
|
||
|
}
|
||
|
}
|
||
|
file_clientapi_mp_auth_auth_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
|
||
|
switch v := v.(*ExchangeTokenRequest); i {
|
||
|
case 0:
|
||
|
return &v.state
|
||
|
case 1:
|
||
|
return &v.sizeCache
|
||
|
case 2:
|
||
|
return &v.unknownFields
|
||
|
default:
|
||
|
return nil
|
||
|
}
|
||
|
}
|
||
|
file_clientapi_mp_auth_auth_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
|
||
|
switch v := v.(*Token); i {
|
||
|
case 0:
|
||
|
return &v.state
|
||
|
case 1:
|
||
|
return &v.sizeCache
|
||
|
case 2:
|
||
|
return &v.unknownFields
|
||
|
default:
|
||
|
return nil
|
||
|
}
|
||
|
}
|
||
|
file_clientapi_mp_auth_auth_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
|
||
|
switch v := v.(*ExchangeTokenResponse); i {
|
||
|
case 0:
|
||
|
return &v.state
|
||
|
case 1:
|
||
|
return &v.sizeCache
|
||
|
case 2:
|
||
|
return &v.unknownFields
|
||
|
default:
|
||
|
return nil
|
||
|
}
|
||
|
}
|
||
|
file_clientapi_mp_auth_auth_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
|
||
|
switch v := v.(*RefreshTokenRequest); i {
|
||
|
case 0:
|
||
|
return &v.state
|
||
|
case 1:
|
||
|
return &v.sizeCache
|
||
|
case 2:
|
||
|
return &v.unknownFields
|
||
|
default:
|
||
|
return nil
|
||
|
}
|
||
|
}
|
||
|
file_clientapi_mp_auth_auth_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
|
||
|
switch v := v.(*RefreshTokenResponse); i {
|
||
|
case 0:
|
||
|
return &v.state
|
||
|
case 1:
|
||
|
return &v.sizeCache
|
||
|
case 2:
|
||
|
return &v.unknownFields
|
||
|
default:
|
||
|
return nil
|
||
|
}
|
||
|
}
|
||
|
file_clientapi_mp_auth_auth_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} {
|
||
|
switch v := v.(*Userinfo); i {
|
||
|
case 0:
|
||
|
return &v.state
|
||
|
case 1:
|
||
|
return &v.sizeCache
|
||
|
case 2:
|
||
|
return &v.unknownFields
|
||
|
default:
|
||
|
return nil
|
||
|
}
|
||
|
}
|
||
|
file_clientapi_mp_auth_auth_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} {
|
||
|
switch v := v.(*GetUserinfoRequest); i {
|
||
|
case 0:
|
||
|
return &v.state
|
||
|
case 1:
|
||
|
return &v.sizeCache
|
||
|
case 2:
|
||
|
return &v.unknownFields
|
||
|
default:
|
||
|
return nil
|
||
|
}
|
||
|
}
|
||
|
file_clientapi_mp_auth_auth_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} {
|
||
|
switch v := v.(*GetUserinfoResponse); i {
|
||
|
case 0:
|
||
|
return &v.state
|
||
|
case 1:
|
||
|
return &v.sizeCache
|
||
|
case 2:
|
||
|
return &v.unknownFields
|
||
|
default:
|
||
|
return nil
|
||
|
}
|
||
|
}
|
||
|
file_clientapi_mp_auth_auth_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} {
|
||
|
switch v := v.(*SyncUserinfoRequest); i {
|
||
|
case 0:
|
||
|
return &v.state
|
||
|
case 1:
|
||
|
return &v.sizeCache
|
||
|
case 2:
|
||
|
return &v.unknownFields
|
||
|
default:
|
||
|
return nil
|
||
|
}
|
||
|
}
|
||
|
file_clientapi_mp_auth_auth_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} {
|
||
|
switch v := v.(*SyncUserinfoResponse); i {
|
||
|
case 0:
|
||
|
return &v.state
|
||
|
case 1:
|
||
|
return &v.sizeCache
|
||
|
case 2:
|
||
|
return &v.unknownFields
|
||
|
default:
|
||
|
return nil
|
||
|
}
|
||
|
}
|
||
|
file_clientapi_mp_auth_auth_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} {
|
||
|
switch v := v.(*ClientCredential); i {
|
||
|
case 0:
|
||
|
return &v.state
|
||
|
case 1:
|
||
|
return &v.sizeCache
|
||
|
case 2:
|
||
|
return &v.unknownFields
|
||
|
default:
|
||
|
return nil
|
||
|
}
|
||
|
}
|
||
|
file_clientapi_mp_auth_auth_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} {
|
||
|
switch v := v.(*GetClientCredentialResponse); i {
|
||
|
case 0:
|
||
|
return &v.state
|
||
|
case 1:
|
||
|
return &v.sizeCache
|
||
|
case 2:
|
||
|
return &v.unknownFields
|
||
|
default:
|
||
|
return nil
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
type x struct{}
|
||
|
out := protoimpl.TypeBuilder{
|
||
|
File: protoimpl.DescBuilder{
|
||
|
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
||
|
RawDescriptor: file_clientapi_mp_auth_auth_proto_rawDesc,
|
||
|
NumEnums: 3,
|
||
|
NumMessages: 14,
|
||
|
NumExtensions: 0,
|
||
|
NumServices: 1,
|
||
|
},
|
||
|
GoTypes: file_clientapi_mp_auth_auth_proto_goTypes,
|
||
|
DependencyIndexes: file_clientapi_mp_auth_auth_proto_depIdxs,
|
||
|
EnumInfos: file_clientapi_mp_auth_auth_proto_enumTypes,
|
||
|
MessageInfos: file_clientapi_mp_auth_auth_proto_msgTypes,
|
||
|
}.Build()
|
||
|
File_clientapi_mp_auth_auth_proto = out.File
|
||
|
file_clientapi_mp_auth_auth_proto_rawDesc = nil
|
||
|
file_clientapi_mp_auth_auth_proto_goTypes = nil
|
||
|
file_clientapi_mp_auth_auth_proto_depIdxs = nil
|
||
|
}
|