Versions in this module Expand all Collapse all v0 v0.10.7 Oct 9, 2024 v0.10.6 Oct 6, 2024 Changes in this version + var AccessMap = map[string]devices.Direction + var AccessToActionMap = map[string]string + type AccessAuthLogic struct + func NewAccessAuthLogic(ctx context.Context, svcCtx *svc.ServiceContext) *AccessAuthLogic + func (l *AccessAuthLogic) AccessAuth(in *dg.AccessAuthReq) (*dg.Response, error) + func (l *AccessAuthLogic) Auth(in *dg.AccessAuthReq) (err error) + func (l *AccessAuthLogic) DeviceSelfAuth(in *dg.AccessAuthReq) (err error) + func (l *AccessAuthLogic) SubSetAuth(in *dg.AccessAuthReq, ld *deviceAuth.LoginDevice, ti *devices.TopicInfo) (err error) + type DeviceRegisterLogic struct + func NewDeviceRegisterLogic(ctx context.Context, svcCtx *svc.ServiceContext) *DeviceRegisterLogic + func (l *DeviceRegisterLogic) DeviceRegister(in *dg.DeviceRegisterReq) (*dg.DeviceRegisterResp, error) + type DeviceRegisterPayload struct + ClientCert string + ClientKey string + EncryptionType int + Psk string + type LoginAuthLogic struct + func NewLoginAuthLogic(ctx context.Context, svcCtx *svc.ServiceContext) *LoginAuthLogic + func (l *LoginAuthLogic) LoginAuth(in *dg.LoginAuthReq) (*dg.Response, error)