Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrAppCancel = errors.New("app cancel") ErrAuthenticationFailed = errors.New("authentication failed") ErrBiometryDisconnected = errors.New("biometry disconnected") ErrBiometryLockout = errors.New("biometry lockout") ErrBiometryNotAvailable = errors.New("biometry not available") ErrBiometryNotEnrolled = errors.New("biometry not enrolled") ErrBiometryNotPaired = errors.New("biometry not paired") ErrCompanionNotAvailable = errors.New("companion not available") ErrInvalidContext = errors.New("invalid context") ErrInvalidDimensions = errors.New("invalid dimensions") ErrNotInteractive = errors.New("not interactive") ErrPasscodeNotSet = errors.New("passcode not set") ErrSystemCancel = errors.New("system cancel") ErrUserCancel = errors.New("user cancel") ErrUserFallback = errors.New("user fallback") )
Functions ¶
func CanAuthenticate ¶ added in v0.2.0
Types ¶
type Policy ¶
Policy represents an LAPolicy value.
const ( PolicyDeviceOwnerAuthentication Policy = C.LAPolicyDeviceOwnerAuthentication PolicyDeviceOwnerAuthenticationWithBiometrics Policy = C.LAPolicyDeviceOwnerAuthenticationWithBiometrics PolicyDeviceOwnerAuthenticationWithBiometricsOrCompanion Policy = C.LAPolicyDeviceOwnerAuthenticationWithBiometricsOrCompanion PolicyDeviceOwnerAuthenticationWithCompanion Policy = C.LAPolicyDeviceOwnerAuthenticationWithCompanion )
Click to show internal directories.
Click to hide internal directories.