ukey

package
v0.0.0-...-77ac5d6 Latest Latest
Warning

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

Go to latest
Published: Nov 28, 2023 License: GPL-3.0 Imports: 7 Imported by: 0

Documentation

Overview

SPDX-FileCopyrightText: 2018 - 2023 UnionTech Software Technology Co., Ltd.

SPDX-License-Identifier: GPL-3.0-or-later

SPDX-FileCopyrightText: 2018 - 2023 UnionTech Software Technology Co., Ltd.

SPDX-License-Identifier: GPL-3.0-or-later

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockInterfaceUkey

type MockInterfaceUkey struct {
	mock.Mock
}

func (*MockInterfaceUkey) Capability

func (v *MockInterfaceUkey) Capability() proxy.PropInt32

func (*MockInterfaceUkey) ConnectVerifyResult

func (v *MockInterfaceUkey) ConnectVerifyResult(cb func(id string, msg string)) (dbusutil.SignalHandlerId, error)

func (*MockInterfaceUkey) GetPINLength

func (v *MockInterfaceUkey) GetPINLength(flags dbus.Flags, uuid string) (int32, error)

func (*MockInterfaceUkey) GetUserList

func (v *MockInterfaceUkey) GetUserList(flags dbus.Flags) ([]string, error)

func (*MockInterfaceUkey) GoGetPINLength

func (v *MockInterfaceUkey) GoGetPINLength(flags dbus.Flags, ch chan *dbus.Call, uuid string) *dbus.Call

func (*MockInterfaceUkey) GoGetUserList

func (v *MockInterfaceUkey) GoGetUserList(flags dbus.Flags, ch chan *dbus.Call) *dbus.Call

func (*MockInterfaceUkey) GoSetPin

func (v *MockInterfaceUkey) GoSetPin(flags dbus.Flags, ch chan *dbus.Call, uuid string, gid string, pin string) *dbus.Call

func (*MockInterfaceUkey) GoSetSessionPath

func (v *MockInterfaceUkey) GoSetSessionPath(flags dbus.Flags, ch chan *dbus.Call, uuid string, gid string, path string) *dbus.Call

func (*MockInterfaceUkey) GoStopVerify

func (v *MockInterfaceUkey) GoStopVerify(flags dbus.Flags, ch chan *dbus.Call, uuid string, gid string) *dbus.Call

func (*MockInterfaceUkey) GoVerify

func (v *MockInterfaceUkey) GoVerify(flags dbus.Flags, ch chan *dbus.Call, uuid string, gid string) *dbus.Call

func (*MockInterfaceUkey) Name

func (*MockInterfaceUkey) SetInterfaceName_

func (v *MockInterfaceUkey) SetInterfaceName_(string)

func (*MockInterfaceUkey) SetPin

func (v *MockInterfaceUkey) SetPin(flags dbus.Flags, uuid string, gid string, pin string) error

func (*MockInterfaceUkey) SetSessionPath

func (v *MockInterfaceUkey) SetSessionPath(flags dbus.Flags, uuid string, gid string, path string) error

func (*MockInterfaceUkey) State

func (v *MockInterfaceUkey) State() proxy.PropInt32

func (*MockInterfaceUkey) StopVerify

func (v *MockInterfaceUkey) StopVerify(flags dbus.Flags, uuid string, gid string) error

func (*MockInterfaceUkey) Type

func (v *MockInterfaceUkey) Type() proxy.PropInt32

func (*MockInterfaceUkey) Verify

func (v *MockInterfaceUkey) Verify(flags dbus.Flags, uuid string, gid string) error

type MockUKey

type MockUKey struct {
	MockInterfaceUkey // interface com.deepin.daemon.Authenticate.UKey.Device
	proxy.MockObject
}

type UKey

type UKey interface {
	proxy.Object
	// contains filtered or unexported methods
}

func NewUKey

func NewUKey(conn *dbus.Conn, serviceName string, path dbus.ObjectPath) (UKey, error)

Jump to

Keyboard shortcuts

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