deviceauth

package
v0.6.4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 24, 2023 License: AGPL-3.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AccessAuthReq

type AccessAuthReq = dm.AccessAuthReq

type DeviceAuth

type DeviceAuth interface {
	// 设备登录认证
	LoginAuth(ctx context.Context, in *LoginAuthReq, opts ...grpc.CallOption) (*Response, error)
	// 设备操作认证
	AccessAuth(ctx context.Context, in *AccessAuthReq, opts ...grpc.CallOption) (*Response, error)
	// 鉴定是否是root账号
	RootCheck(ctx context.Context, in *RootCheckReq, opts ...grpc.CallOption) (*Response, error)
	// 设备动态注册
	DeviceRegister(ctx context.Context, in *DeviceRegisterReq, opts ...grpc.CallOption) (*DeviceRegisterResp, error)
}

func NewDeviceAuth

func NewDeviceAuth(cli zrpc.Client) DeviceAuth

func NewDirectDeviceAuth

func NewDirectDeviceAuth(svcCtx *svc.ServiceContext, svr dm.DeviceAuthServer) DeviceAuth

type DeviceCore added in v0.3.0

type DeviceCore = dm.DeviceCore

type DeviceGatewayBindDevice added in v0.5.1

type DeviceGatewayBindDevice = dm.DeviceGatewayBindDevice

type DeviceGatewayIndexReq added in v0.3.0

type DeviceGatewayIndexReq = dm.DeviceGatewayIndexReq

type DeviceGatewayIndexResp added in v0.3.0

type DeviceGatewayIndexResp = dm.DeviceGatewayIndexResp

type DeviceGatewayMultiCreateReq added in v0.3.0

type DeviceGatewayMultiCreateReq = dm.DeviceGatewayMultiCreateReq

type DeviceGatewayMultiDeleteReq added in v0.3.0

type DeviceGatewayMultiDeleteReq = dm.DeviceGatewayMultiDeleteReq

type DeviceGatewaySign added in v0.5.1

type DeviceGatewaySign = dm.DeviceGatewaySign

type DeviceInfo

type DeviceInfo = dm.DeviceInfo

type DeviceInfoCountReq added in v0.3.0

type DeviceInfoCountReq = dm.DeviceInfoCountReq

type DeviceInfoCountResp added in v0.3.0

type DeviceInfoCountResp = dm.DeviceInfoCountResp

type DeviceInfoDeleteReq

type DeviceInfoDeleteReq = dm.DeviceInfoDeleteReq

type DeviceInfoIndexReq

type DeviceInfoIndexReq = dm.DeviceInfoIndexReq

type DeviceInfoIndexResp

type DeviceInfoIndexResp = dm.DeviceInfoIndexResp

type DeviceInfoReadReq

type DeviceInfoReadReq = dm.DeviceInfoReadReq

type DeviceRegisterReq added in v0.5.1

type DeviceRegisterReq = dm.DeviceRegisterReq

type DeviceRegisterResp added in v0.5.1

type DeviceRegisterResp = dm.DeviceRegisterResp

type DeviceTypeCountReq added in v0.3.0

type DeviceTypeCountReq = dm.DeviceTypeCountReq

type DeviceTypeCountResp added in v0.3.0

type DeviceTypeCountResp = dm.DeviceTypeCountResp

type GroupDeviceIndexReq

type GroupDeviceIndexReq = dm.GroupDeviceIndexReq

type GroupDeviceIndexResp

type GroupDeviceIndexResp = dm.GroupDeviceIndexResp

type GroupDeviceMultiCreateReq added in v0.3.0

type GroupDeviceMultiCreateReq = dm.GroupDeviceMultiCreateReq

type GroupDeviceMultiDeleteReq added in v0.3.0

type GroupDeviceMultiDeleteReq = dm.GroupDeviceMultiDeleteReq

type GroupInfo

type GroupInfo = dm.GroupInfo

type GroupInfoCreateReq

type GroupInfoCreateReq = dm.GroupInfoCreateReq

type GroupInfoDeleteReq

type GroupInfoDeleteReq = dm.GroupInfoDeleteReq

type GroupInfoIndexReq

type GroupInfoIndexReq = dm.GroupInfoIndexReq

type GroupInfoIndexResp

type GroupInfoIndexResp = dm.GroupInfoIndexResp

type GroupInfoReadReq

type GroupInfoReadReq = dm.GroupInfoReadReq

type GroupInfoUpdateReq

type GroupInfoUpdateReq = dm.GroupInfoUpdateReq

type LoginAuthReq

type LoginAuthReq = dm.LoginAuthReq

type PageInfo

type PageInfo = dm.PageInfo

type PageInfo_OrderBy added in v0.5.1

type PageInfo_OrderBy = dm.PageInfo_OrderBy

type Point added in v0.3.0

type Point = dm.Point

type ProductCustom added in v0.5.1

type ProductCustom = dm.ProductCustom

type ProductCustomReadReq added in v0.5.1

type ProductCustomReadReq = dm.ProductCustomReadReq

type ProductInfo

type ProductInfo = dm.ProductInfo

type ProductInfoDeleteReq

type ProductInfoDeleteReq = dm.ProductInfoDeleteReq

type ProductInfoIndexReq

type ProductInfoIndexReq = dm.ProductInfoIndexReq

type ProductInfoIndexResp

type ProductInfoIndexResp = dm.ProductInfoIndexResp

type ProductInfoReadReq

type ProductInfoReadReq = dm.ProductInfoReadReq

type ProductRemoteConfig added in v0.3.0

type ProductRemoteConfig = dm.ProductRemoteConfig

type ProductSchemaCreateReq

type ProductSchemaCreateReq = dm.ProductSchemaCreateReq

type ProductSchemaDeleteReq

type ProductSchemaDeleteReq = dm.ProductSchemaDeleteReq

type ProductSchemaIndexReq

type ProductSchemaIndexReq = dm.ProductSchemaIndexReq

type ProductSchemaIndexResp

type ProductSchemaIndexResp = dm.ProductSchemaIndexResp

type ProductSchemaInfo

type ProductSchemaInfo = dm.ProductSchemaInfo

type ProductSchemaTslImportReq

type ProductSchemaTslImportReq = dm.ProductSchemaTslImportReq

type ProductSchemaTslReadReq

type ProductSchemaTslReadReq = dm.ProductSchemaTslReadReq

type ProductSchemaTslReadResp

type ProductSchemaTslReadResp = dm.ProductSchemaTslReadResp

type ProductSchemaUpdateReq

type ProductSchemaUpdateReq = dm.ProductSchemaUpdateReq

type RemoteConfigCreateReq added in v0.3.0

type RemoteConfigCreateReq = dm.RemoteConfigCreateReq

type RemoteConfigIndexReq added in v0.3.0

type RemoteConfigIndexReq = dm.RemoteConfigIndexReq

type RemoteConfigIndexResp added in v0.3.0

type RemoteConfigIndexResp = dm.RemoteConfigIndexResp

type RemoteConfigLastReadReq added in v0.3.0

type RemoteConfigLastReadReq = dm.RemoteConfigLastReadReq

type RemoteConfigLastReadResp added in v0.3.0

type RemoteConfigLastReadResp = dm.RemoteConfigLastReadResp

type RemoteConfigPushAllReq added in v0.3.0

type RemoteConfigPushAllReq = dm.RemoteConfigPushAllReq

type Response

type Response = dm.Response

type RootCheckReq

type RootCheckReq = dm.RootCheckReq

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL