// ================================================================================
// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT.
// You can delete these comments if you wish manually maintain this interface file.
// ================================================================================

package service

import (
	"context"
)

type (
	IBaseUserInfo interface {
		TotpValidate(ctx context.Context, totpCode string) (isPass bool, err error)
	}
)

var (
	localBaseUserInfo IBaseUserInfo
)

func BaseUserInfo() IBaseUserInfo {
	if localBaseUserInfo == nil {
		panic("implement not found for interface IBaseUserInfo, forgot register?")
	}
	return localBaseUserInfo
}

func RegisterBaseUserInfo(i IBaseUserInfo) {
	localBaseUserInfo = i
}
