auth

package
v0.6.2 Latest Latest
Warning

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

Go to latest
Published: Sep 20, 2023 License: AGPL-3.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AccessLogic

type AccessLogic struct {
	logx.Logger
	// contains filtered or unexported fields
}

func NewAccessLogic

func NewAccessLogic(ctx context.Context, svcCtx *svc.ServiceContext) *AccessLogic

func (*AccessLogic) Access

func (l *AccessLogic) Access(req *types.DeviceAuthAccessReq) error

type LoginLogic

type LoginLogic struct {
	logx.Logger
	// contains filtered or unexported fields
}

func NewLoginLogic

func NewLoginLogic(ctx context.Context, svcCtx *svc.ServiceContext) *LoginLogic

func (*LoginLogic) Login

func (l *LoginLogic) Login(req *types.DeviceAuthLoginReq) error

type RegisterLogic added in v0.5.1

type RegisterLogic struct {
	logx.Logger
	// contains filtered or unexported fields
}

func NewRegisterLogic added in v0.5.1

func NewRegisterLogic(ctx context.Context, svcCtx *svc.ServiceContext) *RegisterLogic

func (*RegisterLogic) Register added in v0.5.1

func (l *RegisterLogic) Register(req *types.DeviceRegisterReq) (resp *types.DeviceRegisterResp, err error)

type RootCheckLogic

type RootCheckLogic struct {
	logx.Logger
	// contains filtered or unexported fields
}

func NewRootCheckLogic

func NewRootCheckLogic(ctx context.Context, svcCtx *svc.ServiceContext) *RootCheckLogic

func (*RootCheckLogic) RootCheck

func (l *RootCheckLogic) RootCheck(req *types.DeviceAuthRootCheckReq) error

Jump to

Keyboard shortcuts

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