// Code generated by protoc-gen-go-grpc-proxy. DO NOT EDIT.
// versions:
// - protoc-gen-go-grpc-proxy v1.2.0
// - protoc             (unknown)
// source: user/api/auth/v1/idp.proto

package v1

import (
	context "context"
	grpc "google.golang.org/grpc"
)

// This is a compile-time assertion to ensure that this generated file
// is compatible with the grpc package it is being compiled against.
// Requires gRPC-Go v1.32.0 or later.
const _ = grpc.SupportPackageIsVersion7

var _ WeChatAuthServiceServer = (*weChatAuthServiceClientProxy)(nil)

// weChatAuthServiceClientProxy is the proxy to turn WeChatAuthService client to server interface.
type weChatAuthServiceClientProxy struct {
	cc WeChatAuthServiceClient
}

func NewWeChatAuthServiceClientProxy(cc WeChatAuthServiceClient) WeChatAuthServiceServer {
	return &weChatAuthServiceClientProxy{cc}
}

func (c *weChatAuthServiceClientProxy) MiniProgramCode(ctx context.Context, in *WechatMiniProgramCodeReq) (*WeChatLoginReply, error) {
	return c.cc.MiniProgramCode(ctx, in)
}
func (c *weChatAuthServiceClientProxy) MiniProgramPhoneCode(ctx context.Context, in *WechatMiniProgramPhoneCodeReq) (*WeChatLoginReply, error) {
	return c.cc.MiniProgramPhoneCode(ctx, in)
}
