DeviceBindingError
public enum DeviceBindingError : Error, LocalizedError, Equatable, Sendable
An enum representing the possible errors that can occur during the device binding and signing process.
-
Authentication with the user failed.
Declaration
Swift
case authenticationFailed -
The device does not support the required authentication method (e.g., biometrics).
Declaration
Swift
case deviceNotSupported -
No key was found for the user, so the device is not registered.
Declaration
Swift
case deviceNotRegistered -
A custom claim conflicts with a reserved JWT claim.
Declaration
Swift
case invalidClaim -
An error occurred during biometric authentication.
Declaration
Swift
case biometricError(Error) -
The user cancelled the operation.
Declaration
Swift
case userCanceled -
The operation timed out.
Declaration
Swift
case timeout -
An unknown or unexpected error occurred.
Declaration
Swift
case unknown -
An unsupported error.
Declaration
Swift
case unsupported(errorMessage: String) -
Declaration
Swift
public var errorDescription: String? { get } -
Declaration
Swift
public func toClientError() -> String -
Declaration
Swift
public static func == (lhs: DeviceBindingError, rhs: DeviceBindingError) -> Bool
View on GitHub