Documentation ¶
Index ¶
- type DeviceAuthServer
- func (s *DeviceAuthServer) AccessAuth(ctx context.Context, in *dm.AccessAuthReq) (*dm.Response, error)
- func (s *DeviceAuthServer) DeviceRegister(ctx context.Context, in *dm.DeviceRegisterReq) (*dm.DeviceRegisterResp, error)
- func (s *DeviceAuthServer) LoginAuth(ctx context.Context, in *dm.LoginAuthReq) (*dm.Response, error)
- func (s *DeviceAuthServer) RootCheck(ctx context.Context, in *dm.RootCheckReq) (*dm.Response, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DeviceAuthServer ¶
type DeviceAuthServer struct { dm.UnimplementedDeviceAuthServer // contains filtered or unexported fields }
func NewDeviceAuthServer ¶
func NewDeviceAuthServer(svcCtx *svc.ServiceContext) *DeviceAuthServer
func (*DeviceAuthServer) AccessAuth ¶
func (s *DeviceAuthServer) AccessAuth(ctx context.Context, in *dm.AccessAuthReq) (*dm.Response, error)
设备操作认证
func (*DeviceAuthServer) DeviceRegister ¶ added in v0.5.1
func (s *DeviceAuthServer) DeviceRegister(ctx context.Context, in *dm.DeviceRegisterReq) (*dm.DeviceRegisterResp, error)
设备动态注册
func (*DeviceAuthServer) LoginAuth ¶
func (s *DeviceAuthServer) LoginAuth(ctx context.Context, in *dm.LoginAuthReq) (*dm.Response, error)
设备登录认证
func (*DeviceAuthServer) RootCheck ¶
func (s *DeviceAuthServer) RootCheck(ctx context.Context, in *dm.RootCheckReq) (*dm.Response, error)
鉴定是否是root账号
Click to show internal directories.
Click to hide internal directories.