// Code generated by protoc-gen-slc. DO NOT EDIT.
package server

import (
	"bsm/full/module/base/passport/internal/logic/login"
	pb "bsm/full/module/base/passport/pb"
	"context"
)

type LoginServer struct {
	pb.UnimplementedLoginServer
}

func NewLoginServer() *LoginServer {
	return &LoginServer{}
}

// 通过密码登录
func (s *LoginServer) Pwd(ctx context.Context, in *pb.LoginByPwdRequest) (*pb.LoginReply, error) {
	return login.Pwd(ctx, in)
}

// 通过验证码登录
func (s *LoginServer) Code(ctx context.Context, in *pb.LoginByCodeRequest) (*pb.LoginReply, error) {
	return login.Code(ctx, in)
}

// 通过验证码快捷登录并注册
func (s *LoginServer) Quick(ctx context.Context, in *pb.LoginByCodeRequest) (*pb.LoginReply, error) {
	return login.Quick(ctx, in)
}
