diff --git a/Package.swift b/Package.swift index 515ba7a..db4a561 100644 --- a/Package.swift +++ b/Package.swift @@ -15,7 +15,7 @@ let package = Package( targets: ["TSAuthenticationSDK", "TSAuthenticationSDK-Dependencies"]) ], dependencies: [ - .package(url: "https://github.com/TransmitSecurity/core-ios-sdk.git", from: "1.0.31") + .package(url: "https://github.com/TransmitSecurity/core-ios-sdk.git", from: "1.1.5") ], targets: [ .binaryTarget( diff --git a/Sources/TSAuthenticationSDK.xcframework/ios-arm64/TSAuthenticationSDK.framework/CHANGELOG.md b/Sources/TSAuthenticationSDK.xcframework/ios-arm64/TSAuthenticationSDK.framework/CHANGELOG.md new file mode 100644 index 0000000..2a12ff8 --- /dev/null +++ b/Sources/TSAuthenticationSDK.xcframework/ios-arm64/TSAuthenticationSDK.framework/CHANGELOG.md @@ -0,0 +1,32 @@ +--- +title: Changelog +toc: + maxDepth: 2 +--- +# iOS Authentication SDK Changelog + +## Authentication - 1.2.1 - May 2026 +* feat: New security types for TOTP generation - 'devicePin' and 'devicePinOrBiometric'. +* feat: Added 'nativeBiometricsStatus()' API to retrieve the current native biometrics availability and status on the device. +* feat: Added 'nativeBiometricsType()' API to determine the currently available biometric authentication type (e.g., Face ID or Touch ID). +* feat: Enhanced iOS native biometrics error handling. + +## Authentication - 1.2.0 - Feb 2026 +* feat: Swift 6 support. + +## Authentication - 1.1.17 - Dec 2025 +* feat: Added compatibility with TSCoreSDK version 1.0.36. + +## Authentication - 1.1.16 - Oct 2025 +* feat: Add support PIN deletion. + +## Authentication - 1.1.15 - May 2025 +* feat: Add support PIN authentication. + +## Authentication - 1.1.14 - Apr. 2025 +* feat: Support elliptic-curve (EC) keys for mobile biometrics. +* feat: Allow multiple mobile-biometric registrations. + +## Authentication - 1.1.13 - Apr. 2025 +* feat: Add API for signing challenge using the device key. +* feat: Add APIs for client-side WebAuthn authentication, registration, and approval. diff --git a/Sources/TSAuthenticationSDK.xcframework/ios-arm64/TSAuthenticationSDK.framework/Headers/TSAuthenticationSDK-Swift.h b/Sources/TSAuthenticationSDK.xcframework/ios-arm64/TSAuthenticationSDK.framework/Headers/TSAuthenticationSDK-Swift.h index 07ac4ab..144fef0 100644 --- a/Sources/TSAuthenticationSDK.xcframework/ios-arm64/TSAuthenticationSDK.framework/Headers/TSAuthenticationSDK-Swift.h +++ b/Sources/TSAuthenticationSDK.xcframework/ios-arm64/TSAuthenticationSDK.framework/Headers/TSAuthenticationSDK-Swift.h @@ -1,6 +1,6 @@ #if 0 #elif defined(__arm64__) && __arm64__ -// Generated by Apple Swift version 6.0.3 effective-5.10 (swiftlang-6.0.3.1.10 clang-1600.0.30.1) +// Generated by Apple Swift version 6.0.3 (swiftlang-6.0.3.1.10 clang-1600.0.30.1) #ifndef TSAUTHENTICATIONSDK_SWIFT_H #define TSAUTHENTICATIONSDK_SWIFT_H #pragma clang diagnostic push diff --git a/Sources/TSAuthenticationSDK.xcframework/ios-arm64/TSAuthenticationSDK.framework/Headers/TSAuthenticationSDK.swift b/Sources/TSAuthenticationSDK.xcframework/ios-arm64/TSAuthenticationSDK.framework/Headers/TSAuthenticationSDK.swift index bf8aa2a..4ed443e 100644 --- a/Sources/TSAuthenticationSDK.xcframework/ios-arm64/TSAuthenticationSDK.framework/Headers/TSAuthenticationSDK.swift +++ b/Sources/TSAuthenticationSDK.xcframework/ios-arm64/TSAuthenticationSDK.framework/Headers/TSAuthenticationSDK.swift @@ -59,7 +59,7 @@ public struct TSAuthenticationConfiguration { } public enum TSTOTPSecurityType: Codable { - /** + /** Securing the secret with biometric authentication, adding an extra layer of security. */ case biometric @@ -67,9 +67,19 @@ public enum TSTOTPSecurityType: Codable { No additional protection for secret */ case none + /** + Securing the secret with the device PIN or password. + The system passcode prompt is shown before generating a TOTP code. + */ + case devicePin + /** + Securing the secret with either device PIN or biometric authentication. + The system authentication prompt (biometrics with passcode fallback) is shown before generating a TOTP code. + */ + case devicePinOrBiometric } -public struct TSDeviceInfo: Codable { +public struct TSDeviceInfo: Codable, @unchecked Sendable { public let publicKeyId: String public let publicKey: String @@ -83,9 +93,8 @@ protocol TSBaseAuthenticationSdkProtocol { static func isWebAuthnSupported() -> Bool } -final public class TSAuthentication: NSObject, TSBaseAuthenticationSdkProtocol, TSLogConfigurable { +final public class TSAuthentication: NSObject, TSBaseAuthenticationSdkProtocol, TSLogConfigurable, @unchecked Sendable { - public static let shared: TSAuthentication = TSAuthentication() private var controller: TSAuthenticationController? @@ -333,14 +342,22 @@ final public class TSAuthentication: NSObject, TSBaseAuthenticationSdkProtocol, /// • `.success(TSPinCodeRegistrationResult)` on success, or /// • `.failure(TSAuthenticationError)` on error. public func registerPinCode(username: String, pinCode: String, completion: @escaping TSPinCodeRegistrationCompletion) { - Task { @MainActor in + let completionBox = UncheckedCompletionBox(completion) + + Task { [completionBox] in do { let result = try await registerPinCode(username: username, pinCode: pinCode) - completion(.success(result)) + Task { @MainActor in + completionBox.call(.success(result)) + } } catch let error as TSPinCodeError { - completion(.failure(.pinCodeError(error))) + Task { @MainActor in + completionBox.call(.failure(.pinCodeError(error))) + } } catch { - completion(.failure(.pinCodeError(.internal(error)))) + Task { @MainActor in + completionBox.call(.failure(.pinCodeError(.internal(error)))) + } } } } @@ -376,18 +393,49 @@ final public class TSAuthentication: NSObject, TSBaseAuthenticationSdkProtocol, /// • `.success(TSPinCodeAuthenticationResult)` on success, or /// • `.failure(TSAuthenticationError)` on error. public func authenticatePinCode(username: String, pinCode: String, challenge: String, completion: @escaping TSPinCodeAuthenticationCompletion) { - Task { @MainActor in + + let completionBox = UncheckedCompletionBox(completion) + + Task { [completionBox] in do { let result = try await authenticatePinCode(username: username, pinCode: pinCode, challenge: challenge) - completion(.success(result)) + Task { @MainActor in + completionBox.call(.success(result)) + } } catch let error as TSPinCodeError { - completion(.failure(.pinCodeError(error))) + Task { @MainActor in + completionBox.call(.failure(.pinCodeError(error))) + } } catch { - completion(.failure(.pinCodeError(.internal(error)))) + Task { @MainActor in + completionBox.call(.failure(.pinCodeError(.internal(error)))) + } } } } + + /// Async variant that actually performs the PIN authentication. + /// + /// - Parameters: + /// - username: The user’s identifier. + /// - pinCode: The entered PIN string. + /// - challenge: The server‐provided challenge to prove possession of the PIN key. + /// - Returns: `TSPinCodeAuthenticationResult` on success. + /// - Throws: `TSAuthenticationError` from the controller. + public func authenticatePinCode(username: String, pinCode: String, challenge: String) async throws -> TSPinCodeAuthenticationResult { + guard let controller else { throw TSAuthenticationError.notInitialized } + do { + return try await controller.authenticatePinCode(username: username, pinCode: pinCode, challenge: challenge) + } catch let error as TSPinCodeError { + TSLog.e("PIN code authentication failed with error: \(error)") + throw TSAuthenticationError.pinCodeError(error) + } catch { + TSLog.e("PIN code authentication failed with error: \(error)") + throw TSAuthenticationError.pinCodeError(.internal(error)) + } + } + /// Unregister user's Pin Code authenticator. /// /// - Parameters: @@ -396,14 +444,22 @@ final public class TSAuthentication: NSObject, TSBaseAuthenticationSdkProtocol, /// • `.success(TSPinCodeUnregistrationResult)` on success, or /// • `.failure(TSAuthenticationError)` on error. public func unregisterPinCode(username: String, completion: @escaping TSPinCodeUnregistrationCompletion) { - Task { @MainActor in + let completionBox = UncheckedCompletionBox(completion) + + Task { [completionBox] in do { let result = try await unregisterPinCode(username: username) - completion(.success(result)) + Task { @MainActor in + completionBox.call(.success(result)) + } } catch let error as TSPinCodeError { - completion(.failure(.pinCodeError(error))) + Task { @MainActor in + completionBox.call(.failure(.pinCodeError(error))) + } } catch { - completion(.failure(.pinCodeError(.internal(error)))) + Task { @MainActor in + completionBox.call(.failure(.pinCodeError(.internal(error)))) + } } } } @@ -427,27 +483,6 @@ final public class TSAuthentication: NSObject, TSBaseAuthenticationSdkProtocol, throw TSAuthenticationError.pinCodeError(.internal(error)) } } - - /// Async variant that actually performs the PIN authentication. - /// - /// - Parameters: - /// - username: The user’s identifier. - /// - pinCode: The entered PIN string. - /// - challenge: The server‐provided challenge to prove possession of the PIN key. - /// - Returns: `TSPinCodeAuthenticationResult` on success. - /// - Throws: `TSAuthenticationError` from the controller. - public func authenticatePinCode(username: String, pinCode: String, challenge: String) async throws -> TSPinCodeAuthenticationResult { - guard let controller else { throw TSAuthenticationError.notInitialized } - do { - return try await controller.authenticatePinCode(username: username, pinCode: pinCode, challenge: challenge) - } catch let error as TSPinCodeError { - TSLog.e("PIN code authentication failed with error: \(error)") - throw TSAuthenticationError.pinCodeError(error) - } catch { - TSLog.e("PIN code authentication failed with error: \(error)") - throw TSAuthenticationError.pinCodeError(.internal(error)) - } - } /** Retrieves device-specific information, such as public key and its associated ID, which are unique to the application installed on the device. @@ -484,6 +519,32 @@ final public class TSAuthentication: NSObject, TSBaseAuthenticationSdkProtocol, public static func isNativeBiometricsEnrolled() -> Bool { TSAuthenticationController.isNativeBiometricsEnrolled() } + + /** + Returns the biometric type supported by this device. + + The result reflects the hardware capability regardless of enrollment state. + Call ``nativeBiometricsStatus()`` to determine whether the user has actually enrolled. + @return + A `TSBiometricType` value: `.faceID`, `.touchID`, `.opticID`, or `.none`. + */ + public static func nativeBiometricsType() -> TSBiometricType { + TSAuthenticationController.nativeBiometricsType() + } + + /** + Returns the current enrollment and availability status of biometric authentication. + + Possible values: + - `.available` — biometrics are enrolled and ready to use. + - `.notEnrolled` — hardware is present but the user has not set up biometrics. + - `.notAvailable` — no biometric hardware on this device. + - `.permissionDenied` — hardware exists but the app's biometric access was revoked in Settings. + - `.lockedOut` — too many failed attempts; passcode is required to re-enable biometrics. + */ + public static func nativeBiometricsStatus() -> TSBiometricStatus { + TSAuthenticationController.nativeBiometricsStatus() + } } @@ -505,7 +566,7 @@ private extension TSAuthentication { public extension TSAuthentication { /// Options for WebAuthn authentication. - struct WebAuthnAuthenticationOptions: OptionSet { + struct WebAuthnAuthenticationOptions: OptionSet, @unchecked Sendable { public let rawValue: Int public init(rawValue: Int) { diff --git a/Sources/TSAuthenticationSDK.xcframework/ios-arm64/TSAuthenticationSDK.framework/Info.plist b/Sources/TSAuthenticationSDK.xcframework/ios-arm64/TSAuthenticationSDK.framework/Info.plist index 45d01e1..dab9d9c 100644 Binary files a/Sources/TSAuthenticationSDK.xcframework/ios-arm64/TSAuthenticationSDK.framework/Info.plist and b/Sources/TSAuthenticationSDK.xcframework/ios-arm64/TSAuthenticationSDK.framework/Info.plist differ diff --git a/Sources/TSAuthenticationSDK.xcframework/ios-arm64/TSAuthenticationSDK.framework/Modules/TSAuthenticationSDK.swiftmodule/arm64-apple-ios.abi.json b/Sources/TSAuthenticationSDK.xcframework/ios-arm64/TSAuthenticationSDK.framework/Modules/TSAuthenticationSDK.swiftmodule/arm64-apple-ios.abi.json index b1066c4..7611971 100644 --- a/Sources/TSAuthenticationSDK.xcframework/ios-arm64/TSAuthenticationSDK.framework/Modules/TSAuthenticationSDK.swiftmodule/arm64-apple-ios.abi.json +++ b/Sources/TSAuthenticationSDK.xcframework/ios-arm64/TSAuthenticationSDK.framework/Modules/TSAuthenticationSDK.swiftmodule/arm64-apple-ios.abi.json @@ -416,6 +416,86 @@ "RawDocComment" ] }, + { + "kind": "Var", + "name": "devicePin", + "printedName": "devicePin", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(TSAuthenticationSDK.TSTOTPSecurityType.Type) -> TSAuthenticationSDK.TSTOTPSecurityType", + "children": [ + { + "kind": "TypeNominal", + "name": "TSTOTPSecurityType", + "printedName": "TSAuthenticationSDK.TSTOTPSecurityType", + "usr": "s:19TSAuthenticationSDK18TSTOTPSecurityTypeO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "TSAuthenticationSDK.TSTOTPSecurityType.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "TSTOTPSecurityType", + "printedName": "TSAuthenticationSDK.TSTOTPSecurityType", + "usr": "s:19TSAuthenticationSDK18TSTOTPSecurityTypeO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:19TSAuthenticationSDK18TSTOTPSecurityTypeO9devicePinyA2CmF", + "mangledName": "$s19TSAuthenticationSDK18TSTOTPSecurityTypeO9devicePinyA2CmF", + "moduleName": "TSAuthenticationSDK", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "devicePinOrBiometric", + "printedName": "devicePinOrBiometric", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(TSAuthenticationSDK.TSTOTPSecurityType.Type) -> TSAuthenticationSDK.TSTOTPSecurityType", + "children": [ + { + "kind": "TypeNominal", + "name": "TSTOTPSecurityType", + "printedName": "TSAuthenticationSDK.TSTOTPSecurityType", + "usr": "s:19TSAuthenticationSDK18TSTOTPSecurityTypeO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "TSAuthenticationSDK.TSTOTPSecurityType.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "TSTOTPSecurityType", + "printedName": "TSAuthenticationSDK.TSTOTPSecurityType", + "usr": "s:19TSAuthenticationSDK18TSTOTPSecurityTypeO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:19TSAuthenticationSDK18TSTOTPSecurityTypeO20devicePinOrBiometricyA2CmF", + "mangledName": "$s19TSAuthenticationSDK18TSTOTPSecurityTypeO20devicePinOrBiometricyA2CmF", + "moduleName": "TSAuthenticationSDK", + "declAttributes": [ + "RawDocComment" + ] + }, { "kind": "Function", "name": "==", @@ -796,6 +876,13 @@ "printedName": "Encodable", "usr": "s:SE", "mangledName": "$sSE" + }, + { + "kind": "Conformance", + "name": "Sendable", + "printedName": "Sendable", + "usr": "s:s8SendableP", + "mangledName": "$ss8SendableP" } ] }, @@ -2211,6 +2298,48 @@ ], "funcSelfKind": "NonMutating" }, + { + "kind": "Function", + "name": "authenticatePinCode", + "printedName": "authenticatePinCode(username:pinCode:challenge:)", + "children": [ + { + "kind": "TypeNominal", + "name": "TSPinCodeAuthenticationResult", + "printedName": "TSAuthenticationSDK.TSPinCodeAuthenticationResult", + "usr": "s:19TSAuthenticationSDK29TSPinCodeAuthenticationResultC" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Func", + "usr": "s:19TSAuthenticationSDK0A0C19authenticatePinCode8username03pinE09challengeAA05TSPinE20AuthenticationResultCSS_S2StYaKF", + "mangledName": "$s19TSAuthenticationSDK0A0C19authenticatePinCode8username03pinE09challengeAA05TSPinE20AuthenticationResultCSS_S2StYaKF", + "moduleName": "TSAuthenticationSDK", + "declAttributes": [ + "Final", + "AccessControl", + "RawDocComment" + ], + "throwing": true, + "funcSelfKind": "NonMutating" + }, { "kind": "Function", "name": "unregisterPinCode", @@ -2301,48 +2430,6 @@ "throwing": true, "funcSelfKind": "NonMutating" }, - { - "kind": "Function", - "name": "authenticatePinCode", - "printedName": "authenticatePinCode(username:pinCode:challenge:)", - "children": [ - { - "kind": "TypeNominal", - "name": "TSPinCodeAuthenticationResult", - "printedName": "TSAuthenticationSDK.TSPinCodeAuthenticationResult", - "usr": "s:19TSAuthenticationSDK29TSPinCodeAuthenticationResultC" - }, - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - }, - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - }, - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "declKind": "Func", - "usr": "s:19TSAuthenticationSDK0A0C19authenticatePinCode8username03pinE09challengeAA05TSPinE20AuthenticationResultCSS_S2StYaKF", - "mangledName": "$s19TSAuthenticationSDK0A0C19authenticatePinCode8username03pinE09challengeAA05TSPinE20AuthenticationResultCSS_S2StYaKF", - "moduleName": "TSAuthenticationSDK", - "declAttributes": [ - "Final", - "AccessControl", - "RawDocComment" - ], - "throwing": true, - "funcSelfKind": "NonMutating" - }, { "kind": "Function", "name": "getDeviceInfo", @@ -2505,6 +2592,54 @@ ], "funcSelfKind": "NonMutating" }, + { + "kind": "Function", + "name": "nativeBiometricsType", + "printedName": "nativeBiometricsType()", + "children": [ + { + "kind": "TypeNominal", + "name": "TSBiometricType", + "printedName": "TSAuthenticationSDK.TSBiometricType", + "usr": "s:19TSAuthenticationSDK15TSBiometricTypeO" + } + ], + "declKind": "Func", + "usr": "s:19TSAuthenticationSDK0A0C20nativeBiometricsTypeAA011TSBiometricE0OyFZ", + "mangledName": "$s19TSAuthenticationSDK0A0C20nativeBiometricsTypeAA011TSBiometricE0OyFZ", + "moduleName": "TSAuthenticationSDK", + "static": true, + "declAttributes": [ + "Final", + "AccessControl", + "RawDocComment" + ], + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "nativeBiometricsStatus", + "printedName": "nativeBiometricsStatus()", + "children": [ + { + "kind": "TypeNominal", + "name": "TSBiometricStatus", + "printedName": "TSAuthenticationSDK.TSBiometricStatus", + "usr": "s:19TSAuthenticationSDK17TSBiometricStatusO" + } + ], + "declKind": "Func", + "usr": "s:19TSAuthenticationSDK0A0C22nativeBiometricsStatusAA011TSBiometricE0OyFZ", + "mangledName": "$s19TSAuthenticationSDK0A0C22nativeBiometricsStatusAA011TSBiometricE0OyFZ", + "moduleName": "TSAuthenticationSDK", + "static": true, + "declAttributes": [ + "Final", + "AccessControl", + "RawDocComment" + ], + "funcSelfKind": "NonMutating" + }, { "kind": "TypeDecl", "name": "WebAuthnAuthenticationOptions", @@ -2675,6 +2810,13 @@ "usr": "s:s9OptionSetP", "mangledName": "$ss9OptionSetP" }, + { + "kind": "Conformance", + "name": "Sendable", + "printedName": "Sendable", + "usr": "s:s8SendableP", + "mangledName": "$ss8SendableP" + }, { "kind": "Conformance", "name": "RawRepresentable", @@ -2898,6 +3040,13 @@ "usr": "s:9TSCoreSDK17TSLogConfigurableP", "mangledName": "$s9TSCoreSDK17TSLogConfigurableP" }, + { + "kind": "Conformance", + "name": "Sendable", + "printedName": "Sendable", + "usr": "s:s8SendableP", + "mangledName": "$ss8SendableP" + }, { "kind": "Conformance", "name": "Copyable", @@ -4712,6 +4861,13 @@ "printedName": "Escapable", "usr": "s:s9EscapableP", "mangledName": "$ss9EscapableP" + }, + { + "kind": "Conformance", + "name": "Sendable", + "printedName": "Sendable", + "usr": "s:s8SendableP", + "mangledName": "$ss8SendableP" } ] }, @@ -5002,40 +5158,19 @@ }, { "kind": "Var", - "name": "internal", - "printedName": "internal", + "name": "devicePinNotAvailable", + "printedName": "devicePinNotAvailable", "children": [ { "kind": "TypeFunc", "name": "Function", - "printedName": "(TSAuthenticationSDK.TSTOTPError.Type) -> ((any Swift.Error)?) -> TSAuthenticationSDK.TSTOTPError", + "printedName": "(TSAuthenticationSDK.TSTOTPError.Type) -> TSAuthenticationSDK.TSTOTPError", "children": [ { - "kind": "TypeFunc", - "name": "Function", - "printedName": "((any Swift.Error)?) -> TSAuthenticationSDK.TSTOTPError", - "children": [ - { - "kind": "TypeNominal", - "name": "TSTOTPError", - "printedName": "TSAuthenticationSDK.TSTOTPError", - "usr": "s:19TSAuthenticationSDK11TSTOTPErrorO" - }, - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "(any Swift.Error)?", - "children": [ - { - "kind": "TypeNominal", - "name": "Error", - "printedName": "any Swift.Error", - "usr": "s:s5ErrorP" - } - ], - "usr": "s:Sq" - } - ] + "kind": "TypeNominal", + "name": "TSTOTPError", + "printedName": "TSAuthenticationSDK.TSTOTPError", + "usr": "s:19TSAuthenticationSDK11TSTOTPErrorO" }, { "kind": "TypeNominal", @@ -5054,126 +5189,79 @@ } ], "declKind": "EnumElement", - "usr": "s:19TSAuthenticationSDK11TSTOTPErrorO8internalyACs5Error_pSgcACmF", - "mangledName": "$s19TSAuthenticationSDK11TSTOTPErrorO8internalyACs5Error_pSgcACmF", + "usr": "s:19TSAuthenticationSDK11TSTOTPErrorO21devicePinNotAvailableyA2CmF", + "mangledName": "$s19TSAuthenticationSDK11TSTOTPErrorO21devicePinNotAvailableyA2CmF", "moduleName": "TSAuthenticationSDK", "declAttributes": [ "RawDocComment" ] }, { - "kind": "Function", - "name": "==", - "printedName": "==(_:_:)", + "kind": "Var", + "name": "devicePinOrBiometricNotAvailable", + "printedName": "devicePinOrBiometricNotAvailable", "children": [ { - "kind": "TypeNominal", - "name": "Bool", - "printedName": "Swift.Bool", - "usr": "s:Sb" - }, - { - "kind": "TypeNominal", - "name": "TSTOTPError", - "printedName": "TSAuthenticationSDK.TSTOTPError", - "usr": "s:19TSAuthenticationSDK11TSTOTPErrorO" - }, - { - "kind": "TypeNominal", - "name": "TSTOTPError", - "printedName": "TSAuthenticationSDK.TSTOTPError", - "usr": "s:19TSAuthenticationSDK11TSTOTPErrorO" + "kind": "TypeFunc", + "name": "Function", + "printedName": "(TSAuthenticationSDK.TSTOTPError.Type) -> TSAuthenticationSDK.TSTOTPError", + "children": [ + { + "kind": "TypeNominal", + "name": "TSTOTPError", + "printedName": "TSAuthenticationSDK.TSTOTPError", + "usr": "s:19TSAuthenticationSDK11TSTOTPErrorO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "TSAuthenticationSDK.TSTOTPError.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "TSTOTPError", + "printedName": "TSAuthenticationSDK.TSTOTPError", + "usr": "s:19TSAuthenticationSDK11TSTOTPErrorO" + } + ] + } + ] } ], - "declKind": "Func", - "usr": "s:19TSAuthenticationSDK11TSTOTPErrorO2eeoiySbAC_ACtFZ", - "mangledName": "$s19TSAuthenticationSDK11TSTOTPErrorO2eeoiySbAC_ACtFZ", + "declKind": "EnumElement", + "usr": "s:19TSAuthenticationSDK11TSTOTPErrorO32devicePinOrBiometricNotAvailableyA2CmF", + "mangledName": "$s19TSAuthenticationSDK11TSTOTPErrorO32devicePinOrBiometricNotAvailableyA2CmF", "moduleName": "TSAuthenticationSDK", - "static": true, "declAttributes": [ - "AccessControl" - ], - "isFromExtension": true, - "funcSelfKind": "NonMutating" - } - ], - "declKind": "Enum", - "usr": "s:19TSAuthenticationSDK11TSTOTPErrorO", - "mangledName": "$s19TSAuthenticationSDK11TSTOTPErrorO", - "moduleName": "TSAuthenticationSDK", - "declAttributes": [ - "AccessControl", - "RawDocComment" - ], - "conformances": [ - { - "kind": "Conformance", - "name": "Copyable", - "printedName": "Copyable", - "usr": "s:s8CopyableP", - "mangledName": "$ss8CopyableP" - }, - { - "kind": "Conformance", - "name": "Escapable", - "printedName": "Escapable", - "usr": "s:s9EscapableP", - "mangledName": "$ss9EscapableP" - }, - { - "kind": "Conformance", - "name": "Error", - "printedName": "Error", - "usr": "s:s5ErrorP", - "mangledName": "$ss5ErrorP" - }, - { - "kind": "Conformance", - "name": "Sendable", - "printedName": "Sendable", - "usr": "s:s8SendableP", - "mangledName": "$ss8SendableP" + "RawDocComment" + ] }, - { - "kind": "Conformance", - "name": "Equatable", - "printedName": "Equatable", - "usr": "s:SQ", - "mangledName": "$sSQ" - } - ] - }, - { - "kind": "TypeDecl", - "name": "TSNativeBiometricsError", - "printedName": "TSNativeBiometricsError", - "children": [ { "kind": "Var", - "name": "nativeBiometricsNotAvailable", - "printedName": "nativeBiometricsNotAvailable", + "name": "userCanceled", + "printedName": "userCanceled", "children": [ { "kind": "TypeFunc", "name": "Function", - "printedName": "(TSAuthenticationSDK.TSNativeBiometricsError.Type) -> TSAuthenticationSDK.TSNativeBiometricsError", + "printedName": "(TSAuthenticationSDK.TSTOTPError.Type) -> TSAuthenticationSDK.TSTOTPError", "children": [ { "kind": "TypeNominal", - "name": "TSNativeBiometricsError", - "printedName": "TSAuthenticationSDK.TSNativeBiometricsError", - "usr": "s:19TSAuthenticationSDK23TSNativeBiometricsErrorO" + "name": "TSTOTPError", + "printedName": "TSAuthenticationSDK.TSTOTPError", + "usr": "s:19TSAuthenticationSDK11TSTOTPErrorO" }, { "kind": "TypeNominal", "name": "Metatype", - "printedName": "TSAuthenticationSDK.TSNativeBiometricsError.Type", + "printedName": "TSAuthenticationSDK.TSTOTPError.Type", "children": [ { "kind": "TypeNominal", - "name": "TSNativeBiometricsError", - "printedName": "TSAuthenticationSDK.TSNativeBiometricsError", - "usr": "s:19TSAuthenticationSDK23TSNativeBiometricsErrorO" + "name": "TSTOTPError", + "printedName": "TSAuthenticationSDK.TSTOTPError", + "usr": "s:19TSAuthenticationSDK11TSTOTPErrorO" } ] } @@ -5181,8 +5269,8 @@ } ], "declKind": "EnumElement", - "usr": "s:19TSAuthenticationSDK23TSNativeBiometricsErrorO06nativeD12NotAvailableyA2CmF", - "mangledName": "$s19TSAuthenticationSDK23TSNativeBiometricsErrorO06nativeD12NotAvailableyA2CmF", + "usr": "s:19TSAuthenticationSDK11TSTOTPErrorO12userCanceledyA2CmF", + "mangledName": "$s19TSAuthenticationSDK11TSTOTPErrorO12userCanceledyA2CmF", "moduleName": "TSAuthenticationSDK", "declAttributes": [ "RawDocComment" @@ -5190,30 +5278,30 @@ }, { "kind": "Var", - "name": "notRegistered", - "printedName": "notRegistered", + "name": "authenticationFailed", + "printedName": "authenticationFailed", "children": [ { "kind": "TypeFunc", "name": "Function", - "printedName": "(TSAuthenticationSDK.TSNativeBiometricsError.Type) -> TSAuthenticationSDK.TSNativeBiometricsError", + "printedName": "(TSAuthenticationSDK.TSTOTPError.Type) -> TSAuthenticationSDK.TSTOTPError", "children": [ { "kind": "TypeNominal", - "name": "TSNativeBiometricsError", - "printedName": "TSAuthenticationSDK.TSNativeBiometricsError", - "usr": "s:19TSAuthenticationSDK23TSNativeBiometricsErrorO" + "name": "TSTOTPError", + "printedName": "TSAuthenticationSDK.TSTOTPError", + "usr": "s:19TSAuthenticationSDK11TSTOTPErrorO" }, { "kind": "TypeNominal", "name": "Metatype", - "printedName": "TSAuthenticationSDK.TSNativeBiometricsError.Type", + "printedName": "TSAuthenticationSDK.TSTOTPError.Type", "children": [ { "kind": "TypeNominal", - "name": "TSNativeBiometricsError", - "printedName": "TSAuthenticationSDK.TSNativeBiometricsError", - "usr": "s:19TSAuthenticationSDK23TSNativeBiometricsErrorO" + "name": "TSTOTPError", + "printedName": "TSAuthenticationSDK.TSTOTPError", + "usr": "s:19TSAuthenticationSDK11TSTOTPErrorO" } ] } @@ -5221,8 +5309,8 @@ } ], "declKind": "EnumElement", - "usr": "s:19TSAuthenticationSDK23TSNativeBiometricsErrorO13notRegisteredyA2CmF", - "mangledName": "$s19TSAuthenticationSDK23TSNativeBiometricsErrorO13notRegisteredyA2CmF", + "usr": "s:19TSAuthenticationSDK11TSTOTPErrorO20authenticationFailedyA2CmF", + "mangledName": "$s19TSAuthenticationSDK11TSTOTPErrorO20authenticationFailedyA2CmF", "moduleName": "TSAuthenticationSDK", "declAttributes": [ "RawDocComment" @@ -5236,18 +5324,18 @@ { "kind": "TypeFunc", "name": "Function", - "printedName": "(TSAuthenticationSDK.TSNativeBiometricsError.Type) -> ((any Swift.Error)?) -> TSAuthenticationSDK.TSNativeBiometricsError", + "printedName": "(TSAuthenticationSDK.TSTOTPError.Type) -> ((any Swift.Error)?) -> TSAuthenticationSDK.TSTOTPError", "children": [ { "kind": "TypeFunc", "name": "Function", - "printedName": "((any Swift.Error)?) -> TSAuthenticationSDK.TSNativeBiometricsError", + "printedName": "((any Swift.Error)?) -> TSAuthenticationSDK.TSTOTPError", "children": [ { "kind": "TypeNominal", - "name": "TSNativeBiometricsError", - "printedName": "TSAuthenticationSDK.TSNativeBiometricsError", - "usr": "s:19TSAuthenticationSDK23TSNativeBiometricsErrorO" + "name": "TSTOTPError", + "printedName": "TSAuthenticationSDK.TSTOTPError", + "usr": "s:19TSAuthenticationSDK11TSTOTPErrorO" }, { "kind": "TypeNominal", @@ -5268,13 +5356,13 @@ { "kind": "TypeNominal", "name": "Metatype", - "printedName": "TSAuthenticationSDK.TSNativeBiometricsError.Type", + "printedName": "TSAuthenticationSDK.TSTOTPError.Type", "children": [ { "kind": "TypeNominal", - "name": "TSNativeBiometricsError", - "printedName": "TSAuthenticationSDK.TSNativeBiometricsError", - "usr": "s:19TSAuthenticationSDK23TSNativeBiometricsErrorO" + "name": "TSTOTPError", + "printedName": "TSAuthenticationSDK.TSTOTPError", + "usr": "s:19TSAuthenticationSDK11TSTOTPErrorO" } ] } @@ -5282,8 +5370,8 @@ } ], "declKind": "EnumElement", - "usr": "s:19TSAuthenticationSDK23TSNativeBiometricsErrorO8internalyACs0E0_pSgcACmF", - "mangledName": "$s19TSAuthenticationSDK23TSNativeBiometricsErrorO8internalyACs0E0_pSgcACmF", + "usr": "s:19TSAuthenticationSDK11TSTOTPErrorO8internalyACs5Error_pSgcACmF", + "mangledName": "$s19TSAuthenticationSDK11TSTOTPErrorO8internalyACs5Error_pSgcACmF", "moduleName": "TSAuthenticationSDK", "declAttributes": [ "RawDocComment" @@ -5302,20 +5390,20 @@ }, { "kind": "TypeNominal", - "name": "TSNativeBiometricsError", - "printedName": "TSAuthenticationSDK.TSNativeBiometricsError", - "usr": "s:19TSAuthenticationSDK23TSNativeBiometricsErrorO" + "name": "TSTOTPError", + "printedName": "TSAuthenticationSDK.TSTOTPError", + "usr": "s:19TSAuthenticationSDK11TSTOTPErrorO" }, { "kind": "TypeNominal", - "name": "TSNativeBiometricsError", - "printedName": "TSAuthenticationSDK.TSNativeBiometricsError", - "usr": "s:19TSAuthenticationSDK23TSNativeBiometricsErrorO" + "name": "TSTOTPError", + "printedName": "TSAuthenticationSDK.TSTOTPError", + "usr": "s:19TSAuthenticationSDK11TSTOTPErrorO" } ], "declKind": "Func", - "usr": "s:19TSAuthenticationSDK23TSNativeBiometricsErrorO2eeoiySbAC_ACtFZ", - "mangledName": "$s19TSAuthenticationSDK23TSNativeBiometricsErrorO2eeoiySbAC_ACtFZ", + "usr": "s:19TSAuthenticationSDK11TSTOTPErrorO2eeoiySbAC_ACtFZ", + "mangledName": "$s19TSAuthenticationSDK11TSTOTPErrorO2eeoiySbAC_ACtFZ", "moduleName": "TSAuthenticationSDK", "static": true, "declAttributes": [ @@ -5326,8 +5414,8 @@ } ], "declKind": "Enum", - "usr": "s:19TSAuthenticationSDK23TSNativeBiometricsErrorO", - "mangledName": "$s19TSAuthenticationSDK23TSNativeBiometricsErrorO", + "usr": "s:19TSAuthenticationSDK11TSTOTPErrorO", + "mangledName": "$s19TSAuthenticationSDK11TSTOTPErrorO", "moduleName": "TSAuthenticationSDK", "declAttributes": [ "AccessControl", @@ -5373,35 +5461,35 @@ }, { "kind": "TypeDecl", - "name": "TSPinCodeError", - "printedName": "TSPinCodeError", + "name": "TSNativeBiometricsError", + "printedName": "TSNativeBiometricsError", "children": [ { "kind": "Var", - "name": "notRegistered", - "printedName": "notRegistered", + "name": "nativeBiometricsNotAvailable", + "printedName": "nativeBiometricsNotAvailable", "children": [ { "kind": "TypeFunc", "name": "Function", - "printedName": "(TSAuthenticationSDK.TSPinCodeError.Type) -> TSAuthenticationSDK.TSPinCodeError", + "printedName": "(TSAuthenticationSDK.TSNativeBiometricsError.Type) -> TSAuthenticationSDK.TSNativeBiometricsError", "children": [ { "kind": "TypeNominal", - "name": "TSPinCodeError", - "printedName": "TSAuthenticationSDK.TSPinCodeError", - "usr": "s:19TSAuthenticationSDK14TSPinCodeErrorO" + "name": "TSNativeBiometricsError", + "printedName": "TSAuthenticationSDK.TSNativeBiometricsError", + "usr": "s:19TSAuthenticationSDK23TSNativeBiometricsErrorO" }, { "kind": "TypeNominal", "name": "Metatype", - "printedName": "TSAuthenticationSDK.TSPinCodeError.Type", + "printedName": "TSAuthenticationSDK.TSNativeBiometricsError.Type", "children": [ { "kind": "TypeNominal", - "name": "TSPinCodeError", - "printedName": "TSAuthenticationSDK.TSPinCodeError", - "usr": "s:19TSAuthenticationSDK14TSPinCodeErrorO" + "name": "TSNativeBiometricsError", + "printedName": "TSAuthenticationSDK.TSNativeBiometricsError", + "usr": "s:19TSAuthenticationSDK23TSNativeBiometricsErrorO" } ] } @@ -5409,8 +5497,8 @@ } ], "declKind": "EnumElement", - "usr": "s:19TSAuthenticationSDK14TSPinCodeErrorO13notRegisteredyA2CmF", - "mangledName": "$s19TSAuthenticationSDK14TSPinCodeErrorO13notRegisteredyA2CmF", + "usr": "s:19TSAuthenticationSDK23TSNativeBiometricsErrorO06nativeD12NotAvailableyA2CmF", + "mangledName": "$s19TSAuthenticationSDK23TSNativeBiometricsErrorO06nativeD12NotAvailableyA2CmF", "moduleName": "TSAuthenticationSDK", "declAttributes": [ "RawDocComment" @@ -5418,30 +5506,30 @@ }, { "kind": "Var", - "name": "duplicateCommitRegistration", - "printedName": "duplicateCommitRegistration", + "name": "nativeBiometricsNotEnrolled", + "printedName": "nativeBiometricsNotEnrolled", "children": [ { "kind": "TypeFunc", "name": "Function", - "printedName": "(TSAuthenticationSDK.TSPinCodeError.Type) -> TSAuthenticationSDK.TSPinCodeError", + "printedName": "(TSAuthenticationSDK.TSNativeBiometricsError.Type) -> TSAuthenticationSDK.TSNativeBiometricsError", "children": [ { "kind": "TypeNominal", - "name": "TSPinCodeError", - "printedName": "TSAuthenticationSDK.TSPinCodeError", - "usr": "s:19TSAuthenticationSDK14TSPinCodeErrorO" + "name": "TSNativeBiometricsError", + "printedName": "TSAuthenticationSDK.TSNativeBiometricsError", + "usr": "s:19TSAuthenticationSDK23TSNativeBiometricsErrorO" }, { "kind": "TypeNominal", "name": "Metatype", - "printedName": "TSAuthenticationSDK.TSPinCodeError.Type", + "printedName": "TSAuthenticationSDK.TSNativeBiometricsError.Type", "children": [ { "kind": "TypeNominal", - "name": "TSPinCodeError", - "printedName": "TSAuthenticationSDK.TSPinCodeError", - "usr": "s:19TSAuthenticationSDK14TSPinCodeErrorO" + "name": "TSNativeBiometricsError", + "printedName": "TSAuthenticationSDK.TSNativeBiometricsError", + "usr": "s:19TSAuthenticationSDK23TSNativeBiometricsErrorO" } ] } @@ -5449,8 +5537,8 @@ } ], "declKind": "EnumElement", - "usr": "s:19TSAuthenticationSDK14TSPinCodeErrorO27duplicateCommitRegistrationyA2CmF", - "mangledName": "$s19TSAuthenticationSDK14TSPinCodeErrorO27duplicateCommitRegistrationyA2CmF", + "usr": "s:19TSAuthenticationSDK23TSNativeBiometricsErrorO06nativeD11NotEnrolledyA2CmF", + "mangledName": "$s19TSAuthenticationSDK23TSNativeBiometricsErrorO06nativeD11NotEnrolledyA2CmF", "moduleName": "TSAuthenticationSDK", "declAttributes": [ "RawDocComment" @@ -5458,29 +5546,269 @@ }, { "kind": "Var", - "name": "internal", - "printedName": "internal", + "name": "notRegistered", + "printedName": "notRegistered", "children": [ { "kind": "TypeFunc", "name": "Function", - "printedName": "(TSAuthenticationSDK.TSPinCodeError.Type) -> ((any Swift.Error)?) -> TSAuthenticationSDK.TSPinCodeError", + "printedName": "(TSAuthenticationSDK.TSNativeBiometricsError.Type) -> TSAuthenticationSDK.TSNativeBiometricsError", "children": [ { - "kind": "TypeFunc", - "name": "Function", - "printedName": "((any Swift.Error)?) -> TSAuthenticationSDK.TSPinCodeError", + "kind": "TypeNominal", + "name": "TSNativeBiometricsError", + "printedName": "TSAuthenticationSDK.TSNativeBiometricsError", + "usr": "s:19TSAuthenticationSDK23TSNativeBiometricsErrorO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "TSAuthenticationSDK.TSNativeBiometricsError.Type", "children": [ { "kind": "TypeNominal", - "name": "TSPinCodeError", - "printedName": "TSAuthenticationSDK.TSPinCodeError", - "usr": "s:19TSAuthenticationSDK14TSPinCodeErrorO" - }, - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "(any Swift.Error)?", + "name": "TSNativeBiometricsError", + "printedName": "TSAuthenticationSDK.TSNativeBiometricsError", + "usr": "s:19TSAuthenticationSDK23TSNativeBiometricsErrorO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:19TSAuthenticationSDK23TSNativeBiometricsErrorO13notRegisteredyA2CmF", + "mangledName": "$s19TSAuthenticationSDK23TSNativeBiometricsErrorO13notRegisteredyA2CmF", + "moduleName": "TSAuthenticationSDK", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "canceled", + "printedName": "canceled", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(TSAuthenticationSDK.TSNativeBiometricsError.Type) -> TSAuthenticationSDK.TSNativeBiometricsError", + "children": [ + { + "kind": "TypeNominal", + "name": "TSNativeBiometricsError", + "printedName": "TSAuthenticationSDK.TSNativeBiometricsError", + "usr": "s:19TSAuthenticationSDK23TSNativeBiometricsErrorO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "TSAuthenticationSDK.TSNativeBiometricsError.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "TSNativeBiometricsError", + "printedName": "TSAuthenticationSDK.TSNativeBiometricsError", + "usr": "s:19TSAuthenticationSDK23TSNativeBiometricsErrorO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:19TSAuthenticationSDK23TSNativeBiometricsErrorO8canceledyA2CmF", + "mangledName": "$s19TSAuthenticationSDK23TSNativeBiometricsErrorO8canceledyA2CmF", + "moduleName": "TSAuthenticationSDK", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "userCanceled", + "printedName": "userCanceled", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(TSAuthenticationSDK.TSNativeBiometricsError.Type) -> TSAuthenticationSDK.TSNativeBiometricsError", + "children": [ + { + "kind": "TypeNominal", + "name": "TSNativeBiometricsError", + "printedName": "TSAuthenticationSDK.TSNativeBiometricsError", + "usr": "s:19TSAuthenticationSDK23TSNativeBiometricsErrorO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "TSAuthenticationSDK.TSNativeBiometricsError.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "TSNativeBiometricsError", + "printedName": "TSAuthenticationSDK.TSNativeBiometricsError", + "usr": "s:19TSAuthenticationSDK23TSNativeBiometricsErrorO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:19TSAuthenticationSDK23TSNativeBiometricsErrorO12userCanceledyA2CmF", + "mangledName": "$s19TSAuthenticationSDK23TSNativeBiometricsErrorO12userCanceledyA2CmF", + "moduleName": "TSAuthenticationSDK", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "failure", + "printedName": "failure", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(TSAuthenticationSDK.TSNativeBiometricsError.Type) -> TSAuthenticationSDK.TSNativeBiometricsError", + "children": [ + { + "kind": "TypeNominal", + "name": "TSNativeBiometricsError", + "printedName": "TSAuthenticationSDK.TSNativeBiometricsError", + "usr": "s:19TSAuthenticationSDK23TSNativeBiometricsErrorO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "TSAuthenticationSDK.TSNativeBiometricsError.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "TSNativeBiometricsError", + "printedName": "TSAuthenticationSDK.TSNativeBiometricsError", + "usr": "s:19TSAuthenticationSDK23TSNativeBiometricsErrorO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:19TSAuthenticationSDK23TSNativeBiometricsErrorO7failureyA2CmF", + "mangledName": "$s19TSAuthenticationSDK23TSNativeBiometricsErrorO7failureyA2CmF", + "moduleName": "TSAuthenticationSDK", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "lockedOut", + "printedName": "lockedOut", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(TSAuthenticationSDK.TSNativeBiometricsError.Type) -> TSAuthenticationSDK.TSNativeBiometricsError", + "children": [ + { + "kind": "TypeNominal", + "name": "TSNativeBiometricsError", + "printedName": "TSAuthenticationSDK.TSNativeBiometricsError", + "usr": "s:19TSAuthenticationSDK23TSNativeBiometricsErrorO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "TSAuthenticationSDK.TSNativeBiometricsError.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "TSNativeBiometricsError", + "printedName": "TSAuthenticationSDK.TSNativeBiometricsError", + "usr": "s:19TSAuthenticationSDK23TSNativeBiometricsErrorO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:19TSAuthenticationSDK23TSNativeBiometricsErrorO9lockedOutyA2CmF", + "mangledName": "$s19TSAuthenticationSDK23TSNativeBiometricsErrorO9lockedOutyA2CmF", + "moduleName": "TSAuthenticationSDK", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "permissionDenied", + "printedName": "permissionDenied", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(TSAuthenticationSDK.TSNativeBiometricsError.Type) -> TSAuthenticationSDK.TSNativeBiometricsError", + "children": [ + { + "kind": "TypeNominal", + "name": "TSNativeBiometricsError", + "printedName": "TSAuthenticationSDK.TSNativeBiometricsError", + "usr": "s:19TSAuthenticationSDK23TSNativeBiometricsErrorO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "TSAuthenticationSDK.TSNativeBiometricsError.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "TSNativeBiometricsError", + "printedName": "TSAuthenticationSDK.TSNativeBiometricsError", + "usr": "s:19TSAuthenticationSDK23TSNativeBiometricsErrorO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:19TSAuthenticationSDK23TSNativeBiometricsErrorO16permissionDeniedyA2CmF", + "mangledName": "$s19TSAuthenticationSDK23TSNativeBiometricsErrorO16permissionDeniedyA2CmF", + "moduleName": "TSAuthenticationSDK", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "internal", + "printedName": "internal", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(TSAuthenticationSDK.TSNativeBiometricsError.Type) -> ((any Swift.Error)?) -> TSAuthenticationSDK.TSNativeBiometricsError", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "((any Swift.Error)?) -> TSAuthenticationSDK.TSNativeBiometricsError", + "children": [ + { + "kind": "TypeNominal", + "name": "TSNativeBiometricsError", + "printedName": "TSAuthenticationSDK.TSNativeBiometricsError", + "usr": "s:19TSAuthenticationSDK23TSNativeBiometricsErrorO" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "(any Swift.Error)?", "children": [ { "kind": "TypeNominal", @@ -5496,13 +5824,13 @@ { "kind": "TypeNominal", "name": "Metatype", - "printedName": "TSAuthenticationSDK.TSPinCodeError.Type", + "printedName": "TSAuthenticationSDK.TSNativeBiometricsError.Type", "children": [ { "kind": "TypeNominal", - "name": "TSPinCodeError", - "printedName": "TSAuthenticationSDK.TSPinCodeError", - "usr": "s:19TSAuthenticationSDK14TSPinCodeErrorO" + "name": "TSNativeBiometricsError", + "printedName": "TSAuthenticationSDK.TSNativeBiometricsError", + "usr": "s:19TSAuthenticationSDK23TSNativeBiometricsErrorO" } ] } @@ -5510,8 +5838,8 @@ } ], "declKind": "EnumElement", - "usr": "s:19TSAuthenticationSDK14TSPinCodeErrorO8internalyACs0E0_pSgcACmF", - "mangledName": "$s19TSAuthenticationSDK14TSPinCodeErrorO8internalyACs0E0_pSgcACmF", + "usr": "s:19TSAuthenticationSDK23TSNativeBiometricsErrorO8internalyACs0E0_pSgcACmF", + "mangledName": "$s19TSAuthenticationSDK23TSNativeBiometricsErrorO8internalyACs0E0_pSgcACmF", "moduleName": "TSAuthenticationSDK", "declAttributes": [ "RawDocComment" @@ -5530,20 +5858,20 @@ }, { "kind": "TypeNominal", - "name": "TSPinCodeError", - "printedName": "TSAuthenticationSDK.TSPinCodeError", - "usr": "s:19TSAuthenticationSDK14TSPinCodeErrorO" + "name": "TSNativeBiometricsError", + "printedName": "TSAuthenticationSDK.TSNativeBiometricsError", + "usr": "s:19TSAuthenticationSDK23TSNativeBiometricsErrorO" }, { "kind": "TypeNominal", - "name": "TSPinCodeError", - "printedName": "TSAuthenticationSDK.TSPinCodeError", - "usr": "s:19TSAuthenticationSDK14TSPinCodeErrorO" + "name": "TSNativeBiometricsError", + "printedName": "TSAuthenticationSDK.TSNativeBiometricsError", + "usr": "s:19TSAuthenticationSDK23TSNativeBiometricsErrorO" } ], "declKind": "Func", - "usr": "s:19TSAuthenticationSDK14TSPinCodeErrorO2eeoiySbAC_ACtFZ", - "mangledName": "$s19TSAuthenticationSDK14TSPinCodeErrorO2eeoiySbAC_ACtFZ", + "usr": "s:19TSAuthenticationSDK23TSNativeBiometricsErrorO2eeoiySbAC_ACtFZ", + "mangledName": "$s19TSAuthenticationSDK23TSNativeBiometricsErrorO2eeoiySbAC_ACtFZ", "moduleName": "TSAuthenticationSDK", "static": true, "declAttributes": [ @@ -5554,8 +5882,236 @@ } ], "declKind": "Enum", - "usr": "s:19TSAuthenticationSDK14TSPinCodeErrorO", - "mangledName": "$s19TSAuthenticationSDK14TSPinCodeErrorO", + "usr": "s:19TSAuthenticationSDK23TSNativeBiometricsErrorO", + "mangledName": "$s19TSAuthenticationSDK23TSNativeBiometricsErrorO", + "moduleName": "TSAuthenticationSDK", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "conformances": [ + { + "kind": "Conformance", + "name": "Copyable", + "printedName": "Copyable", + "usr": "s:s8CopyableP", + "mangledName": "$ss8CopyableP" + }, + { + "kind": "Conformance", + "name": "Escapable", + "printedName": "Escapable", + "usr": "s:s9EscapableP", + "mangledName": "$ss9EscapableP" + }, + { + "kind": "Conformance", + "name": "Error", + "printedName": "Error", + "usr": "s:s5ErrorP", + "mangledName": "$ss5ErrorP" + }, + { + "kind": "Conformance", + "name": "Sendable", + "printedName": "Sendable", + "usr": "s:s8SendableP", + "mangledName": "$ss8SendableP" + }, + { + "kind": "Conformance", + "name": "Equatable", + "printedName": "Equatable", + "usr": "s:SQ", + "mangledName": "$sSQ" + } + ] + }, + { + "kind": "TypeDecl", + "name": "TSPinCodeError", + "printedName": "TSPinCodeError", + "children": [ + { + "kind": "Var", + "name": "notRegistered", + "printedName": "notRegistered", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(TSAuthenticationSDK.TSPinCodeError.Type) -> TSAuthenticationSDK.TSPinCodeError", + "children": [ + { + "kind": "TypeNominal", + "name": "TSPinCodeError", + "printedName": "TSAuthenticationSDK.TSPinCodeError", + "usr": "s:19TSAuthenticationSDK14TSPinCodeErrorO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "TSAuthenticationSDK.TSPinCodeError.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "TSPinCodeError", + "printedName": "TSAuthenticationSDK.TSPinCodeError", + "usr": "s:19TSAuthenticationSDK14TSPinCodeErrorO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:19TSAuthenticationSDK14TSPinCodeErrorO13notRegisteredyA2CmF", + "mangledName": "$s19TSAuthenticationSDK14TSPinCodeErrorO13notRegisteredyA2CmF", + "moduleName": "TSAuthenticationSDK", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "duplicateCommitRegistration", + "printedName": "duplicateCommitRegistration", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(TSAuthenticationSDK.TSPinCodeError.Type) -> TSAuthenticationSDK.TSPinCodeError", + "children": [ + { + "kind": "TypeNominal", + "name": "TSPinCodeError", + "printedName": "TSAuthenticationSDK.TSPinCodeError", + "usr": "s:19TSAuthenticationSDK14TSPinCodeErrorO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "TSAuthenticationSDK.TSPinCodeError.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "TSPinCodeError", + "printedName": "TSAuthenticationSDK.TSPinCodeError", + "usr": "s:19TSAuthenticationSDK14TSPinCodeErrorO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:19TSAuthenticationSDK14TSPinCodeErrorO27duplicateCommitRegistrationyA2CmF", + "mangledName": "$s19TSAuthenticationSDK14TSPinCodeErrorO27duplicateCommitRegistrationyA2CmF", + "moduleName": "TSAuthenticationSDK", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "internal", + "printedName": "internal", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(TSAuthenticationSDK.TSPinCodeError.Type) -> ((any Swift.Error)?) -> TSAuthenticationSDK.TSPinCodeError", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "((any Swift.Error)?) -> TSAuthenticationSDK.TSPinCodeError", + "children": [ + { + "kind": "TypeNominal", + "name": "TSPinCodeError", + "printedName": "TSAuthenticationSDK.TSPinCodeError", + "usr": "s:19TSAuthenticationSDK14TSPinCodeErrorO" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "(any Swift.Error)?", + "children": [ + { + "kind": "TypeNominal", + "name": "Error", + "printedName": "any Swift.Error", + "usr": "s:s5ErrorP" + } + ], + "usr": "s:Sq" + } + ] + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "TSAuthenticationSDK.TSPinCodeError.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "TSPinCodeError", + "printedName": "TSAuthenticationSDK.TSPinCodeError", + "usr": "s:19TSAuthenticationSDK14TSPinCodeErrorO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:19TSAuthenticationSDK14TSPinCodeErrorO8internalyACs0E0_pSgcACmF", + "mangledName": "$s19TSAuthenticationSDK14TSPinCodeErrorO8internalyACs0E0_pSgcACmF", + "moduleName": "TSAuthenticationSDK", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Function", + "name": "==", + "printedName": "==(_:_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Bool", + "printedName": "Swift.Bool", + "usr": "s:Sb" + }, + { + "kind": "TypeNominal", + "name": "TSPinCodeError", + "printedName": "TSAuthenticationSDK.TSPinCodeError", + "usr": "s:19TSAuthenticationSDK14TSPinCodeErrorO" + }, + { + "kind": "TypeNominal", + "name": "TSPinCodeError", + "printedName": "TSAuthenticationSDK.TSPinCodeError", + "usr": "s:19TSAuthenticationSDK14TSPinCodeErrorO" + } + ], + "declKind": "Func", + "usr": "s:19TSAuthenticationSDK14TSPinCodeErrorO2eeoiySbAC_ACtFZ", + "mangledName": "$s19TSAuthenticationSDK14TSPinCodeErrorO2eeoiySbAC_ACtFZ", + "moduleName": "TSAuthenticationSDK", + "static": true, + "declAttributes": [ + "AccessControl" + ], + "isFromExtension": true, + "funcSelfKind": "NonMutating" + } + ], + "declKind": "Enum", + "usr": "s:19TSAuthenticationSDK14TSPinCodeErrorO", + "mangledName": "$s19TSAuthenticationSDK14TSPinCodeErrorO", "moduleName": "TSAuthenticationSDK", "declAttributes": [ "AccessControl", @@ -5926,6 +6482,13 @@ "printedName": "Escapable", "usr": "s:s9EscapableP", "mangledName": "$ss9EscapableP" + }, + { + "kind": "Conformance", + "name": "Sendable", + "printedName": "Sendable", + "usr": "s:s8SendableP", + "mangledName": "$ss8SendableP" } ] }, @@ -6059,6 +6622,16 @@ "declKind": "Import", "moduleName": "TSAuthenticationSDK" }, + { + "kind": "Import", + "name": "LocalAuthentication", + "printedName": "LocalAuthentication", + "declKind": "Import", + "moduleName": "TSAuthenticationSDK", + "declAttributes": [ + "RawDocComment" + ] + }, { "kind": "Import", "name": "TSCoreSDK", @@ -6372,6 +6945,13 @@ "printedName": "Encodable", "usr": "s:SE", "mangledName": "$sSE" + }, + { + "kind": "Conformance", + "name": "Sendable", + "printedName": "Sendable", + "usr": "s:s8SendableP", + "mangledName": "$ss8SendableP" } ] }, @@ -6678,10 +7258,17 @@ "printedName": "Encodable", "usr": "s:SE", "mangledName": "$sSE" - } - ] - }, - { + }, + { + "kind": "Conformance", + "name": "Sendable", + "printedName": "Sendable", + "usr": "s:s8SendableP", + "mangledName": "$ss8SendableP" + } + ] + }, + { "kind": "TypeDecl", "name": "TSRegistrationContext", "printedName": "TSRegistrationContext", @@ -6869,6 +7456,13 @@ "RawDocComment" ] }, + { + "kind": "Import", + "name": "LocalAuthentication", + "printedName": "LocalAuthentication", + "declKind": "Import", + "moduleName": "TSAuthenticationSDK" + }, { "kind": "Import", "name": "TSCoreSDK", @@ -7014,6 +7608,13 @@ "printedName": "Escapable", "usr": "s:s9EscapableP", "mangledName": "$ss9EscapableP" + }, + { + "kind": "Conformance", + "name": "Sendable", + "printedName": "Sendable", + "usr": "s:s8SendableP", + "mangledName": "$ss8SendableP" } ] }, @@ -7094,6 +7695,13 @@ "printedName": "Escapable", "usr": "s:s9EscapableP", "mangledName": "$ss9EscapableP" + }, + { + "kind": "Conformance", + "name": "Sendable", + "printedName": "Sendable", + "usr": "s:s8SendableP", + "mangledName": "$ss8SendableP" } ] }, @@ -7222,6 +7830,13 @@ "printedName": "Escapable", "usr": "s:s9EscapableP", "mangledName": "$ss9EscapableP" + }, + { + "kind": "Conformance", + "name": "Sendable", + "printedName": "Sendable", + "usr": "s:s8SendableP", + "mangledName": "$ss8SendableP" } ] }, @@ -7433,6 +8048,13 @@ "printedName": "Escapable", "usr": "s:s9EscapableP", "mangledName": "$ss9EscapableP" + }, + { + "kind": "Conformance", + "name": "Sendable", + "printedName": "Sendable", + "usr": "s:s8SendableP", + "mangledName": "$ss8SendableP" } ] }, @@ -7514,6 +8136,13 @@ "printedName": "Escapable", "usr": "s:s9EscapableP", "mangledName": "$ss9EscapableP" + }, + { + "kind": "Conformance", + "name": "Sendable", + "printedName": "Sendable", + "usr": "s:s8SendableP", + "mangledName": "$ss8SendableP" } ] }, @@ -7786,6 +8415,13 @@ "printedName": "Escapable", "usr": "s:s9EscapableP", "mangledName": "$ss9EscapableP" + }, + { + "kind": "Conformance", + "name": "Sendable", + "printedName": "Sendable", + "usr": "s:s8SendableP", + "mangledName": "$ss8SendableP" } ] }, @@ -7997,6 +8633,13 @@ "printedName": "Encodable", "usr": "s:SE", "mangledName": "$sSE" + }, + { + "kind": "Conformance", + "name": "Sendable", + "printedName": "Sendable", + "usr": "s:s8SendableP", + "mangledName": "$ss8SendableP" } ] }, @@ -8125,6 +8768,13 @@ "printedName": "Escapable", "usr": "s:s9EscapableP", "mangledName": "$ss9EscapableP" + }, + { + "kind": "Conformance", + "name": "Sendable", + "printedName": "Sendable", + "usr": "s:s8SendableP", + "mangledName": "$ss8SendableP" } ] }, @@ -8207,6 +8857,13 @@ "printedName": "Escapable", "usr": "s:s9EscapableP", "mangledName": "$ss9EscapableP" + }, + { + "kind": "Conformance", + "name": "Sendable", + "printedName": "Sendable", + "usr": "s:s8SendableP", + "mangledName": "$ss8SendableP" } ] }, @@ -9383,89 +10040,838 @@ "usr": "s:Sq" }, { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + } + ], + "declKind": "Constructor", + "usr": "s:19TSAuthenticationSDK18TSWebAuthnUserDataC2id4name11displayNameACSSSg_A2Gtcfc", + "mangledName": "$s19TSAuthenticationSDK18TSWebAuthnUserDataC2id4name11displayNameACSSSg_A2Gtcfc", + "moduleName": "TSAuthenticationSDK", + "declAttributes": [ + "AccessControl" + ], + "init_kind": "Designated" + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init()", + "children": [ + { + "kind": "TypeNominal", + "name": "TSWebAuthnUserData", + "printedName": "TSAuthenticationSDK.TSWebAuthnUserData", + "usr": "c:@M@TSAuthenticationSDK@objc(cs)TSWebAuthnUserData" + } + ], + "declKind": "Constructor", + "usr": "c:@M@TSAuthenticationSDK@objc(cs)TSWebAuthnUserData(im)init", + "mangledName": "$s19TSAuthenticationSDK18TSWebAuthnUserDataCACycfc", + "moduleName": "TSAuthenticationSDK", + "overriding": true, + "implicit": true, + "objc_name": "init", + "declAttributes": [ + "Dynamic", + "ObjC", + "Override" + ], + "init_kind": "Designated" + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(from:)", + "children": [ + { + "kind": "TypeNominal", + "name": "TSWebAuthnUserData", + "printedName": "TSAuthenticationSDK.TSWebAuthnUserData", + "usr": "c:@M@TSAuthenticationSDK@objc(cs)TSWebAuthnUserData" + }, + { + "kind": "TypeNominal", + "name": "Decoder", + "printedName": "any Swift.Decoder", + "usr": "s:s7DecoderP" + } + ], + "declKind": "Constructor", + "usr": "s:19TSAuthenticationSDK18TSWebAuthnUserDataC4fromACs7Decoder_p_tKcfc", + "mangledName": "$s19TSAuthenticationSDK18TSWebAuthnUserDataC4fromACs7Decoder_p_tKcfc", + "moduleName": "TSAuthenticationSDK", + "implicit": true, + "declAttributes": [ + "Required" + ], + "throwing": true, + "init_kind": "Designated" + }, + { + "kind": "Function", + "name": "encode", + "printedName": "encode(to:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "Encoder", + "printedName": "any Swift.Encoder", + "usr": "s:s7EncoderP" + } + ], + "declKind": "Func", + "usr": "s:19TSAuthenticationSDK18TSWebAuthnUserDataC6encode2toys7Encoder_p_tKF", + "mangledName": "$s19TSAuthenticationSDK18TSWebAuthnUserDataC6encode2toys7Encoder_p_tKF", + "moduleName": "TSAuthenticationSDK", + "implicit": true, + "throwing": true, + "funcSelfKind": "NonMutating" + } + ], + "declKind": "Class", + "usr": "c:@M@TSAuthenticationSDK@objc(cs)TSWebAuthnUserData", + "mangledName": "$s19TSAuthenticationSDK18TSWebAuthnUserDataC", + "moduleName": "TSAuthenticationSDK", + "declAttributes": [ + "AccessControl", + "ObjC" + ], + "superclassUsr": "c:objc(cs)NSObject", + "superclassNames": [ + "ObjectiveC.NSObject" + ], + "conformances": [ + { + "kind": "Conformance", + "name": "Decodable", + "printedName": "Decodable", + "usr": "s:Se", + "mangledName": "$sSe" + }, + { + "kind": "Conformance", + "name": "Encodable", + "printedName": "Encodable", + "usr": "s:SE", + "mangledName": "$sSE" + }, + { + "kind": "Conformance", + "name": "Copyable", + "printedName": "Copyable", + "usr": "s:s8CopyableP", + "mangledName": "$ss8CopyableP" + }, + { + "kind": "Conformance", + "name": "Escapable", + "printedName": "Escapable", + "usr": "s:s9EscapableP", + "mangledName": "$ss9EscapableP" + }, + { + "kind": "Conformance", + "name": "Equatable", + "printedName": "Equatable", + "usr": "s:SQ", + "mangledName": "$sSQ" + }, + { + "kind": "Conformance", + "name": "Hashable", + "printedName": "Hashable", + "usr": "s:SH", + "mangledName": "$sSH" + }, + { + "kind": "Conformance", + "name": "CVarArg", + "printedName": "CVarArg", + "usr": "s:s7CVarArgP", + "mangledName": "$ss7CVarArgP" + }, + { + "kind": "Conformance", + "name": "_KeyValueCodingAndObservingPublishing", + "printedName": "_KeyValueCodingAndObservingPublishing", + "usr": "s:10Foundation37_KeyValueCodingAndObservingPublishingP", + "mangledName": "$s10Foundation37_KeyValueCodingAndObservingPublishingP" + }, + { + "kind": "Conformance", + "name": "_KeyValueCodingAndObserving", + "printedName": "_KeyValueCodingAndObserving", + "usr": "s:10Foundation27_KeyValueCodingAndObservingP", + "mangledName": "$s10Foundation27_KeyValueCodingAndObservingP" + }, + { + "kind": "Conformance", + "name": "CustomStringConvertible", + "printedName": "CustomStringConvertible", + "usr": "s:s23CustomStringConvertibleP", + "mangledName": "$ss23CustomStringConvertibleP" + }, + { + "kind": "Conformance", + "name": "CustomDebugStringConvertible", + "printedName": "CustomDebugStringConvertible", + "usr": "s:s28CustomDebugStringConvertibleP", + "mangledName": "$ss28CustomDebugStringConvertibleP" + } + ] + }, + { + "kind": "Import", + "name": "Foundation", + "printedName": "Foundation", + "declKind": "Import", + "moduleName": "TSAuthenticationSDK", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Import", + "name": "TSCoreSDK", + "printedName": "TSCoreSDK", + "declKind": "Import", + "moduleName": "TSAuthenticationSDK" + }, + { + "kind": "Import", + "name": "Foundation", + "printedName": "Foundation", + "declKind": "Import", + "moduleName": "TSAuthenticationSDK", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Import", + "name": "TSCoreSDK", + "printedName": "TSCoreSDK", + "declKind": "Import", + "moduleName": "TSAuthenticationSDK" + }, + { + "kind": "Import", + "name": "Foundation", + "printedName": "Foundation", + "declKind": "Import", + "moduleName": "TSAuthenticationSDK", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Import", + "name": "Foundation", + "printedName": "Foundation", + "declKind": "Import", + "moduleName": "TSAuthenticationSDK", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "TypeDecl", + "name": "TSBiometricType", + "printedName": "TSBiometricType", + "children": [ + { + "kind": "Var", + "name": "faceID", + "printedName": "faceID", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(TSAuthenticationSDK.TSBiometricType.Type) -> TSAuthenticationSDK.TSBiometricType", + "children": [ + { + "kind": "TypeNominal", + "name": "TSBiometricType", + "printedName": "TSAuthenticationSDK.TSBiometricType", + "usr": "s:19TSAuthenticationSDK15TSBiometricTypeO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "TSAuthenticationSDK.TSBiometricType.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "TSBiometricType", + "printedName": "TSAuthenticationSDK.TSBiometricType", + "usr": "s:19TSAuthenticationSDK15TSBiometricTypeO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:19TSAuthenticationSDK15TSBiometricTypeO6faceIDyA2CmF", + "mangledName": "$s19TSAuthenticationSDK15TSBiometricTypeO6faceIDyA2CmF", + "moduleName": "TSAuthenticationSDK", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "touchID", + "printedName": "touchID", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(TSAuthenticationSDK.TSBiometricType.Type) -> TSAuthenticationSDK.TSBiometricType", + "children": [ + { + "kind": "TypeNominal", + "name": "TSBiometricType", + "printedName": "TSAuthenticationSDK.TSBiometricType", + "usr": "s:19TSAuthenticationSDK15TSBiometricTypeO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "TSAuthenticationSDK.TSBiometricType.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "TSBiometricType", + "printedName": "TSAuthenticationSDK.TSBiometricType", + "usr": "s:19TSAuthenticationSDK15TSBiometricTypeO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:19TSAuthenticationSDK15TSBiometricTypeO7touchIDyA2CmF", + "mangledName": "$s19TSAuthenticationSDK15TSBiometricTypeO7touchIDyA2CmF", + "moduleName": "TSAuthenticationSDK", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "opticID", + "printedName": "opticID", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(TSAuthenticationSDK.TSBiometricType.Type) -> TSAuthenticationSDK.TSBiometricType", + "children": [ + { + "kind": "TypeNominal", + "name": "TSBiometricType", + "printedName": "TSAuthenticationSDK.TSBiometricType", + "usr": "s:19TSAuthenticationSDK15TSBiometricTypeO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "TSAuthenticationSDK.TSBiometricType.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "TSBiometricType", + "printedName": "TSAuthenticationSDK.TSBiometricType", + "usr": "s:19TSAuthenticationSDK15TSBiometricTypeO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:19TSAuthenticationSDK15TSBiometricTypeO7opticIDyA2CmF", + "mangledName": "$s19TSAuthenticationSDK15TSBiometricTypeO7opticIDyA2CmF", + "moduleName": "TSAuthenticationSDK", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "none", + "printedName": "none", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(TSAuthenticationSDK.TSBiometricType.Type) -> TSAuthenticationSDK.TSBiometricType", + "children": [ + { + "kind": "TypeNominal", + "name": "TSBiometricType", + "printedName": "TSAuthenticationSDK.TSBiometricType", + "usr": "s:19TSAuthenticationSDK15TSBiometricTypeO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "TSAuthenticationSDK.TSBiometricType.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "TSBiometricType", + "printedName": "TSAuthenticationSDK.TSBiometricType", + "usr": "s:19TSAuthenticationSDK15TSBiometricTypeO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:19TSAuthenticationSDK15TSBiometricTypeO4noneyA2CmF", + "mangledName": "$s19TSAuthenticationSDK15TSBiometricTypeO4noneyA2CmF", + "moduleName": "TSAuthenticationSDK", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Function", + "name": "==", + "printedName": "==(_:_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Bool", + "printedName": "Swift.Bool", + "usr": "s:Sb" + }, + { + "kind": "TypeNominal", + "name": "TSBiometricType", + "printedName": "TSAuthenticationSDK.TSBiometricType", + "usr": "s:19TSAuthenticationSDK15TSBiometricTypeO" + }, + { + "kind": "TypeNominal", + "name": "TSBiometricType", + "printedName": "TSAuthenticationSDK.TSBiometricType", + "usr": "s:19TSAuthenticationSDK15TSBiometricTypeO" + } + ], + "declKind": "Func", + "usr": "s:19TSAuthenticationSDK15TSBiometricTypeO2eeoiySbAC_ACtFZ", + "mangledName": "$s19TSAuthenticationSDK15TSBiometricTypeO2eeoiySbAC_ACtFZ", + "moduleName": "TSAuthenticationSDK", + "static": true, + "implicit": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Var", + "name": "hashValue", + "printedName": "hashValue", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "declKind": "Var", + "usr": "s:19TSAuthenticationSDK15TSBiometricTypeO9hashValueSivp", + "mangledName": "$s19TSAuthenticationSDK15TSBiometricTypeO9hashValueSivp", + "moduleName": "TSAuthenticationSDK", + "implicit": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "declKind": "Accessor", + "usr": "s:19TSAuthenticationSDK15TSBiometricTypeO9hashValueSivg", + "mangledName": "$s19TSAuthenticationSDK15TSBiometricTypeO9hashValueSivg", + "moduleName": "TSAuthenticationSDK", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Function", + "name": "hash", + "printedName": "hash(into:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "Hasher", + "printedName": "Swift.Hasher", + "paramValueOwnership": "InOut", + "usr": "s:s6HasherV" + } + ], + "declKind": "Func", + "usr": "s:19TSAuthenticationSDK15TSBiometricTypeO4hash4intoys6HasherVz_tF", + "mangledName": "$s19TSAuthenticationSDK15TSBiometricTypeO4hash4intoys6HasherVz_tF", + "moduleName": "TSAuthenticationSDK", + "implicit": true, + "funcSelfKind": "NonMutating" + } + ], + "declKind": "Enum", + "usr": "s:19TSAuthenticationSDK15TSBiometricTypeO", + "mangledName": "$s19TSAuthenticationSDK15TSBiometricTypeO", + "moduleName": "TSAuthenticationSDK", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "conformances": [ + { + "kind": "Conformance", + "name": "Copyable", + "printedName": "Copyable", + "usr": "s:s8CopyableP", + "mangledName": "$ss8CopyableP" + }, + { + "kind": "Conformance", + "name": "Escapable", + "printedName": "Escapable", + "usr": "s:s9EscapableP", + "mangledName": "$ss9EscapableP" + }, + { + "kind": "Conformance", + "name": "Equatable", + "printedName": "Equatable", + "usr": "s:SQ", + "mangledName": "$sSQ" + }, + { + "kind": "Conformance", + "name": "Hashable", + "printedName": "Hashable", + "usr": "s:SH", + "mangledName": "$sSH" + } + ] + }, + { + "kind": "TypeDecl", + "name": "TSBiometricStatus", + "printedName": "TSBiometricStatus", + "children": [ + { + "kind": "Var", + "name": "available", + "printedName": "available", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(TSAuthenticationSDK.TSBiometricStatus.Type) -> TSAuthenticationSDK.TSBiometricStatus", + "children": [ + { + "kind": "TypeNominal", + "name": "TSBiometricStatus", + "printedName": "TSAuthenticationSDK.TSBiometricStatus", + "usr": "s:19TSAuthenticationSDK17TSBiometricStatusO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "TSAuthenticationSDK.TSBiometricStatus.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "TSBiometricStatus", + "printedName": "TSAuthenticationSDK.TSBiometricStatus", + "usr": "s:19TSAuthenticationSDK17TSBiometricStatusO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:19TSAuthenticationSDK17TSBiometricStatusO9availableyA2CmF", + "mangledName": "$s19TSAuthenticationSDK17TSBiometricStatusO9availableyA2CmF", + "moduleName": "TSAuthenticationSDK", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "notEnrolled", + "printedName": "notEnrolled", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(TSAuthenticationSDK.TSBiometricStatus.Type) -> TSAuthenticationSDK.TSBiometricStatus", + "children": [ + { + "kind": "TypeNominal", + "name": "TSBiometricStatus", + "printedName": "TSAuthenticationSDK.TSBiometricStatus", + "usr": "s:19TSAuthenticationSDK17TSBiometricStatusO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "TSAuthenticationSDK.TSBiometricStatus.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "TSBiometricStatus", + "printedName": "TSAuthenticationSDK.TSBiometricStatus", + "usr": "s:19TSAuthenticationSDK17TSBiometricStatusO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:19TSAuthenticationSDK17TSBiometricStatusO11notEnrolledyA2CmF", + "mangledName": "$s19TSAuthenticationSDK17TSBiometricStatusO11notEnrolledyA2CmF", + "moduleName": "TSAuthenticationSDK", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "notAvailable", + "printedName": "notAvailable", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(TSAuthenticationSDK.TSBiometricStatus.Type) -> TSAuthenticationSDK.TSBiometricStatus", + "children": [ + { + "kind": "TypeNominal", + "name": "TSBiometricStatus", + "printedName": "TSAuthenticationSDK.TSBiometricStatus", + "usr": "s:19TSAuthenticationSDK17TSBiometricStatusO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "TSAuthenticationSDK.TSBiometricStatus.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "TSBiometricStatus", + "printedName": "TSAuthenticationSDK.TSBiometricStatus", + "usr": "s:19TSAuthenticationSDK17TSBiometricStatusO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:19TSAuthenticationSDK17TSBiometricStatusO12notAvailableyA2CmF", + "mangledName": "$s19TSAuthenticationSDK17TSBiometricStatusO12notAvailableyA2CmF", + "moduleName": "TSAuthenticationSDK", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "permissionDenied", + "printedName": "permissionDenied", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(TSAuthenticationSDK.TSBiometricStatus.Type) -> TSAuthenticationSDK.TSBiometricStatus", "children": [ { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "TSBiometricStatus", + "printedName": "TSAuthenticationSDK.TSBiometricStatus", + "usr": "s:19TSAuthenticationSDK17TSBiometricStatusO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "TSAuthenticationSDK.TSBiometricStatus.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "TSBiometricStatus", + "printedName": "TSAuthenticationSDK.TSBiometricStatus", + "usr": "s:19TSAuthenticationSDK17TSBiometricStatusO" + } + ] } - ], - "hasDefaultArg": true, - "usr": "s:Sq" + ] } ], - "declKind": "Constructor", - "usr": "s:19TSAuthenticationSDK18TSWebAuthnUserDataC2id4name11displayNameACSSSg_A2Gtcfc", - "mangledName": "$s19TSAuthenticationSDK18TSWebAuthnUserDataC2id4name11displayNameACSSSg_A2Gtcfc", + "declKind": "EnumElement", + "usr": "s:19TSAuthenticationSDK17TSBiometricStatusO16permissionDeniedyA2CmF", + "mangledName": "$s19TSAuthenticationSDK17TSBiometricStatusO16permissionDeniedyA2CmF", "moduleName": "TSAuthenticationSDK", "declAttributes": [ - "AccessControl" - ], - "init_kind": "Designated" + "RawDocComment" + ] }, { - "kind": "Constructor", - "name": "init", - "printedName": "init()", + "kind": "Var", + "name": "lockedOut", + "printedName": "lockedOut", "children": [ { - "kind": "TypeNominal", - "name": "TSWebAuthnUserData", - "printedName": "TSAuthenticationSDK.TSWebAuthnUserData", - "usr": "c:@M@TSAuthenticationSDK@objc(cs)TSWebAuthnUserData" + "kind": "TypeFunc", + "name": "Function", + "printedName": "(TSAuthenticationSDK.TSBiometricStatus.Type) -> TSAuthenticationSDK.TSBiometricStatus", + "children": [ + { + "kind": "TypeNominal", + "name": "TSBiometricStatus", + "printedName": "TSAuthenticationSDK.TSBiometricStatus", + "usr": "s:19TSAuthenticationSDK17TSBiometricStatusO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "TSAuthenticationSDK.TSBiometricStatus.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "TSBiometricStatus", + "printedName": "TSAuthenticationSDK.TSBiometricStatus", + "usr": "s:19TSAuthenticationSDK17TSBiometricStatusO" + } + ] + } + ] } ], - "declKind": "Constructor", - "usr": "c:@M@TSAuthenticationSDK@objc(cs)TSWebAuthnUserData(im)init", - "mangledName": "$s19TSAuthenticationSDK18TSWebAuthnUserDataCACycfc", + "declKind": "EnumElement", + "usr": "s:19TSAuthenticationSDK17TSBiometricStatusO9lockedOutyA2CmF", + "mangledName": "$s19TSAuthenticationSDK17TSBiometricStatusO9lockedOutyA2CmF", "moduleName": "TSAuthenticationSDK", - "overriding": true, - "implicit": true, - "objc_name": "init", "declAttributes": [ - "Dynamic", - "ObjC", - "Override" - ], - "init_kind": "Designated" + "RawDocComment" + ] }, { - "kind": "Constructor", - "name": "init", - "printedName": "init(from:)", + "kind": "Function", + "name": "==", + "printedName": "==(_:_:)", "children": [ { "kind": "TypeNominal", - "name": "TSWebAuthnUserData", - "printedName": "TSAuthenticationSDK.TSWebAuthnUserData", - "usr": "c:@M@TSAuthenticationSDK@objc(cs)TSWebAuthnUserData" + "name": "Bool", + "printedName": "Swift.Bool", + "usr": "s:Sb" }, { "kind": "TypeNominal", - "name": "Decoder", - "printedName": "any Swift.Decoder", - "usr": "s:s7DecoderP" + "name": "TSBiometricStatus", + "printedName": "TSAuthenticationSDK.TSBiometricStatus", + "usr": "s:19TSAuthenticationSDK17TSBiometricStatusO" + }, + { + "kind": "TypeNominal", + "name": "TSBiometricStatus", + "printedName": "TSAuthenticationSDK.TSBiometricStatus", + "usr": "s:19TSAuthenticationSDK17TSBiometricStatusO" } ], - "declKind": "Constructor", - "usr": "s:19TSAuthenticationSDK18TSWebAuthnUserDataC4fromACs7Decoder_p_tKcfc", - "mangledName": "$s19TSAuthenticationSDK18TSWebAuthnUserDataC4fromACs7Decoder_p_tKcfc", + "declKind": "Func", + "usr": "s:19TSAuthenticationSDK17TSBiometricStatusO2eeoiySbAC_ACtFZ", + "mangledName": "$s19TSAuthenticationSDK17TSBiometricStatusO2eeoiySbAC_ACtFZ", "moduleName": "TSAuthenticationSDK", + "static": true, "implicit": true, - "declAttributes": [ - "Required" + "funcSelfKind": "NonMutating" + }, + { + "kind": "Var", + "name": "hashValue", + "printedName": "hashValue", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } ], - "throwing": true, - "init_kind": "Designated" + "declKind": "Var", + "usr": "s:19TSAuthenticationSDK17TSBiometricStatusO9hashValueSivp", + "mangledName": "$s19TSAuthenticationSDK17TSBiometricStatusO9hashValueSivp", + "moduleName": "TSAuthenticationSDK", + "implicit": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "declKind": "Accessor", + "usr": "s:19TSAuthenticationSDK17TSBiometricStatusO9hashValueSivg", + "mangledName": "$s19TSAuthenticationSDK17TSBiometricStatusO9hashValueSivg", + "moduleName": "TSAuthenticationSDK", + "implicit": true, + "accessorKind": "get" + } + ] }, { "kind": "Function", - "name": "encode", - "printedName": "encode(to:)", + "name": "hash", + "printedName": "hash(into:)", "children": [ { "kind": "TypeNominal", @@ -9474,47 +10880,29 @@ }, { "kind": "TypeNominal", - "name": "Encoder", - "printedName": "any Swift.Encoder", - "usr": "s:s7EncoderP" + "name": "Hasher", + "printedName": "Swift.Hasher", + "paramValueOwnership": "InOut", + "usr": "s:s6HasherV" } ], "declKind": "Func", - "usr": "s:19TSAuthenticationSDK18TSWebAuthnUserDataC6encode2toys7Encoder_p_tKF", - "mangledName": "$s19TSAuthenticationSDK18TSWebAuthnUserDataC6encode2toys7Encoder_p_tKF", + "usr": "s:19TSAuthenticationSDK17TSBiometricStatusO4hash4intoys6HasherVz_tF", + "mangledName": "$s19TSAuthenticationSDK17TSBiometricStatusO4hash4intoys6HasherVz_tF", "moduleName": "TSAuthenticationSDK", "implicit": true, - "throwing": true, "funcSelfKind": "NonMutating" } ], - "declKind": "Class", - "usr": "c:@M@TSAuthenticationSDK@objc(cs)TSWebAuthnUserData", - "mangledName": "$s19TSAuthenticationSDK18TSWebAuthnUserDataC", + "declKind": "Enum", + "usr": "s:19TSAuthenticationSDK17TSBiometricStatusO", + "mangledName": "$s19TSAuthenticationSDK17TSBiometricStatusO", "moduleName": "TSAuthenticationSDK", "declAttributes": [ "AccessControl", - "ObjC" - ], - "superclassUsr": "c:objc(cs)NSObject", - "superclassNames": [ - "ObjectiveC.NSObject" + "RawDocComment" ], "conformances": [ - { - "kind": "Conformance", - "name": "Decodable", - "printedName": "Decodable", - "usr": "s:Se", - "mangledName": "$sSe" - }, - { - "kind": "Conformance", - "name": "Encodable", - "printedName": "Encodable", - "usr": "s:SE", - "mangledName": "$sSE" - }, { "kind": "Conformance", "name": "Copyable", @@ -9542,87 +10930,8 @@ "printedName": "Hashable", "usr": "s:SH", "mangledName": "$sSH" - }, - { - "kind": "Conformance", - "name": "CVarArg", - "printedName": "CVarArg", - "usr": "s:s7CVarArgP", - "mangledName": "$ss7CVarArgP" - }, - { - "kind": "Conformance", - "name": "_KeyValueCodingAndObservingPublishing", - "printedName": "_KeyValueCodingAndObservingPublishing", - "usr": "s:10Foundation37_KeyValueCodingAndObservingPublishingP", - "mangledName": "$s10Foundation37_KeyValueCodingAndObservingPublishingP" - }, - { - "kind": "Conformance", - "name": "_KeyValueCodingAndObserving", - "printedName": "_KeyValueCodingAndObserving", - "usr": "s:10Foundation27_KeyValueCodingAndObservingP", - "mangledName": "$s10Foundation27_KeyValueCodingAndObservingP" - }, - { - "kind": "Conformance", - "name": "CustomStringConvertible", - "printedName": "CustomStringConvertible", - "usr": "s:s23CustomStringConvertibleP", - "mangledName": "$ss23CustomStringConvertibleP" - }, - { - "kind": "Conformance", - "name": "CustomDebugStringConvertible", - "printedName": "CustomDebugStringConvertible", - "usr": "s:s28CustomDebugStringConvertibleP", - "mangledName": "$ss28CustomDebugStringConvertibleP" } ] - }, - { - "kind": "Import", - "name": "Foundation", - "printedName": "Foundation", - "declKind": "Import", - "moduleName": "TSAuthenticationSDK", - "declAttributes": [ - "RawDocComment" - ] - }, - { - "kind": "Import", - "name": "TSCoreSDK", - "printedName": "TSCoreSDK", - "declKind": "Import", - "moduleName": "TSAuthenticationSDK" - }, - { - "kind": "Import", - "name": "Foundation", - "printedName": "Foundation", - "declKind": "Import", - "moduleName": "TSAuthenticationSDK", - "declAttributes": [ - "RawDocComment" - ] - }, - { - "kind": "Import", - "name": "TSCoreSDK", - "printedName": "TSCoreSDK", - "declKind": "Import", - "moduleName": "TSAuthenticationSDK" - }, - { - "kind": "Import", - "name": "Foundation", - "printedName": "Foundation", - "declKind": "Import", - "moduleName": "TSAuthenticationSDK", - "declAttributes": [ - "RawDocComment" - ] } ], "json_format_version": 8 @@ -9631,70 +10940,70 @@ { "filePath": "\/Users\/ec2-user\/actions-runner\/_work\/mobile-ios-authentication-sdk\/mobile-ios-authentication-sdk\/mobile-ios-authentication-sdk\/TSAuthenticationSDK\/API\/TSAuthenticationSDK.swift", "kind": "StringLiteral", - "offset": 3811, + "offset": 4249, "length": 18, "value": "\"TransmitSecurity\"" }, { "filePath": "\/Users\/ec2-user\/actions-runner\/_work\/mobile-ios-authentication-sdk\/mobile-ios-authentication-sdk\/mobile-ios-authentication-sdk\/TSAuthenticationSDK\/API\/TSAuthenticationSDK.swift", "kind": "StringLiteral", - "offset": 3970, + "offset": 4408, "length": 34, "value": "\"https:\/\/api.transmitsecurity.io\/\"" }, { "filePath": "\/Users\/ec2-user\/actions-runner\/_work\/mobile-ios-authentication-sdk\/mobile-ios-authentication-sdk\/mobile-ios-authentication-sdk\/TSAuthenticationSDK\/API\/TSAuthenticationSDK.swift", "kind": "Array", - "offset": 7551, + "offset": 7989, "length": 2, "value": "[]" }, { "filePath": "\/Users\/ec2-user\/actions-runner\/_work\/mobile-ios-authentication-sdk\/mobile-ios-authentication-sdk\/mobile-ios-authentication-sdk\/TSAuthenticationSDK\/API\/TSAuthenticationSDK.swift", "kind": "Array", - "offset": 8409, + "offset": 8847, "length": 2, "value": "[]" }, { "filePath": "\/Users\/ec2-user\/actions-runner\/_work\/mobile-ios-authentication-sdk\/mobile-ios-authentication-sdk\/mobile-ios-authentication-sdk\/TSAuthenticationSDK\/API\/TSAuthenticationSDK.swift", "kind": "Array", - "offset": 9175, + "offset": 9613, "length": 2, "value": "[]" }, { "filePath": "\/Users\/ec2-user\/actions-runner\/_work\/mobile-ios-authentication-sdk\/mobile-ios-authentication-sdk\/mobile-ios-authentication-sdk\/TSAuthenticationSDK\/API\/TSAuthenticationSDK.swift", "kind": "Array", - "offset": 10042, + "offset": 10480, "length": 2, "value": "[]" }, { "filePath": "\/Users\/ec2-user\/actions-runner\/_work\/mobile-ios-authentication-sdk\/mobile-ios-authentication-sdk\/mobile-ios-authentication-sdk\/TSAuthenticationSDK\/API\/TSAuthenticationSDK.swift", "kind": "Array", - "offset": 11205, + "offset": 11643, "length": 2, "value": "[]" }, { "filePath": "\/Users\/ec2-user\/actions-runner\/_work\/mobile-ios-authentication-sdk\/mobile-ios-authentication-sdk\/mobile-ios-authentication-sdk\/TSAuthenticationSDK\/API\/TSAuthenticationSDK.swift", "kind": "Array", - "offset": 12404, + "offset": 12842, "length": 2, "value": "[]" }, { "filePath": "\/Users\/ec2-user\/actions-runner\/_work\/mobile-ios-authentication-sdk\/mobile-ios-authentication-sdk\/mobile-ios-authentication-sdk\/TSAuthenticationSDK\/API\/TSAuthenticationSDK.swift", "kind": "IntegerLiteral", - "offset": 25071, + "offset": 27527, "length": 1, "value": "1" }, { "filePath": "\/Users\/ec2-user\/actions-runner\/_work\/mobile-ios-authentication-sdk\/mobile-ios-authentication-sdk\/mobile-ios-authentication-sdk\/TSAuthenticationSDK\/API\/TSAuthenticationSDK.swift", "kind": "IntegerLiteral", - "offset": 25076, + "offset": 27532, "length": 1, "value": "0" }, @@ -9764,21 +11073,21 @@ { "filePath": "\/Users\/ec2-user\/actions-runner\/_work\/mobile-ios-authentication-sdk\/mobile-ios-authentication-sdk\/mobile-ios-authentication-sdk\/TSAuthenticationSDK\/Models\/TSAuthenticationSessionData.swift", "kind": "StringLiteral", - "offset": 217, + "offset": 238, "length": 2, "value": "\"\"" }, { "filePath": "\/Users\/ec2-user\/actions-runner\/_work\/mobile-ios-authentication-sdk\/mobile-ios-authentication-sdk\/mobile-ios-authentication-sdk\/TSAuthenticationSDK\/Models\/TSAuthenticationSessionData.swift", "kind": "StringLiteral", - "offset": 260, + "offset": 281, "length": 2, "value": "\"\"" }, { "filePath": "\/Users\/ec2-user\/actions-runner\/_work\/mobile-ios-authentication-sdk\/mobile-ios-authentication-sdk\/mobile-ios-authentication-sdk\/TSAuthenticationSDK\/Authenticators\/WebAuthn\/WebAuthnAuthenticator.swift", "kind": "BooleanLiteral", - "offset": 833, + "offset": 1002, "length": 5, "value": "false" }, @@ -9848,35 +11157,35 @@ { "filePath": "\/Users\/ec2-user\/actions-runner\/_work\/mobile-ios-authentication-sdk\/mobile-ios-authentication-sdk\/mobile-ios-authentication-sdk\/TSAuthenticationSDK\/Authenticators\/LocalPIN\/AuthenticationDriverLocalPin.swift", "kind": "IntegerLiteral", - "offset": 346, + "offset": 388, "length": 2, "value": "32" }, { "filePath": "\/Users\/ec2-user\/actions-runner\/_work\/mobile-ios-authentication-sdk\/mobile-ios-authentication-sdk\/mobile-ios-authentication-sdk\/TSAuthenticationSDK\/Authenticators\/LocalPIN\/AuthenticationDriverLocalPin.swift", "kind": "IntegerLiteral", - "offset": 393, + "offset": 435, "length": 2, "value": "64" }, { "filePath": "\/Users\/ec2-user\/actions-runner\/_work\/mobile-ios-authentication-sdk\/mobile-ios-authentication-sdk\/mobile-ios-authentication-sdk\/TSAuthenticationSDK\/Authenticators\/LocalPIN\/AuthenticationDriverLocalPin.swift", "kind": "IntegerLiteral", - "offset": 437, + "offset": 479, "length": 2, "value": "32" }, { "filePath": "\/Users\/ec2-user\/actions-runner\/_work\/mobile-ios-authentication-sdk\/mobile-ios-authentication-sdk\/mobile-ios-authentication-sdk\/TSAuthenticationSDK\/Authenticators\/LocalPIN\/AuthenticationDriverLocalPin.swift", "kind": "IntegerLiteral", - "offset": 552, + "offset": 594, "length": 7, "value": "100000" }, { "filePath": "\/Users\/ec2-user\/actions-runner\/_work\/mobile-ios-authentication-sdk\/mobile-ios-authentication-sdk\/mobile-ios-authentication-sdk\/TSAuthenticationSDK\/Authenticators\/LocalPIN\/AuthenticationDriverLocalPin.swift", "kind": "IntegerLiteral", - "offset": 663, + "offset": 705, "length": 1, "value": "1" }, @@ -10394,45 +11703,52 @@ { "filePath": "\/Users\/ec2-user\/actions-runner\/_work\/mobile-ios-authentication-sdk\/mobile-ios-authentication-sdk\/mobile-ios-authentication-sdk\/TSAuthenticationSDK\/Impl\/TSAuthenticationController.swift", "kind": "StringLiteral", - "offset": 250, + "offset": 271, "length": 6, "value": "\"cis\/\"" }, { "filePath": "\/Users\/ec2-user\/actions-runner\/_work\/mobile-ios-authentication-sdk\/mobile-ios-authentication-sdk\/mobile-ios-authentication-sdk\/TSAuthenticationSDK\/Impl\/TSAuthenticationController.swift", "kind": "Array", - "offset": 308, + "offset": 329, "length": 351, "value": "[\"https:\/\/api.idsec-dev.com\/\", \"https:\/\/api.idsec-stg.com\/\", \"https:\/\/api.transmitsecurity.io\/\", \"https:\/\/api.eu.transmitsecurity.io\/\", \"https:\/\/api.ca.transmitsecurity.io\/\", \"https:\/\/api.au.transmitsecurity.io\/\", \"https:\/\/api.sbx.transmitsecurity.io\/\"]" }, { "filePath": "\/Users\/ec2-user\/actions-runner\/_work\/mobile-ios-authentication-sdk\/mobile-ios-authentication-sdk\/mobile-ios-authentication-sdk\/TSAuthenticationSDK\/Types\/TSAuthenticationTypes.swift", "kind": "StringLiteral", - "offset": 967, + "offset": 988, "length": 21, "value": "\"webauthn_session_id\"" }, { "filePath": "\/Users\/ec2-user\/actions-runner\/_work\/mobile-ios-authentication-sdk\/mobile-ios-authentication-sdk\/mobile-ios-authentication-sdk\/TSAuthenticationSDK\/Types\/TSAuthenticationTypes.swift", "kind": "StringLiteral", - "offset": 1030, + "offset": 1051, "length": 29, "value": "\"credential_creation_options\"" }, { "filePath": "\/Users\/ec2-user\/actions-runner\/_work\/mobile-ios-authentication-sdk\/mobile-ios-authentication-sdk\/mobile-ios-authentication-sdk\/TSAuthenticationSDK\/Types\/TSAuthenticationTypes.swift", "kind": "StringLiteral", - "offset": 3904, + "offset": 3946, "length": 21, "value": "\"webauthn_session_id\"" }, { "filePath": "\/Users\/ec2-user\/actions-runner\/_work\/mobile-ios-authentication-sdk\/mobile-ios-authentication-sdk\/mobile-ios-authentication-sdk\/TSAuthenticationSDK\/Types\/TSAuthenticationTypes.swift", "kind": "StringLiteral", - "offset": 3966, + "offset": 4008, "length": 28, "value": "\"credential_request_options\"" }, + { + "filePath": "\/Users\/ec2-user\/actions-runner\/_work\/mobile-ios-authentication-sdk\/mobile-ios-authentication-sdk\/mobile-ios-authentication-sdk\/TSAuthenticationSDK\/Authenticators\/TOTP\/TOTPAuthenticator.swift", + "kind": "StringLiteral", + "offset": 744, + "length": 7, + "value": "\"_type\"" + }, { "filePath": "\/Users\/ec2-user\/actions-runner\/_work\/mobile-ios-authentication-sdk\/mobile-ios-authentication-sdk\/mobile-ios-authentication-sdk\/TSAuthenticationSDK\/Authenticators\/Utils\/Base32.swift", "kind": "Array", diff --git a/Sources/TSAuthenticationSDK.xcframework/ios-arm64/TSAuthenticationSDK.framework/Modules/TSAuthenticationSDK.swiftmodule/arm64-apple-ios.private.swiftinterface b/Sources/TSAuthenticationSDK.xcframework/ios-arm64/TSAuthenticationSDK.framework/Modules/TSAuthenticationSDK.swiftmodule/arm64-apple-ios.private.swiftinterface index dec35a7..d054138 100644 --- a/Sources/TSAuthenticationSDK.xcframework/ios-arm64/TSAuthenticationSDK.framework/Modules/TSAuthenticationSDK.swiftmodule/arm64-apple-ios.private.swiftinterface +++ b/Sources/TSAuthenticationSDK.xcframework/ios-arm64/TSAuthenticationSDK.framework/Modules/TSAuthenticationSDK.swiftmodule/arm64-apple-ios.private.swiftinterface @@ -1,6 +1,6 @@ // swift-interface-format-version: 1.0 -// swift-compiler-version: Apple Swift version 6.0.3 effective-5.10 (swiftlang-6.0.3.1.10 clang-1600.0.30.1) -// swift-module-flags: -target arm64-apple-ios13.0 -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -O -enable-bare-slash-regex -module-name TSAuthenticationSDK +// swift-compiler-version: Apple Swift version 6.0.3 (swiftlang-6.0.3.1.10 clang-1600.0.30.1) +// swift-module-flags: -target arm64-apple-ios13.0 -enable-objc-interop -enable-library-evolution -swift-version 6 -enforce-exclusivity=checked -O -module-name TSAuthenticationSDK // swift-module-flags-ignorable: -no-verify-emitted-module-interface import AuthenticationServices import CryptoKit @@ -45,6 +45,8 @@ public struct TSAuthenticationConfiguration { public enum TSTOTPSecurityType : Swift.Codable { case biometric case none + case devicePin + case devicePinOrBiometric public static func == (a: TSAuthenticationSDK.TSTOTPSecurityType, b: TSAuthenticationSDK.TSTOTPSecurityType) -> Swift.Bool public func hash(into hasher: inout Swift.Hasher) public func encode(to encoder: any Swift.Encoder) throws @@ -53,13 +55,13 @@ public enum TSTOTPSecurityType : Swift.Codable { } public init(from decoder: any Swift.Decoder) throws } -public struct TSDeviceInfo : Swift.Codable { +public struct TSDeviceInfo : Swift.Codable, @unchecked Swift.Sendable { public let publicKeyId: Swift.String public let publicKey: Swift.String public func encode(to encoder: any Swift.Encoder) throws public init(from decoder: any Swift.Decoder) throws } -@objc @_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers final public class TSAuthentication : ObjectiveC.NSObject, TSCoreSDK.TSLogConfigurable { +@objc @_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers final public class TSAuthentication : ObjectiveC.NSObject, TSCoreSDK.TSLogConfigurable, @unchecked Swift.Sendable { public static let shared: TSAuthenticationSDK.TSAuthentication final public func initialize(baseUrl: Swift.String = "https://api.transmitsecurity.io/", clientId: Swift.String, domain: Swift.String? = nil, initOptions: TSAuthenticationSDK.TSAuthenticationInitOptions? = nil) final public func initializeSDK(configuration: TSAuthenticationSDK.TSAuthenticationConfiguration? = nil) throws @@ -81,17 +83,19 @@ public struct TSDeviceInfo : Swift.Codable { final public func registerPinCode(username: Swift.String, pinCode: Swift.String, completion: @escaping TSAuthenticationSDK.TSPinCodeRegistrationCompletion) final public func registerPinCode(username: Swift.String, pinCode: Swift.String) async throws -> TSAuthenticationSDK.TSPinCodeRegistrationResult final public func authenticatePinCode(username: Swift.String, pinCode: Swift.String, challenge: Swift.String, completion: @escaping TSAuthenticationSDK.TSPinCodeAuthenticationCompletion) + final public func authenticatePinCode(username: Swift.String, pinCode: Swift.String, challenge: Swift.String) async throws -> TSAuthenticationSDK.TSPinCodeAuthenticationResult final public func unregisterPinCode(username: Swift.String, completion: @escaping TSAuthenticationSDK.TSPinCodeUnregistrationCompletion) final public func unregisterPinCode(username: Swift.String) async throws -> TSAuthenticationSDK.TSPinCodeUnregistrationResult - final public func authenticatePinCode(username: Swift.String, pinCode: Swift.String, challenge: Swift.String) async throws -> TSAuthenticationSDK.TSPinCodeAuthenticationResult final public func getDeviceInfo(_ completion: @escaping TSAuthenticationSDK.DeviceInfoCompletion) final public func signWithDeviceKey(challenge: Swift.String, completion: @escaping TSAuthenticationSDK.TSSignChallengeCompletion) public static func isWebAuthnSupported() -> Swift.Bool public static func isNativeBiometricsEnrolled() -> Swift.Bool + public static func nativeBiometricsType() -> TSAuthenticationSDK.TSBiometricType + public static func nativeBiometricsStatus() -> TSAuthenticationSDK.TSBiometricStatus @objc deinit } extension TSAuthenticationSDK.TSAuthentication { - public struct WebAuthnAuthenticationOptions : Swift.OptionSet { + public struct WebAuthnAuthenticationOptions : Swift.OptionSet, @unchecked Swift.Sendable { public let rawValue: Swift.Int public init(rawValue: Swift.Int) public static let preferLocalCredantials: TSAuthenticationSDK.TSAuthentication.WebAuthnAuthenticationOptions @@ -112,7 +116,7 @@ extension TSAuthenticationSDK.TSAuthentication { public func encode(to encoder: any Swift.Encoder) throws required public init(from decoder: any Swift.Decoder) throws } -public enum TSAuthenticationError : Swift.Error { +public enum TSAuthenticationError : Swift.Error, @unchecked Swift.Sendable { case notInitialized case unsupportedOSVersion case requestIsRunning @@ -127,7 +131,7 @@ public enum TSAuthenticationError : Swift.Error { extension TSAuthenticationSDK.TSAuthenticationError : Swift.Equatable { public static func == (lhs: TSAuthenticationSDK.TSAuthenticationError, rhs: TSAuthenticationSDK.TSAuthenticationError) -> Swift.Bool } -public enum TSWebAuthnError { +public enum TSWebAuthnError : @unchecked Swift.Sendable { case canceled case invalidResponse(AuthenticationServices.ASAuthorizationError?) case notHandled(AuthenticationServices.ASAuthorizationError?) @@ -146,6 +150,10 @@ public enum TSTOTPError : Swift.Error { case invalidAlgorithm case invalidPeriod case invalidDigits + case devicePinNotAvailable + case devicePinOrBiometricNotAvailable + case userCanceled + case authenticationFailed case `internal`((any Swift.Error)?) } extension TSAuthenticationSDK.TSTOTPError : Swift.Equatable { @@ -153,7 +161,13 @@ extension TSAuthenticationSDK.TSTOTPError : Swift.Equatable { } public enum TSNativeBiometricsError : Swift.Error { case nativeBiometricsNotAvailable + case nativeBiometricsNotEnrolled case notRegistered + case canceled + case userCanceled + case failure + case lockedOut + case permissionDenied case `internal`((any Swift.Error)?) } extension TSAuthenticationSDK.TSNativeBiometricsError : Swift.Equatable { @@ -173,14 +187,14 @@ extension TSAuthenticationSDK.TSPinCodeError : Swift.Equatable { } @objc deinit } -@_hasMissingDesignatedInitializers final public class TSNativeBiometricsRegistrationResult { +@_hasMissingDesignatedInitializers final public class TSNativeBiometricsRegistrationResult : @unchecked Swift.Sendable { final public let publicKey: Swift.String final public let publicKeyId: Swift.String final public let keyType: Swift.String final public let attestation: Swift.String? @objc deinit } -public struct TSWebAuthnRegistrationData : Swift.Codable { +public struct TSWebAuthnRegistrationData : Swift.Codable, @unchecked Swift.Sendable { public let webauthnSessionId: Swift.String public let credentialCreationOptions: TSAuthenticationSDK.TSWebAuthnCredentialRequestOptionsData public var username: Swift.String? { @@ -191,7 +205,7 @@ public struct TSWebAuthnRegistrationData : Swift.Codable { public func encode(to encoder: any Swift.Encoder) throws public init(from decoder: any Swift.Decoder) throws } -public struct TSWebAuthnAuthenticationData : Swift.Codable { +public struct TSWebAuthnAuthenticationData : Swift.Codable, @unchecked Swift.Sendable { public let webauthnSessionId: Swift.String public let credentialRequestOptions: TSAuthenticationSDK.TSWebAuthnAuthenticationCredentialRequestOptionsData public var username: Swift.String? { @@ -213,32 +227,32 @@ public protocol TSRegistrationContext { public func commit() throws @objc deinit } -@_hasMissingDesignatedInitializers final public class TSAuthenticationResult { +@_hasMissingDesignatedInitializers final public class TSAuthenticationResult : @unchecked Swift.Sendable { final public var result: Swift.String { get } @objc deinit } -@_hasMissingDesignatedInitializers final public class TSNativeBiometricsUnregisterResult { +@_hasMissingDesignatedInitializers final public class TSNativeBiometricsUnregisterResult : @unchecked Swift.Sendable { final public let publicKeyId: Swift.String @objc deinit } -@_hasMissingDesignatedInitializers final public class TSNativeBiometricsAuthenticationResult { +@_hasMissingDesignatedInitializers final public class TSNativeBiometricsAuthenticationResult : @unchecked Swift.Sendable { final public let publicKeyId: Swift.String final public let signature: Swift.String @objc deinit } -@_hasMissingDesignatedInitializers final public class TSTOTPRegistrationResult { +@_hasMissingDesignatedInitializers final public class TSTOTPRegistrationResult : @unchecked Swift.Sendable { final public let issuer: Swift.String? final public let label: Swift.String? final public let uuid: Swift.String @objc deinit } -@_hasMissingDesignatedInitializers final public class TSTOTPGenerateCodeResult { +@_hasMissingDesignatedInitializers final public class TSTOTPGenerateCodeResult : @unchecked Swift.Sendable { final public let code: Swift.String @objc deinit } -@_hasMissingDesignatedInitializers final public class TSPinCodeRegistrationResult { +@_hasMissingDesignatedInitializers final public class TSPinCodeRegistrationResult : @unchecked Swift.Sendable { final public let publicKey: Swift.String final public let publicKeyId: Swift.String final public let keyType: Swift.String @@ -246,19 +260,19 @@ public protocol TSRegistrationContext { final public let registrationContext: TSAuthenticationSDK.TSPinCodeRegistrationContext @objc deinit } -@_hasMissingDesignatedInitializers final public class TSPinCodeAuthenticationResult : Swift.Encodable { +@_hasMissingDesignatedInitializers final public class TSPinCodeAuthenticationResult : Swift.Encodable, @unchecked Swift.Sendable { final public let publicKeyId: Swift.String final public let signature: Swift.String final public let challenge: Swift.String @objc deinit final public func encode(to encoder: any Swift.Encoder) throws } -@_hasMissingDesignatedInitializers final public class TSPinCodeUnregistrationResult { +@_hasMissingDesignatedInitializers final public class TSPinCodeUnregistrationResult : @unchecked Swift.Sendable { final public let publicKeyId: Swift.String final public let unregistrationContext: TSAuthenticationSDK.TSPinCodeUnregistrationContext @objc deinit } -@_hasMissingDesignatedInitializers final public class TSSignChallengeResult { +@_hasMissingDesignatedInitializers final public class TSSignChallengeResult : @unchecked Swift.Sendable { final public let signature: Swift.String @objc deinit } @@ -300,5 +314,32 @@ extension TSAuthenticationSDK.TSAuthentication { public func encode(to encoder: any Swift.Encoder) throws required public init(from decoder: any Swift.Decoder) throws } +public enum TSBiometricType { + case faceID + case touchID + case opticID + case none + public static func == (a: TSAuthenticationSDK.TSBiometricType, b: TSAuthenticationSDK.TSBiometricType) -> Swift.Bool + public func hash(into hasher: inout Swift.Hasher) + public var hashValue: Swift.Int { + get + } +} +public enum TSBiometricStatus { + case available + case notEnrolled + case notAvailable + case permissionDenied + case lockedOut + public static func == (a: TSAuthenticationSDK.TSBiometricStatus, b: TSAuthenticationSDK.TSBiometricStatus) -> Swift.Bool + public func hash(into hasher: inout Swift.Hasher) + public var hashValue: Swift.Int { + get + } +} extension TSAuthenticationSDK.TSTOTPSecurityType : Swift.Equatable {} extension TSAuthenticationSDK.TSTOTPSecurityType : Swift.Hashable {} +extension TSAuthenticationSDK.TSBiometricType : Swift.Equatable {} +extension TSAuthenticationSDK.TSBiometricType : Swift.Hashable {} +extension TSAuthenticationSDK.TSBiometricStatus : Swift.Equatable {} +extension TSAuthenticationSDK.TSBiometricStatus : Swift.Hashable {} diff --git a/Sources/TSAuthenticationSDK.xcframework/ios-arm64/TSAuthenticationSDK.framework/Modules/TSAuthenticationSDK.swiftmodule/arm64-apple-ios.swiftdoc b/Sources/TSAuthenticationSDK.xcframework/ios-arm64/TSAuthenticationSDK.framework/Modules/TSAuthenticationSDK.swiftmodule/arm64-apple-ios.swiftdoc index 4500319..592c8c4 100644 Binary files a/Sources/TSAuthenticationSDK.xcframework/ios-arm64/TSAuthenticationSDK.framework/Modules/TSAuthenticationSDK.swiftmodule/arm64-apple-ios.swiftdoc and b/Sources/TSAuthenticationSDK.xcframework/ios-arm64/TSAuthenticationSDK.framework/Modules/TSAuthenticationSDK.swiftmodule/arm64-apple-ios.swiftdoc differ diff --git a/Sources/TSAuthenticationSDK.xcframework/ios-arm64/TSAuthenticationSDK.framework/Modules/TSAuthenticationSDK.swiftmodule/arm64-apple-ios.swiftinterface b/Sources/TSAuthenticationSDK.xcframework/ios-arm64/TSAuthenticationSDK.framework/Modules/TSAuthenticationSDK.swiftmodule/arm64-apple-ios.swiftinterface index dec35a7..d054138 100644 --- a/Sources/TSAuthenticationSDK.xcframework/ios-arm64/TSAuthenticationSDK.framework/Modules/TSAuthenticationSDK.swiftmodule/arm64-apple-ios.swiftinterface +++ b/Sources/TSAuthenticationSDK.xcframework/ios-arm64/TSAuthenticationSDK.framework/Modules/TSAuthenticationSDK.swiftmodule/arm64-apple-ios.swiftinterface @@ -1,6 +1,6 @@ // swift-interface-format-version: 1.0 -// swift-compiler-version: Apple Swift version 6.0.3 effective-5.10 (swiftlang-6.0.3.1.10 clang-1600.0.30.1) -// swift-module-flags: -target arm64-apple-ios13.0 -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -O -enable-bare-slash-regex -module-name TSAuthenticationSDK +// swift-compiler-version: Apple Swift version 6.0.3 (swiftlang-6.0.3.1.10 clang-1600.0.30.1) +// swift-module-flags: -target arm64-apple-ios13.0 -enable-objc-interop -enable-library-evolution -swift-version 6 -enforce-exclusivity=checked -O -module-name TSAuthenticationSDK // swift-module-flags-ignorable: -no-verify-emitted-module-interface import AuthenticationServices import CryptoKit @@ -45,6 +45,8 @@ public struct TSAuthenticationConfiguration { public enum TSTOTPSecurityType : Swift.Codable { case biometric case none + case devicePin + case devicePinOrBiometric public static func == (a: TSAuthenticationSDK.TSTOTPSecurityType, b: TSAuthenticationSDK.TSTOTPSecurityType) -> Swift.Bool public func hash(into hasher: inout Swift.Hasher) public func encode(to encoder: any Swift.Encoder) throws @@ -53,13 +55,13 @@ public enum TSTOTPSecurityType : Swift.Codable { } public init(from decoder: any Swift.Decoder) throws } -public struct TSDeviceInfo : Swift.Codable { +public struct TSDeviceInfo : Swift.Codable, @unchecked Swift.Sendable { public let publicKeyId: Swift.String public let publicKey: Swift.String public func encode(to encoder: any Swift.Encoder) throws public init(from decoder: any Swift.Decoder) throws } -@objc @_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers final public class TSAuthentication : ObjectiveC.NSObject, TSCoreSDK.TSLogConfigurable { +@objc @_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers final public class TSAuthentication : ObjectiveC.NSObject, TSCoreSDK.TSLogConfigurable, @unchecked Swift.Sendable { public static let shared: TSAuthenticationSDK.TSAuthentication final public func initialize(baseUrl: Swift.String = "https://api.transmitsecurity.io/", clientId: Swift.String, domain: Swift.String? = nil, initOptions: TSAuthenticationSDK.TSAuthenticationInitOptions? = nil) final public func initializeSDK(configuration: TSAuthenticationSDK.TSAuthenticationConfiguration? = nil) throws @@ -81,17 +83,19 @@ public struct TSDeviceInfo : Swift.Codable { final public func registerPinCode(username: Swift.String, pinCode: Swift.String, completion: @escaping TSAuthenticationSDK.TSPinCodeRegistrationCompletion) final public func registerPinCode(username: Swift.String, pinCode: Swift.String) async throws -> TSAuthenticationSDK.TSPinCodeRegistrationResult final public func authenticatePinCode(username: Swift.String, pinCode: Swift.String, challenge: Swift.String, completion: @escaping TSAuthenticationSDK.TSPinCodeAuthenticationCompletion) + final public func authenticatePinCode(username: Swift.String, pinCode: Swift.String, challenge: Swift.String) async throws -> TSAuthenticationSDK.TSPinCodeAuthenticationResult final public func unregisterPinCode(username: Swift.String, completion: @escaping TSAuthenticationSDK.TSPinCodeUnregistrationCompletion) final public func unregisterPinCode(username: Swift.String) async throws -> TSAuthenticationSDK.TSPinCodeUnregistrationResult - final public func authenticatePinCode(username: Swift.String, pinCode: Swift.String, challenge: Swift.String) async throws -> TSAuthenticationSDK.TSPinCodeAuthenticationResult final public func getDeviceInfo(_ completion: @escaping TSAuthenticationSDK.DeviceInfoCompletion) final public func signWithDeviceKey(challenge: Swift.String, completion: @escaping TSAuthenticationSDK.TSSignChallengeCompletion) public static func isWebAuthnSupported() -> Swift.Bool public static func isNativeBiometricsEnrolled() -> Swift.Bool + public static func nativeBiometricsType() -> TSAuthenticationSDK.TSBiometricType + public static func nativeBiometricsStatus() -> TSAuthenticationSDK.TSBiometricStatus @objc deinit } extension TSAuthenticationSDK.TSAuthentication { - public struct WebAuthnAuthenticationOptions : Swift.OptionSet { + public struct WebAuthnAuthenticationOptions : Swift.OptionSet, @unchecked Swift.Sendable { public let rawValue: Swift.Int public init(rawValue: Swift.Int) public static let preferLocalCredantials: TSAuthenticationSDK.TSAuthentication.WebAuthnAuthenticationOptions @@ -112,7 +116,7 @@ extension TSAuthenticationSDK.TSAuthentication { public func encode(to encoder: any Swift.Encoder) throws required public init(from decoder: any Swift.Decoder) throws } -public enum TSAuthenticationError : Swift.Error { +public enum TSAuthenticationError : Swift.Error, @unchecked Swift.Sendable { case notInitialized case unsupportedOSVersion case requestIsRunning @@ -127,7 +131,7 @@ public enum TSAuthenticationError : Swift.Error { extension TSAuthenticationSDK.TSAuthenticationError : Swift.Equatable { public static func == (lhs: TSAuthenticationSDK.TSAuthenticationError, rhs: TSAuthenticationSDK.TSAuthenticationError) -> Swift.Bool } -public enum TSWebAuthnError { +public enum TSWebAuthnError : @unchecked Swift.Sendable { case canceled case invalidResponse(AuthenticationServices.ASAuthorizationError?) case notHandled(AuthenticationServices.ASAuthorizationError?) @@ -146,6 +150,10 @@ public enum TSTOTPError : Swift.Error { case invalidAlgorithm case invalidPeriod case invalidDigits + case devicePinNotAvailable + case devicePinOrBiometricNotAvailable + case userCanceled + case authenticationFailed case `internal`((any Swift.Error)?) } extension TSAuthenticationSDK.TSTOTPError : Swift.Equatable { @@ -153,7 +161,13 @@ extension TSAuthenticationSDK.TSTOTPError : Swift.Equatable { } public enum TSNativeBiometricsError : Swift.Error { case nativeBiometricsNotAvailable + case nativeBiometricsNotEnrolled case notRegistered + case canceled + case userCanceled + case failure + case lockedOut + case permissionDenied case `internal`((any Swift.Error)?) } extension TSAuthenticationSDK.TSNativeBiometricsError : Swift.Equatable { @@ -173,14 +187,14 @@ extension TSAuthenticationSDK.TSPinCodeError : Swift.Equatable { } @objc deinit } -@_hasMissingDesignatedInitializers final public class TSNativeBiometricsRegistrationResult { +@_hasMissingDesignatedInitializers final public class TSNativeBiometricsRegistrationResult : @unchecked Swift.Sendable { final public let publicKey: Swift.String final public let publicKeyId: Swift.String final public let keyType: Swift.String final public let attestation: Swift.String? @objc deinit } -public struct TSWebAuthnRegistrationData : Swift.Codable { +public struct TSWebAuthnRegistrationData : Swift.Codable, @unchecked Swift.Sendable { public let webauthnSessionId: Swift.String public let credentialCreationOptions: TSAuthenticationSDK.TSWebAuthnCredentialRequestOptionsData public var username: Swift.String? { @@ -191,7 +205,7 @@ public struct TSWebAuthnRegistrationData : Swift.Codable { public func encode(to encoder: any Swift.Encoder) throws public init(from decoder: any Swift.Decoder) throws } -public struct TSWebAuthnAuthenticationData : Swift.Codable { +public struct TSWebAuthnAuthenticationData : Swift.Codable, @unchecked Swift.Sendable { public let webauthnSessionId: Swift.String public let credentialRequestOptions: TSAuthenticationSDK.TSWebAuthnAuthenticationCredentialRequestOptionsData public var username: Swift.String? { @@ -213,32 +227,32 @@ public protocol TSRegistrationContext { public func commit() throws @objc deinit } -@_hasMissingDesignatedInitializers final public class TSAuthenticationResult { +@_hasMissingDesignatedInitializers final public class TSAuthenticationResult : @unchecked Swift.Sendable { final public var result: Swift.String { get } @objc deinit } -@_hasMissingDesignatedInitializers final public class TSNativeBiometricsUnregisterResult { +@_hasMissingDesignatedInitializers final public class TSNativeBiometricsUnregisterResult : @unchecked Swift.Sendable { final public let publicKeyId: Swift.String @objc deinit } -@_hasMissingDesignatedInitializers final public class TSNativeBiometricsAuthenticationResult { +@_hasMissingDesignatedInitializers final public class TSNativeBiometricsAuthenticationResult : @unchecked Swift.Sendable { final public let publicKeyId: Swift.String final public let signature: Swift.String @objc deinit } -@_hasMissingDesignatedInitializers final public class TSTOTPRegistrationResult { +@_hasMissingDesignatedInitializers final public class TSTOTPRegistrationResult : @unchecked Swift.Sendable { final public let issuer: Swift.String? final public let label: Swift.String? final public let uuid: Swift.String @objc deinit } -@_hasMissingDesignatedInitializers final public class TSTOTPGenerateCodeResult { +@_hasMissingDesignatedInitializers final public class TSTOTPGenerateCodeResult : @unchecked Swift.Sendable { final public let code: Swift.String @objc deinit } -@_hasMissingDesignatedInitializers final public class TSPinCodeRegistrationResult { +@_hasMissingDesignatedInitializers final public class TSPinCodeRegistrationResult : @unchecked Swift.Sendable { final public let publicKey: Swift.String final public let publicKeyId: Swift.String final public let keyType: Swift.String @@ -246,19 +260,19 @@ public protocol TSRegistrationContext { final public let registrationContext: TSAuthenticationSDK.TSPinCodeRegistrationContext @objc deinit } -@_hasMissingDesignatedInitializers final public class TSPinCodeAuthenticationResult : Swift.Encodable { +@_hasMissingDesignatedInitializers final public class TSPinCodeAuthenticationResult : Swift.Encodable, @unchecked Swift.Sendable { final public let publicKeyId: Swift.String final public let signature: Swift.String final public let challenge: Swift.String @objc deinit final public func encode(to encoder: any Swift.Encoder) throws } -@_hasMissingDesignatedInitializers final public class TSPinCodeUnregistrationResult { +@_hasMissingDesignatedInitializers final public class TSPinCodeUnregistrationResult : @unchecked Swift.Sendable { final public let publicKeyId: Swift.String final public let unregistrationContext: TSAuthenticationSDK.TSPinCodeUnregistrationContext @objc deinit } -@_hasMissingDesignatedInitializers final public class TSSignChallengeResult { +@_hasMissingDesignatedInitializers final public class TSSignChallengeResult : @unchecked Swift.Sendable { final public let signature: Swift.String @objc deinit } @@ -300,5 +314,32 @@ extension TSAuthenticationSDK.TSAuthentication { public func encode(to encoder: any Swift.Encoder) throws required public init(from decoder: any Swift.Decoder) throws } +public enum TSBiometricType { + case faceID + case touchID + case opticID + case none + public static func == (a: TSAuthenticationSDK.TSBiometricType, b: TSAuthenticationSDK.TSBiometricType) -> Swift.Bool + public func hash(into hasher: inout Swift.Hasher) + public var hashValue: Swift.Int { + get + } +} +public enum TSBiometricStatus { + case available + case notEnrolled + case notAvailable + case permissionDenied + case lockedOut + public static func == (a: TSAuthenticationSDK.TSBiometricStatus, b: TSAuthenticationSDK.TSBiometricStatus) -> Swift.Bool + public func hash(into hasher: inout Swift.Hasher) + public var hashValue: Swift.Int { + get + } +} extension TSAuthenticationSDK.TSTOTPSecurityType : Swift.Equatable {} extension TSAuthenticationSDK.TSTOTPSecurityType : Swift.Hashable {} +extension TSAuthenticationSDK.TSBiometricType : Swift.Equatable {} +extension TSAuthenticationSDK.TSBiometricType : Swift.Hashable {} +extension TSAuthenticationSDK.TSBiometricStatus : Swift.Equatable {} +extension TSAuthenticationSDK.TSBiometricStatus : Swift.Hashable {} diff --git a/Sources/TSAuthenticationSDK.xcframework/ios-arm64/TSAuthenticationSDK.framework/TSAuthenticationSDK b/Sources/TSAuthenticationSDK.xcframework/ios-arm64/TSAuthenticationSDK.framework/TSAuthenticationSDK index 0c4ff88..fb361a1 100755 Binary files a/Sources/TSAuthenticationSDK.xcframework/ios-arm64/TSAuthenticationSDK.framework/TSAuthenticationSDK and b/Sources/TSAuthenticationSDK.xcframework/ios-arm64/TSAuthenticationSDK.framework/TSAuthenticationSDK differ diff --git a/Sources/TSAuthenticationSDK.xcframework/ios-arm64/TSAuthenticationSDK.framework/version b/Sources/TSAuthenticationSDK.xcframework/ios-arm64/TSAuthenticationSDK.framework/version index 07ef1f4..5530d05 100644 --- a/Sources/TSAuthenticationSDK.xcframework/ios-arm64/TSAuthenticationSDK.framework/version +++ b/Sources/TSAuthenticationSDK.xcframework/ios-arm64/TSAuthenticationSDK.framework/version @@ -1 +1 @@ -1.1.16 4c24f29 +1.2.1 4e4def4 diff --git a/Sources/TSAuthenticationSDK.xcframework/ios-arm64_x86_64-simulator/TSAuthenticationSDK.framework/CHANGELOG.md b/Sources/TSAuthenticationSDK.xcframework/ios-arm64_x86_64-simulator/TSAuthenticationSDK.framework/CHANGELOG.md new file mode 100644 index 0000000..2a12ff8 --- /dev/null +++ b/Sources/TSAuthenticationSDK.xcframework/ios-arm64_x86_64-simulator/TSAuthenticationSDK.framework/CHANGELOG.md @@ -0,0 +1,32 @@ +--- +title: Changelog +toc: + maxDepth: 2 +--- +# iOS Authentication SDK Changelog + +## Authentication - 1.2.1 - May 2026 +* feat: New security types for TOTP generation - 'devicePin' and 'devicePinOrBiometric'. +* feat: Added 'nativeBiometricsStatus()' API to retrieve the current native biometrics availability and status on the device. +* feat: Added 'nativeBiometricsType()' API to determine the currently available biometric authentication type (e.g., Face ID or Touch ID). +* feat: Enhanced iOS native biometrics error handling. + +## Authentication - 1.2.0 - Feb 2026 +* feat: Swift 6 support. + +## Authentication - 1.1.17 - Dec 2025 +* feat: Added compatibility with TSCoreSDK version 1.0.36. + +## Authentication - 1.1.16 - Oct 2025 +* feat: Add support PIN deletion. + +## Authentication - 1.1.15 - May 2025 +* feat: Add support PIN authentication. + +## Authentication - 1.1.14 - Apr. 2025 +* feat: Support elliptic-curve (EC) keys for mobile biometrics. +* feat: Allow multiple mobile-biometric registrations. + +## Authentication - 1.1.13 - Apr. 2025 +* feat: Add API for signing challenge using the device key. +* feat: Add APIs for client-side WebAuthn authentication, registration, and approval. diff --git a/Sources/TSAuthenticationSDK.xcframework/ios-arm64_x86_64-simulator/TSAuthenticationSDK.framework/Headers/TSAuthenticationSDK-Swift.h b/Sources/TSAuthenticationSDK.xcframework/ios-arm64_x86_64-simulator/TSAuthenticationSDK.framework/Headers/TSAuthenticationSDK-Swift.h index 1bbd0f2..73e79e1 100644 --- a/Sources/TSAuthenticationSDK.xcframework/ios-arm64_x86_64-simulator/TSAuthenticationSDK.framework/Headers/TSAuthenticationSDK-Swift.h +++ b/Sources/TSAuthenticationSDK.xcframework/ios-arm64_x86_64-simulator/TSAuthenticationSDK.framework/Headers/TSAuthenticationSDK-Swift.h @@ -1,6 +1,6 @@ #if 0 #elif defined(__arm64__) && __arm64__ -// Generated by Apple Swift version 6.0.3 effective-5.10 (swiftlang-6.0.3.1.10 clang-1600.0.30.1) +// Generated by Apple Swift version 6.0.3 (swiftlang-6.0.3.1.10 clang-1600.0.30.1) #ifndef TSAUTHENTICATIONSDK_SWIFT_H #define TSAUTHENTICATIONSDK_SWIFT_H #pragma clang diagnostic push @@ -376,7 +376,7 @@ SWIFT_CLASS("_TtC19TSAuthenticationSDK18TSWebAuthnUserData") #endif #elif defined(__x86_64__) && __x86_64__ -// Generated by Apple Swift version 6.0.3 effective-5.10 (swiftlang-6.0.3.1.10 clang-1600.0.30.1) +// Generated by Apple Swift version 6.0.3 (swiftlang-6.0.3.1.10 clang-1600.0.30.1) #ifndef TSAUTHENTICATIONSDK_SWIFT_H #define TSAUTHENTICATIONSDK_SWIFT_H #pragma clang diagnostic push diff --git a/Sources/TSAuthenticationSDK.xcframework/ios-arm64_x86_64-simulator/TSAuthenticationSDK.framework/Headers/TSAuthenticationSDK.swift b/Sources/TSAuthenticationSDK.xcframework/ios-arm64_x86_64-simulator/TSAuthenticationSDK.framework/Headers/TSAuthenticationSDK.swift index bf8aa2a..4ed443e 100644 --- a/Sources/TSAuthenticationSDK.xcframework/ios-arm64_x86_64-simulator/TSAuthenticationSDK.framework/Headers/TSAuthenticationSDK.swift +++ b/Sources/TSAuthenticationSDK.xcframework/ios-arm64_x86_64-simulator/TSAuthenticationSDK.framework/Headers/TSAuthenticationSDK.swift @@ -59,7 +59,7 @@ public struct TSAuthenticationConfiguration { } public enum TSTOTPSecurityType: Codable { - /** + /** Securing the secret with biometric authentication, adding an extra layer of security. */ case biometric @@ -67,9 +67,19 @@ public enum TSTOTPSecurityType: Codable { No additional protection for secret */ case none + /** + Securing the secret with the device PIN or password. + The system passcode prompt is shown before generating a TOTP code. + */ + case devicePin + /** + Securing the secret with either device PIN or biometric authentication. + The system authentication prompt (biometrics with passcode fallback) is shown before generating a TOTP code. + */ + case devicePinOrBiometric } -public struct TSDeviceInfo: Codable { +public struct TSDeviceInfo: Codable, @unchecked Sendable { public let publicKeyId: String public let publicKey: String @@ -83,9 +93,8 @@ protocol TSBaseAuthenticationSdkProtocol { static func isWebAuthnSupported() -> Bool } -final public class TSAuthentication: NSObject, TSBaseAuthenticationSdkProtocol, TSLogConfigurable { +final public class TSAuthentication: NSObject, TSBaseAuthenticationSdkProtocol, TSLogConfigurable, @unchecked Sendable { - public static let shared: TSAuthentication = TSAuthentication() private var controller: TSAuthenticationController? @@ -333,14 +342,22 @@ final public class TSAuthentication: NSObject, TSBaseAuthenticationSdkProtocol, /// • `.success(TSPinCodeRegistrationResult)` on success, or /// • `.failure(TSAuthenticationError)` on error. public func registerPinCode(username: String, pinCode: String, completion: @escaping TSPinCodeRegistrationCompletion) { - Task { @MainActor in + let completionBox = UncheckedCompletionBox(completion) + + Task { [completionBox] in do { let result = try await registerPinCode(username: username, pinCode: pinCode) - completion(.success(result)) + Task { @MainActor in + completionBox.call(.success(result)) + } } catch let error as TSPinCodeError { - completion(.failure(.pinCodeError(error))) + Task { @MainActor in + completionBox.call(.failure(.pinCodeError(error))) + } } catch { - completion(.failure(.pinCodeError(.internal(error)))) + Task { @MainActor in + completionBox.call(.failure(.pinCodeError(.internal(error)))) + } } } } @@ -376,18 +393,49 @@ final public class TSAuthentication: NSObject, TSBaseAuthenticationSdkProtocol, /// • `.success(TSPinCodeAuthenticationResult)` on success, or /// • `.failure(TSAuthenticationError)` on error. public func authenticatePinCode(username: String, pinCode: String, challenge: String, completion: @escaping TSPinCodeAuthenticationCompletion) { - Task { @MainActor in + + let completionBox = UncheckedCompletionBox(completion) + + Task { [completionBox] in do { let result = try await authenticatePinCode(username: username, pinCode: pinCode, challenge: challenge) - completion(.success(result)) + Task { @MainActor in + completionBox.call(.success(result)) + } } catch let error as TSPinCodeError { - completion(.failure(.pinCodeError(error))) + Task { @MainActor in + completionBox.call(.failure(.pinCodeError(error))) + } } catch { - completion(.failure(.pinCodeError(.internal(error)))) + Task { @MainActor in + completionBox.call(.failure(.pinCodeError(.internal(error)))) + } } } } + + /// Async variant that actually performs the PIN authentication. + /// + /// - Parameters: + /// - username: The user’s identifier. + /// - pinCode: The entered PIN string. + /// - challenge: The server‐provided challenge to prove possession of the PIN key. + /// - Returns: `TSPinCodeAuthenticationResult` on success. + /// - Throws: `TSAuthenticationError` from the controller. + public func authenticatePinCode(username: String, pinCode: String, challenge: String) async throws -> TSPinCodeAuthenticationResult { + guard let controller else { throw TSAuthenticationError.notInitialized } + do { + return try await controller.authenticatePinCode(username: username, pinCode: pinCode, challenge: challenge) + } catch let error as TSPinCodeError { + TSLog.e("PIN code authentication failed with error: \(error)") + throw TSAuthenticationError.pinCodeError(error) + } catch { + TSLog.e("PIN code authentication failed with error: \(error)") + throw TSAuthenticationError.pinCodeError(.internal(error)) + } + } + /// Unregister user's Pin Code authenticator. /// /// - Parameters: @@ -396,14 +444,22 @@ final public class TSAuthentication: NSObject, TSBaseAuthenticationSdkProtocol, /// • `.success(TSPinCodeUnregistrationResult)` on success, or /// • `.failure(TSAuthenticationError)` on error. public func unregisterPinCode(username: String, completion: @escaping TSPinCodeUnregistrationCompletion) { - Task { @MainActor in + let completionBox = UncheckedCompletionBox(completion) + + Task { [completionBox] in do { let result = try await unregisterPinCode(username: username) - completion(.success(result)) + Task { @MainActor in + completionBox.call(.success(result)) + } } catch let error as TSPinCodeError { - completion(.failure(.pinCodeError(error))) + Task { @MainActor in + completionBox.call(.failure(.pinCodeError(error))) + } } catch { - completion(.failure(.pinCodeError(.internal(error)))) + Task { @MainActor in + completionBox.call(.failure(.pinCodeError(.internal(error)))) + } } } } @@ -427,27 +483,6 @@ final public class TSAuthentication: NSObject, TSBaseAuthenticationSdkProtocol, throw TSAuthenticationError.pinCodeError(.internal(error)) } } - - /// Async variant that actually performs the PIN authentication. - /// - /// - Parameters: - /// - username: The user’s identifier. - /// - pinCode: The entered PIN string. - /// - challenge: The server‐provided challenge to prove possession of the PIN key. - /// - Returns: `TSPinCodeAuthenticationResult` on success. - /// - Throws: `TSAuthenticationError` from the controller. - public func authenticatePinCode(username: String, pinCode: String, challenge: String) async throws -> TSPinCodeAuthenticationResult { - guard let controller else { throw TSAuthenticationError.notInitialized } - do { - return try await controller.authenticatePinCode(username: username, pinCode: pinCode, challenge: challenge) - } catch let error as TSPinCodeError { - TSLog.e("PIN code authentication failed with error: \(error)") - throw TSAuthenticationError.pinCodeError(error) - } catch { - TSLog.e("PIN code authentication failed with error: \(error)") - throw TSAuthenticationError.pinCodeError(.internal(error)) - } - } /** Retrieves device-specific information, such as public key and its associated ID, which are unique to the application installed on the device. @@ -484,6 +519,32 @@ final public class TSAuthentication: NSObject, TSBaseAuthenticationSdkProtocol, public static func isNativeBiometricsEnrolled() -> Bool { TSAuthenticationController.isNativeBiometricsEnrolled() } + + /** + Returns the biometric type supported by this device. + + The result reflects the hardware capability regardless of enrollment state. + Call ``nativeBiometricsStatus()`` to determine whether the user has actually enrolled. + @return + A `TSBiometricType` value: `.faceID`, `.touchID`, `.opticID`, or `.none`. + */ + public static func nativeBiometricsType() -> TSBiometricType { + TSAuthenticationController.nativeBiometricsType() + } + + /** + Returns the current enrollment and availability status of biometric authentication. + + Possible values: + - `.available` — biometrics are enrolled and ready to use. + - `.notEnrolled` — hardware is present but the user has not set up biometrics. + - `.notAvailable` — no biometric hardware on this device. + - `.permissionDenied` — hardware exists but the app's biometric access was revoked in Settings. + - `.lockedOut` — too many failed attempts; passcode is required to re-enable biometrics. + */ + public static func nativeBiometricsStatus() -> TSBiometricStatus { + TSAuthenticationController.nativeBiometricsStatus() + } } @@ -505,7 +566,7 @@ private extension TSAuthentication { public extension TSAuthentication { /// Options for WebAuthn authentication. - struct WebAuthnAuthenticationOptions: OptionSet { + struct WebAuthnAuthenticationOptions: OptionSet, @unchecked Sendable { public let rawValue: Int public init(rawValue: Int) { diff --git a/Sources/TSAuthenticationSDK.xcframework/ios-arm64_x86_64-simulator/TSAuthenticationSDK.framework/Info.plist b/Sources/TSAuthenticationSDK.xcframework/ios-arm64_x86_64-simulator/TSAuthenticationSDK.framework/Info.plist index b37c80e..4f4ec4d 100644 Binary files a/Sources/TSAuthenticationSDK.xcframework/ios-arm64_x86_64-simulator/TSAuthenticationSDK.framework/Info.plist and b/Sources/TSAuthenticationSDK.xcframework/ios-arm64_x86_64-simulator/TSAuthenticationSDK.framework/Info.plist differ diff --git a/Sources/TSAuthenticationSDK.xcframework/ios-arm64_x86_64-simulator/TSAuthenticationSDK.framework/Modules/TSAuthenticationSDK.swiftmodule/arm64-apple-ios-simulator.abi.json b/Sources/TSAuthenticationSDK.xcframework/ios-arm64_x86_64-simulator/TSAuthenticationSDK.framework/Modules/TSAuthenticationSDK.swiftmodule/arm64-apple-ios-simulator.abi.json index b1066c4..7611971 100644 --- a/Sources/TSAuthenticationSDK.xcframework/ios-arm64_x86_64-simulator/TSAuthenticationSDK.framework/Modules/TSAuthenticationSDK.swiftmodule/arm64-apple-ios-simulator.abi.json +++ b/Sources/TSAuthenticationSDK.xcframework/ios-arm64_x86_64-simulator/TSAuthenticationSDK.framework/Modules/TSAuthenticationSDK.swiftmodule/arm64-apple-ios-simulator.abi.json @@ -416,6 +416,86 @@ "RawDocComment" ] }, + { + "kind": "Var", + "name": "devicePin", + "printedName": "devicePin", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(TSAuthenticationSDK.TSTOTPSecurityType.Type) -> TSAuthenticationSDK.TSTOTPSecurityType", + "children": [ + { + "kind": "TypeNominal", + "name": "TSTOTPSecurityType", + "printedName": "TSAuthenticationSDK.TSTOTPSecurityType", + "usr": "s:19TSAuthenticationSDK18TSTOTPSecurityTypeO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "TSAuthenticationSDK.TSTOTPSecurityType.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "TSTOTPSecurityType", + "printedName": "TSAuthenticationSDK.TSTOTPSecurityType", + "usr": "s:19TSAuthenticationSDK18TSTOTPSecurityTypeO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:19TSAuthenticationSDK18TSTOTPSecurityTypeO9devicePinyA2CmF", + "mangledName": "$s19TSAuthenticationSDK18TSTOTPSecurityTypeO9devicePinyA2CmF", + "moduleName": "TSAuthenticationSDK", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "devicePinOrBiometric", + "printedName": "devicePinOrBiometric", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(TSAuthenticationSDK.TSTOTPSecurityType.Type) -> TSAuthenticationSDK.TSTOTPSecurityType", + "children": [ + { + "kind": "TypeNominal", + "name": "TSTOTPSecurityType", + "printedName": "TSAuthenticationSDK.TSTOTPSecurityType", + "usr": "s:19TSAuthenticationSDK18TSTOTPSecurityTypeO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "TSAuthenticationSDK.TSTOTPSecurityType.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "TSTOTPSecurityType", + "printedName": "TSAuthenticationSDK.TSTOTPSecurityType", + "usr": "s:19TSAuthenticationSDK18TSTOTPSecurityTypeO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:19TSAuthenticationSDK18TSTOTPSecurityTypeO20devicePinOrBiometricyA2CmF", + "mangledName": "$s19TSAuthenticationSDK18TSTOTPSecurityTypeO20devicePinOrBiometricyA2CmF", + "moduleName": "TSAuthenticationSDK", + "declAttributes": [ + "RawDocComment" + ] + }, { "kind": "Function", "name": "==", @@ -796,6 +876,13 @@ "printedName": "Encodable", "usr": "s:SE", "mangledName": "$sSE" + }, + { + "kind": "Conformance", + "name": "Sendable", + "printedName": "Sendable", + "usr": "s:s8SendableP", + "mangledName": "$ss8SendableP" } ] }, @@ -2211,6 +2298,48 @@ ], "funcSelfKind": "NonMutating" }, + { + "kind": "Function", + "name": "authenticatePinCode", + "printedName": "authenticatePinCode(username:pinCode:challenge:)", + "children": [ + { + "kind": "TypeNominal", + "name": "TSPinCodeAuthenticationResult", + "printedName": "TSAuthenticationSDK.TSPinCodeAuthenticationResult", + "usr": "s:19TSAuthenticationSDK29TSPinCodeAuthenticationResultC" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Func", + "usr": "s:19TSAuthenticationSDK0A0C19authenticatePinCode8username03pinE09challengeAA05TSPinE20AuthenticationResultCSS_S2StYaKF", + "mangledName": "$s19TSAuthenticationSDK0A0C19authenticatePinCode8username03pinE09challengeAA05TSPinE20AuthenticationResultCSS_S2StYaKF", + "moduleName": "TSAuthenticationSDK", + "declAttributes": [ + "Final", + "AccessControl", + "RawDocComment" + ], + "throwing": true, + "funcSelfKind": "NonMutating" + }, { "kind": "Function", "name": "unregisterPinCode", @@ -2301,48 +2430,6 @@ "throwing": true, "funcSelfKind": "NonMutating" }, - { - "kind": "Function", - "name": "authenticatePinCode", - "printedName": "authenticatePinCode(username:pinCode:challenge:)", - "children": [ - { - "kind": "TypeNominal", - "name": "TSPinCodeAuthenticationResult", - "printedName": "TSAuthenticationSDK.TSPinCodeAuthenticationResult", - "usr": "s:19TSAuthenticationSDK29TSPinCodeAuthenticationResultC" - }, - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - }, - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - }, - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "declKind": "Func", - "usr": "s:19TSAuthenticationSDK0A0C19authenticatePinCode8username03pinE09challengeAA05TSPinE20AuthenticationResultCSS_S2StYaKF", - "mangledName": "$s19TSAuthenticationSDK0A0C19authenticatePinCode8username03pinE09challengeAA05TSPinE20AuthenticationResultCSS_S2StYaKF", - "moduleName": "TSAuthenticationSDK", - "declAttributes": [ - "Final", - "AccessControl", - "RawDocComment" - ], - "throwing": true, - "funcSelfKind": "NonMutating" - }, { "kind": "Function", "name": "getDeviceInfo", @@ -2505,6 +2592,54 @@ ], "funcSelfKind": "NonMutating" }, + { + "kind": "Function", + "name": "nativeBiometricsType", + "printedName": "nativeBiometricsType()", + "children": [ + { + "kind": "TypeNominal", + "name": "TSBiometricType", + "printedName": "TSAuthenticationSDK.TSBiometricType", + "usr": "s:19TSAuthenticationSDK15TSBiometricTypeO" + } + ], + "declKind": "Func", + "usr": "s:19TSAuthenticationSDK0A0C20nativeBiometricsTypeAA011TSBiometricE0OyFZ", + "mangledName": "$s19TSAuthenticationSDK0A0C20nativeBiometricsTypeAA011TSBiometricE0OyFZ", + "moduleName": "TSAuthenticationSDK", + "static": true, + "declAttributes": [ + "Final", + "AccessControl", + "RawDocComment" + ], + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "nativeBiometricsStatus", + "printedName": "nativeBiometricsStatus()", + "children": [ + { + "kind": "TypeNominal", + "name": "TSBiometricStatus", + "printedName": "TSAuthenticationSDK.TSBiometricStatus", + "usr": "s:19TSAuthenticationSDK17TSBiometricStatusO" + } + ], + "declKind": "Func", + "usr": "s:19TSAuthenticationSDK0A0C22nativeBiometricsStatusAA011TSBiometricE0OyFZ", + "mangledName": "$s19TSAuthenticationSDK0A0C22nativeBiometricsStatusAA011TSBiometricE0OyFZ", + "moduleName": "TSAuthenticationSDK", + "static": true, + "declAttributes": [ + "Final", + "AccessControl", + "RawDocComment" + ], + "funcSelfKind": "NonMutating" + }, { "kind": "TypeDecl", "name": "WebAuthnAuthenticationOptions", @@ -2675,6 +2810,13 @@ "usr": "s:s9OptionSetP", "mangledName": "$ss9OptionSetP" }, + { + "kind": "Conformance", + "name": "Sendable", + "printedName": "Sendable", + "usr": "s:s8SendableP", + "mangledName": "$ss8SendableP" + }, { "kind": "Conformance", "name": "RawRepresentable", @@ -2898,6 +3040,13 @@ "usr": "s:9TSCoreSDK17TSLogConfigurableP", "mangledName": "$s9TSCoreSDK17TSLogConfigurableP" }, + { + "kind": "Conformance", + "name": "Sendable", + "printedName": "Sendable", + "usr": "s:s8SendableP", + "mangledName": "$ss8SendableP" + }, { "kind": "Conformance", "name": "Copyable", @@ -4712,6 +4861,13 @@ "printedName": "Escapable", "usr": "s:s9EscapableP", "mangledName": "$ss9EscapableP" + }, + { + "kind": "Conformance", + "name": "Sendable", + "printedName": "Sendable", + "usr": "s:s8SendableP", + "mangledName": "$ss8SendableP" } ] }, @@ -5002,40 +5158,19 @@ }, { "kind": "Var", - "name": "internal", - "printedName": "internal", + "name": "devicePinNotAvailable", + "printedName": "devicePinNotAvailable", "children": [ { "kind": "TypeFunc", "name": "Function", - "printedName": "(TSAuthenticationSDK.TSTOTPError.Type) -> ((any Swift.Error)?) -> TSAuthenticationSDK.TSTOTPError", + "printedName": "(TSAuthenticationSDK.TSTOTPError.Type) -> TSAuthenticationSDK.TSTOTPError", "children": [ { - "kind": "TypeFunc", - "name": "Function", - "printedName": "((any Swift.Error)?) -> TSAuthenticationSDK.TSTOTPError", - "children": [ - { - "kind": "TypeNominal", - "name": "TSTOTPError", - "printedName": "TSAuthenticationSDK.TSTOTPError", - "usr": "s:19TSAuthenticationSDK11TSTOTPErrorO" - }, - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "(any Swift.Error)?", - "children": [ - { - "kind": "TypeNominal", - "name": "Error", - "printedName": "any Swift.Error", - "usr": "s:s5ErrorP" - } - ], - "usr": "s:Sq" - } - ] + "kind": "TypeNominal", + "name": "TSTOTPError", + "printedName": "TSAuthenticationSDK.TSTOTPError", + "usr": "s:19TSAuthenticationSDK11TSTOTPErrorO" }, { "kind": "TypeNominal", @@ -5054,126 +5189,79 @@ } ], "declKind": "EnumElement", - "usr": "s:19TSAuthenticationSDK11TSTOTPErrorO8internalyACs5Error_pSgcACmF", - "mangledName": "$s19TSAuthenticationSDK11TSTOTPErrorO8internalyACs5Error_pSgcACmF", + "usr": "s:19TSAuthenticationSDK11TSTOTPErrorO21devicePinNotAvailableyA2CmF", + "mangledName": "$s19TSAuthenticationSDK11TSTOTPErrorO21devicePinNotAvailableyA2CmF", "moduleName": "TSAuthenticationSDK", "declAttributes": [ "RawDocComment" ] }, { - "kind": "Function", - "name": "==", - "printedName": "==(_:_:)", + "kind": "Var", + "name": "devicePinOrBiometricNotAvailable", + "printedName": "devicePinOrBiometricNotAvailable", "children": [ { - "kind": "TypeNominal", - "name": "Bool", - "printedName": "Swift.Bool", - "usr": "s:Sb" - }, - { - "kind": "TypeNominal", - "name": "TSTOTPError", - "printedName": "TSAuthenticationSDK.TSTOTPError", - "usr": "s:19TSAuthenticationSDK11TSTOTPErrorO" - }, - { - "kind": "TypeNominal", - "name": "TSTOTPError", - "printedName": "TSAuthenticationSDK.TSTOTPError", - "usr": "s:19TSAuthenticationSDK11TSTOTPErrorO" + "kind": "TypeFunc", + "name": "Function", + "printedName": "(TSAuthenticationSDK.TSTOTPError.Type) -> TSAuthenticationSDK.TSTOTPError", + "children": [ + { + "kind": "TypeNominal", + "name": "TSTOTPError", + "printedName": "TSAuthenticationSDK.TSTOTPError", + "usr": "s:19TSAuthenticationSDK11TSTOTPErrorO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "TSAuthenticationSDK.TSTOTPError.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "TSTOTPError", + "printedName": "TSAuthenticationSDK.TSTOTPError", + "usr": "s:19TSAuthenticationSDK11TSTOTPErrorO" + } + ] + } + ] } ], - "declKind": "Func", - "usr": "s:19TSAuthenticationSDK11TSTOTPErrorO2eeoiySbAC_ACtFZ", - "mangledName": "$s19TSAuthenticationSDK11TSTOTPErrorO2eeoiySbAC_ACtFZ", + "declKind": "EnumElement", + "usr": "s:19TSAuthenticationSDK11TSTOTPErrorO32devicePinOrBiometricNotAvailableyA2CmF", + "mangledName": "$s19TSAuthenticationSDK11TSTOTPErrorO32devicePinOrBiometricNotAvailableyA2CmF", "moduleName": "TSAuthenticationSDK", - "static": true, "declAttributes": [ - "AccessControl" - ], - "isFromExtension": true, - "funcSelfKind": "NonMutating" - } - ], - "declKind": "Enum", - "usr": "s:19TSAuthenticationSDK11TSTOTPErrorO", - "mangledName": "$s19TSAuthenticationSDK11TSTOTPErrorO", - "moduleName": "TSAuthenticationSDK", - "declAttributes": [ - "AccessControl", - "RawDocComment" - ], - "conformances": [ - { - "kind": "Conformance", - "name": "Copyable", - "printedName": "Copyable", - "usr": "s:s8CopyableP", - "mangledName": "$ss8CopyableP" - }, - { - "kind": "Conformance", - "name": "Escapable", - "printedName": "Escapable", - "usr": "s:s9EscapableP", - "mangledName": "$ss9EscapableP" - }, - { - "kind": "Conformance", - "name": "Error", - "printedName": "Error", - "usr": "s:s5ErrorP", - "mangledName": "$ss5ErrorP" - }, - { - "kind": "Conformance", - "name": "Sendable", - "printedName": "Sendable", - "usr": "s:s8SendableP", - "mangledName": "$ss8SendableP" + "RawDocComment" + ] }, - { - "kind": "Conformance", - "name": "Equatable", - "printedName": "Equatable", - "usr": "s:SQ", - "mangledName": "$sSQ" - } - ] - }, - { - "kind": "TypeDecl", - "name": "TSNativeBiometricsError", - "printedName": "TSNativeBiometricsError", - "children": [ { "kind": "Var", - "name": "nativeBiometricsNotAvailable", - "printedName": "nativeBiometricsNotAvailable", + "name": "userCanceled", + "printedName": "userCanceled", "children": [ { "kind": "TypeFunc", "name": "Function", - "printedName": "(TSAuthenticationSDK.TSNativeBiometricsError.Type) -> TSAuthenticationSDK.TSNativeBiometricsError", + "printedName": "(TSAuthenticationSDK.TSTOTPError.Type) -> TSAuthenticationSDK.TSTOTPError", "children": [ { "kind": "TypeNominal", - "name": "TSNativeBiometricsError", - "printedName": "TSAuthenticationSDK.TSNativeBiometricsError", - "usr": "s:19TSAuthenticationSDK23TSNativeBiometricsErrorO" + "name": "TSTOTPError", + "printedName": "TSAuthenticationSDK.TSTOTPError", + "usr": "s:19TSAuthenticationSDK11TSTOTPErrorO" }, { "kind": "TypeNominal", "name": "Metatype", - "printedName": "TSAuthenticationSDK.TSNativeBiometricsError.Type", + "printedName": "TSAuthenticationSDK.TSTOTPError.Type", "children": [ { "kind": "TypeNominal", - "name": "TSNativeBiometricsError", - "printedName": "TSAuthenticationSDK.TSNativeBiometricsError", - "usr": "s:19TSAuthenticationSDK23TSNativeBiometricsErrorO" + "name": "TSTOTPError", + "printedName": "TSAuthenticationSDK.TSTOTPError", + "usr": "s:19TSAuthenticationSDK11TSTOTPErrorO" } ] } @@ -5181,8 +5269,8 @@ } ], "declKind": "EnumElement", - "usr": "s:19TSAuthenticationSDK23TSNativeBiometricsErrorO06nativeD12NotAvailableyA2CmF", - "mangledName": "$s19TSAuthenticationSDK23TSNativeBiometricsErrorO06nativeD12NotAvailableyA2CmF", + "usr": "s:19TSAuthenticationSDK11TSTOTPErrorO12userCanceledyA2CmF", + "mangledName": "$s19TSAuthenticationSDK11TSTOTPErrorO12userCanceledyA2CmF", "moduleName": "TSAuthenticationSDK", "declAttributes": [ "RawDocComment" @@ -5190,30 +5278,30 @@ }, { "kind": "Var", - "name": "notRegistered", - "printedName": "notRegistered", + "name": "authenticationFailed", + "printedName": "authenticationFailed", "children": [ { "kind": "TypeFunc", "name": "Function", - "printedName": "(TSAuthenticationSDK.TSNativeBiometricsError.Type) -> TSAuthenticationSDK.TSNativeBiometricsError", + "printedName": "(TSAuthenticationSDK.TSTOTPError.Type) -> TSAuthenticationSDK.TSTOTPError", "children": [ { "kind": "TypeNominal", - "name": "TSNativeBiometricsError", - "printedName": "TSAuthenticationSDK.TSNativeBiometricsError", - "usr": "s:19TSAuthenticationSDK23TSNativeBiometricsErrorO" + "name": "TSTOTPError", + "printedName": "TSAuthenticationSDK.TSTOTPError", + "usr": "s:19TSAuthenticationSDK11TSTOTPErrorO" }, { "kind": "TypeNominal", "name": "Metatype", - "printedName": "TSAuthenticationSDK.TSNativeBiometricsError.Type", + "printedName": "TSAuthenticationSDK.TSTOTPError.Type", "children": [ { "kind": "TypeNominal", - "name": "TSNativeBiometricsError", - "printedName": "TSAuthenticationSDK.TSNativeBiometricsError", - "usr": "s:19TSAuthenticationSDK23TSNativeBiometricsErrorO" + "name": "TSTOTPError", + "printedName": "TSAuthenticationSDK.TSTOTPError", + "usr": "s:19TSAuthenticationSDK11TSTOTPErrorO" } ] } @@ -5221,8 +5309,8 @@ } ], "declKind": "EnumElement", - "usr": "s:19TSAuthenticationSDK23TSNativeBiometricsErrorO13notRegisteredyA2CmF", - "mangledName": "$s19TSAuthenticationSDK23TSNativeBiometricsErrorO13notRegisteredyA2CmF", + "usr": "s:19TSAuthenticationSDK11TSTOTPErrorO20authenticationFailedyA2CmF", + "mangledName": "$s19TSAuthenticationSDK11TSTOTPErrorO20authenticationFailedyA2CmF", "moduleName": "TSAuthenticationSDK", "declAttributes": [ "RawDocComment" @@ -5236,18 +5324,18 @@ { "kind": "TypeFunc", "name": "Function", - "printedName": "(TSAuthenticationSDK.TSNativeBiometricsError.Type) -> ((any Swift.Error)?) -> TSAuthenticationSDK.TSNativeBiometricsError", + "printedName": "(TSAuthenticationSDK.TSTOTPError.Type) -> ((any Swift.Error)?) -> TSAuthenticationSDK.TSTOTPError", "children": [ { "kind": "TypeFunc", "name": "Function", - "printedName": "((any Swift.Error)?) -> TSAuthenticationSDK.TSNativeBiometricsError", + "printedName": "((any Swift.Error)?) -> TSAuthenticationSDK.TSTOTPError", "children": [ { "kind": "TypeNominal", - "name": "TSNativeBiometricsError", - "printedName": "TSAuthenticationSDK.TSNativeBiometricsError", - "usr": "s:19TSAuthenticationSDK23TSNativeBiometricsErrorO" + "name": "TSTOTPError", + "printedName": "TSAuthenticationSDK.TSTOTPError", + "usr": "s:19TSAuthenticationSDK11TSTOTPErrorO" }, { "kind": "TypeNominal", @@ -5268,13 +5356,13 @@ { "kind": "TypeNominal", "name": "Metatype", - "printedName": "TSAuthenticationSDK.TSNativeBiometricsError.Type", + "printedName": "TSAuthenticationSDK.TSTOTPError.Type", "children": [ { "kind": "TypeNominal", - "name": "TSNativeBiometricsError", - "printedName": "TSAuthenticationSDK.TSNativeBiometricsError", - "usr": "s:19TSAuthenticationSDK23TSNativeBiometricsErrorO" + "name": "TSTOTPError", + "printedName": "TSAuthenticationSDK.TSTOTPError", + "usr": "s:19TSAuthenticationSDK11TSTOTPErrorO" } ] } @@ -5282,8 +5370,8 @@ } ], "declKind": "EnumElement", - "usr": "s:19TSAuthenticationSDK23TSNativeBiometricsErrorO8internalyACs0E0_pSgcACmF", - "mangledName": "$s19TSAuthenticationSDK23TSNativeBiometricsErrorO8internalyACs0E0_pSgcACmF", + "usr": "s:19TSAuthenticationSDK11TSTOTPErrorO8internalyACs5Error_pSgcACmF", + "mangledName": "$s19TSAuthenticationSDK11TSTOTPErrorO8internalyACs5Error_pSgcACmF", "moduleName": "TSAuthenticationSDK", "declAttributes": [ "RawDocComment" @@ -5302,20 +5390,20 @@ }, { "kind": "TypeNominal", - "name": "TSNativeBiometricsError", - "printedName": "TSAuthenticationSDK.TSNativeBiometricsError", - "usr": "s:19TSAuthenticationSDK23TSNativeBiometricsErrorO" + "name": "TSTOTPError", + "printedName": "TSAuthenticationSDK.TSTOTPError", + "usr": "s:19TSAuthenticationSDK11TSTOTPErrorO" }, { "kind": "TypeNominal", - "name": "TSNativeBiometricsError", - "printedName": "TSAuthenticationSDK.TSNativeBiometricsError", - "usr": "s:19TSAuthenticationSDK23TSNativeBiometricsErrorO" + "name": "TSTOTPError", + "printedName": "TSAuthenticationSDK.TSTOTPError", + "usr": "s:19TSAuthenticationSDK11TSTOTPErrorO" } ], "declKind": "Func", - "usr": "s:19TSAuthenticationSDK23TSNativeBiometricsErrorO2eeoiySbAC_ACtFZ", - "mangledName": "$s19TSAuthenticationSDK23TSNativeBiometricsErrorO2eeoiySbAC_ACtFZ", + "usr": "s:19TSAuthenticationSDK11TSTOTPErrorO2eeoiySbAC_ACtFZ", + "mangledName": "$s19TSAuthenticationSDK11TSTOTPErrorO2eeoiySbAC_ACtFZ", "moduleName": "TSAuthenticationSDK", "static": true, "declAttributes": [ @@ -5326,8 +5414,8 @@ } ], "declKind": "Enum", - "usr": "s:19TSAuthenticationSDK23TSNativeBiometricsErrorO", - "mangledName": "$s19TSAuthenticationSDK23TSNativeBiometricsErrorO", + "usr": "s:19TSAuthenticationSDK11TSTOTPErrorO", + "mangledName": "$s19TSAuthenticationSDK11TSTOTPErrorO", "moduleName": "TSAuthenticationSDK", "declAttributes": [ "AccessControl", @@ -5373,35 +5461,35 @@ }, { "kind": "TypeDecl", - "name": "TSPinCodeError", - "printedName": "TSPinCodeError", + "name": "TSNativeBiometricsError", + "printedName": "TSNativeBiometricsError", "children": [ { "kind": "Var", - "name": "notRegistered", - "printedName": "notRegistered", + "name": "nativeBiometricsNotAvailable", + "printedName": "nativeBiometricsNotAvailable", "children": [ { "kind": "TypeFunc", "name": "Function", - "printedName": "(TSAuthenticationSDK.TSPinCodeError.Type) -> TSAuthenticationSDK.TSPinCodeError", + "printedName": "(TSAuthenticationSDK.TSNativeBiometricsError.Type) -> TSAuthenticationSDK.TSNativeBiometricsError", "children": [ { "kind": "TypeNominal", - "name": "TSPinCodeError", - "printedName": "TSAuthenticationSDK.TSPinCodeError", - "usr": "s:19TSAuthenticationSDK14TSPinCodeErrorO" + "name": "TSNativeBiometricsError", + "printedName": "TSAuthenticationSDK.TSNativeBiometricsError", + "usr": "s:19TSAuthenticationSDK23TSNativeBiometricsErrorO" }, { "kind": "TypeNominal", "name": "Metatype", - "printedName": "TSAuthenticationSDK.TSPinCodeError.Type", + "printedName": "TSAuthenticationSDK.TSNativeBiometricsError.Type", "children": [ { "kind": "TypeNominal", - "name": "TSPinCodeError", - "printedName": "TSAuthenticationSDK.TSPinCodeError", - "usr": "s:19TSAuthenticationSDK14TSPinCodeErrorO" + "name": "TSNativeBiometricsError", + "printedName": "TSAuthenticationSDK.TSNativeBiometricsError", + "usr": "s:19TSAuthenticationSDK23TSNativeBiometricsErrorO" } ] } @@ -5409,8 +5497,8 @@ } ], "declKind": "EnumElement", - "usr": "s:19TSAuthenticationSDK14TSPinCodeErrorO13notRegisteredyA2CmF", - "mangledName": "$s19TSAuthenticationSDK14TSPinCodeErrorO13notRegisteredyA2CmF", + "usr": "s:19TSAuthenticationSDK23TSNativeBiometricsErrorO06nativeD12NotAvailableyA2CmF", + "mangledName": "$s19TSAuthenticationSDK23TSNativeBiometricsErrorO06nativeD12NotAvailableyA2CmF", "moduleName": "TSAuthenticationSDK", "declAttributes": [ "RawDocComment" @@ -5418,30 +5506,30 @@ }, { "kind": "Var", - "name": "duplicateCommitRegistration", - "printedName": "duplicateCommitRegistration", + "name": "nativeBiometricsNotEnrolled", + "printedName": "nativeBiometricsNotEnrolled", "children": [ { "kind": "TypeFunc", "name": "Function", - "printedName": "(TSAuthenticationSDK.TSPinCodeError.Type) -> TSAuthenticationSDK.TSPinCodeError", + "printedName": "(TSAuthenticationSDK.TSNativeBiometricsError.Type) -> TSAuthenticationSDK.TSNativeBiometricsError", "children": [ { "kind": "TypeNominal", - "name": "TSPinCodeError", - "printedName": "TSAuthenticationSDK.TSPinCodeError", - "usr": "s:19TSAuthenticationSDK14TSPinCodeErrorO" + "name": "TSNativeBiometricsError", + "printedName": "TSAuthenticationSDK.TSNativeBiometricsError", + "usr": "s:19TSAuthenticationSDK23TSNativeBiometricsErrorO" }, { "kind": "TypeNominal", "name": "Metatype", - "printedName": "TSAuthenticationSDK.TSPinCodeError.Type", + "printedName": "TSAuthenticationSDK.TSNativeBiometricsError.Type", "children": [ { "kind": "TypeNominal", - "name": "TSPinCodeError", - "printedName": "TSAuthenticationSDK.TSPinCodeError", - "usr": "s:19TSAuthenticationSDK14TSPinCodeErrorO" + "name": "TSNativeBiometricsError", + "printedName": "TSAuthenticationSDK.TSNativeBiometricsError", + "usr": "s:19TSAuthenticationSDK23TSNativeBiometricsErrorO" } ] } @@ -5449,8 +5537,8 @@ } ], "declKind": "EnumElement", - "usr": "s:19TSAuthenticationSDK14TSPinCodeErrorO27duplicateCommitRegistrationyA2CmF", - "mangledName": "$s19TSAuthenticationSDK14TSPinCodeErrorO27duplicateCommitRegistrationyA2CmF", + "usr": "s:19TSAuthenticationSDK23TSNativeBiometricsErrorO06nativeD11NotEnrolledyA2CmF", + "mangledName": "$s19TSAuthenticationSDK23TSNativeBiometricsErrorO06nativeD11NotEnrolledyA2CmF", "moduleName": "TSAuthenticationSDK", "declAttributes": [ "RawDocComment" @@ -5458,29 +5546,269 @@ }, { "kind": "Var", - "name": "internal", - "printedName": "internal", + "name": "notRegistered", + "printedName": "notRegistered", "children": [ { "kind": "TypeFunc", "name": "Function", - "printedName": "(TSAuthenticationSDK.TSPinCodeError.Type) -> ((any Swift.Error)?) -> TSAuthenticationSDK.TSPinCodeError", + "printedName": "(TSAuthenticationSDK.TSNativeBiometricsError.Type) -> TSAuthenticationSDK.TSNativeBiometricsError", "children": [ { - "kind": "TypeFunc", - "name": "Function", - "printedName": "((any Swift.Error)?) -> TSAuthenticationSDK.TSPinCodeError", + "kind": "TypeNominal", + "name": "TSNativeBiometricsError", + "printedName": "TSAuthenticationSDK.TSNativeBiometricsError", + "usr": "s:19TSAuthenticationSDK23TSNativeBiometricsErrorO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "TSAuthenticationSDK.TSNativeBiometricsError.Type", "children": [ { "kind": "TypeNominal", - "name": "TSPinCodeError", - "printedName": "TSAuthenticationSDK.TSPinCodeError", - "usr": "s:19TSAuthenticationSDK14TSPinCodeErrorO" - }, - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "(any Swift.Error)?", + "name": "TSNativeBiometricsError", + "printedName": "TSAuthenticationSDK.TSNativeBiometricsError", + "usr": "s:19TSAuthenticationSDK23TSNativeBiometricsErrorO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:19TSAuthenticationSDK23TSNativeBiometricsErrorO13notRegisteredyA2CmF", + "mangledName": "$s19TSAuthenticationSDK23TSNativeBiometricsErrorO13notRegisteredyA2CmF", + "moduleName": "TSAuthenticationSDK", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "canceled", + "printedName": "canceled", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(TSAuthenticationSDK.TSNativeBiometricsError.Type) -> TSAuthenticationSDK.TSNativeBiometricsError", + "children": [ + { + "kind": "TypeNominal", + "name": "TSNativeBiometricsError", + "printedName": "TSAuthenticationSDK.TSNativeBiometricsError", + "usr": "s:19TSAuthenticationSDK23TSNativeBiometricsErrorO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "TSAuthenticationSDK.TSNativeBiometricsError.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "TSNativeBiometricsError", + "printedName": "TSAuthenticationSDK.TSNativeBiometricsError", + "usr": "s:19TSAuthenticationSDK23TSNativeBiometricsErrorO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:19TSAuthenticationSDK23TSNativeBiometricsErrorO8canceledyA2CmF", + "mangledName": "$s19TSAuthenticationSDK23TSNativeBiometricsErrorO8canceledyA2CmF", + "moduleName": "TSAuthenticationSDK", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "userCanceled", + "printedName": "userCanceled", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(TSAuthenticationSDK.TSNativeBiometricsError.Type) -> TSAuthenticationSDK.TSNativeBiometricsError", + "children": [ + { + "kind": "TypeNominal", + "name": "TSNativeBiometricsError", + "printedName": "TSAuthenticationSDK.TSNativeBiometricsError", + "usr": "s:19TSAuthenticationSDK23TSNativeBiometricsErrorO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "TSAuthenticationSDK.TSNativeBiometricsError.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "TSNativeBiometricsError", + "printedName": "TSAuthenticationSDK.TSNativeBiometricsError", + "usr": "s:19TSAuthenticationSDK23TSNativeBiometricsErrorO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:19TSAuthenticationSDK23TSNativeBiometricsErrorO12userCanceledyA2CmF", + "mangledName": "$s19TSAuthenticationSDK23TSNativeBiometricsErrorO12userCanceledyA2CmF", + "moduleName": "TSAuthenticationSDK", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "failure", + "printedName": "failure", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(TSAuthenticationSDK.TSNativeBiometricsError.Type) -> TSAuthenticationSDK.TSNativeBiometricsError", + "children": [ + { + "kind": "TypeNominal", + "name": "TSNativeBiometricsError", + "printedName": "TSAuthenticationSDK.TSNativeBiometricsError", + "usr": "s:19TSAuthenticationSDK23TSNativeBiometricsErrorO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "TSAuthenticationSDK.TSNativeBiometricsError.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "TSNativeBiometricsError", + "printedName": "TSAuthenticationSDK.TSNativeBiometricsError", + "usr": "s:19TSAuthenticationSDK23TSNativeBiometricsErrorO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:19TSAuthenticationSDK23TSNativeBiometricsErrorO7failureyA2CmF", + "mangledName": "$s19TSAuthenticationSDK23TSNativeBiometricsErrorO7failureyA2CmF", + "moduleName": "TSAuthenticationSDK", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "lockedOut", + "printedName": "lockedOut", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(TSAuthenticationSDK.TSNativeBiometricsError.Type) -> TSAuthenticationSDK.TSNativeBiometricsError", + "children": [ + { + "kind": "TypeNominal", + "name": "TSNativeBiometricsError", + "printedName": "TSAuthenticationSDK.TSNativeBiometricsError", + "usr": "s:19TSAuthenticationSDK23TSNativeBiometricsErrorO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "TSAuthenticationSDK.TSNativeBiometricsError.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "TSNativeBiometricsError", + "printedName": "TSAuthenticationSDK.TSNativeBiometricsError", + "usr": "s:19TSAuthenticationSDK23TSNativeBiometricsErrorO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:19TSAuthenticationSDK23TSNativeBiometricsErrorO9lockedOutyA2CmF", + "mangledName": "$s19TSAuthenticationSDK23TSNativeBiometricsErrorO9lockedOutyA2CmF", + "moduleName": "TSAuthenticationSDK", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "permissionDenied", + "printedName": "permissionDenied", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(TSAuthenticationSDK.TSNativeBiometricsError.Type) -> TSAuthenticationSDK.TSNativeBiometricsError", + "children": [ + { + "kind": "TypeNominal", + "name": "TSNativeBiometricsError", + "printedName": "TSAuthenticationSDK.TSNativeBiometricsError", + "usr": "s:19TSAuthenticationSDK23TSNativeBiometricsErrorO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "TSAuthenticationSDK.TSNativeBiometricsError.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "TSNativeBiometricsError", + "printedName": "TSAuthenticationSDK.TSNativeBiometricsError", + "usr": "s:19TSAuthenticationSDK23TSNativeBiometricsErrorO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:19TSAuthenticationSDK23TSNativeBiometricsErrorO16permissionDeniedyA2CmF", + "mangledName": "$s19TSAuthenticationSDK23TSNativeBiometricsErrorO16permissionDeniedyA2CmF", + "moduleName": "TSAuthenticationSDK", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "internal", + "printedName": "internal", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(TSAuthenticationSDK.TSNativeBiometricsError.Type) -> ((any Swift.Error)?) -> TSAuthenticationSDK.TSNativeBiometricsError", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "((any Swift.Error)?) -> TSAuthenticationSDK.TSNativeBiometricsError", + "children": [ + { + "kind": "TypeNominal", + "name": "TSNativeBiometricsError", + "printedName": "TSAuthenticationSDK.TSNativeBiometricsError", + "usr": "s:19TSAuthenticationSDK23TSNativeBiometricsErrorO" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "(any Swift.Error)?", "children": [ { "kind": "TypeNominal", @@ -5496,13 +5824,13 @@ { "kind": "TypeNominal", "name": "Metatype", - "printedName": "TSAuthenticationSDK.TSPinCodeError.Type", + "printedName": "TSAuthenticationSDK.TSNativeBiometricsError.Type", "children": [ { "kind": "TypeNominal", - "name": "TSPinCodeError", - "printedName": "TSAuthenticationSDK.TSPinCodeError", - "usr": "s:19TSAuthenticationSDK14TSPinCodeErrorO" + "name": "TSNativeBiometricsError", + "printedName": "TSAuthenticationSDK.TSNativeBiometricsError", + "usr": "s:19TSAuthenticationSDK23TSNativeBiometricsErrorO" } ] } @@ -5510,8 +5838,8 @@ } ], "declKind": "EnumElement", - "usr": "s:19TSAuthenticationSDK14TSPinCodeErrorO8internalyACs0E0_pSgcACmF", - "mangledName": "$s19TSAuthenticationSDK14TSPinCodeErrorO8internalyACs0E0_pSgcACmF", + "usr": "s:19TSAuthenticationSDK23TSNativeBiometricsErrorO8internalyACs0E0_pSgcACmF", + "mangledName": "$s19TSAuthenticationSDK23TSNativeBiometricsErrorO8internalyACs0E0_pSgcACmF", "moduleName": "TSAuthenticationSDK", "declAttributes": [ "RawDocComment" @@ -5530,20 +5858,20 @@ }, { "kind": "TypeNominal", - "name": "TSPinCodeError", - "printedName": "TSAuthenticationSDK.TSPinCodeError", - "usr": "s:19TSAuthenticationSDK14TSPinCodeErrorO" + "name": "TSNativeBiometricsError", + "printedName": "TSAuthenticationSDK.TSNativeBiometricsError", + "usr": "s:19TSAuthenticationSDK23TSNativeBiometricsErrorO" }, { "kind": "TypeNominal", - "name": "TSPinCodeError", - "printedName": "TSAuthenticationSDK.TSPinCodeError", - "usr": "s:19TSAuthenticationSDK14TSPinCodeErrorO" + "name": "TSNativeBiometricsError", + "printedName": "TSAuthenticationSDK.TSNativeBiometricsError", + "usr": "s:19TSAuthenticationSDK23TSNativeBiometricsErrorO" } ], "declKind": "Func", - "usr": "s:19TSAuthenticationSDK14TSPinCodeErrorO2eeoiySbAC_ACtFZ", - "mangledName": "$s19TSAuthenticationSDK14TSPinCodeErrorO2eeoiySbAC_ACtFZ", + "usr": "s:19TSAuthenticationSDK23TSNativeBiometricsErrorO2eeoiySbAC_ACtFZ", + "mangledName": "$s19TSAuthenticationSDK23TSNativeBiometricsErrorO2eeoiySbAC_ACtFZ", "moduleName": "TSAuthenticationSDK", "static": true, "declAttributes": [ @@ -5554,8 +5882,236 @@ } ], "declKind": "Enum", - "usr": "s:19TSAuthenticationSDK14TSPinCodeErrorO", - "mangledName": "$s19TSAuthenticationSDK14TSPinCodeErrorO", + "usr": "s:19TSAuthenticationSDK23TSNativeBiometricsErrorO", + "mangledName": "$s19TSAuthenticationSDK23TSNativeBiometricsErrorO", + "moduleName": "TSAuthenticationSDK", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "conformances": [ + { + "kind": "Conformance", + "name": "Copyable", + "printedName": "Copyable", + "usr": "s:s8CopyableP", + "mangledName": "$ss8CopyableP" + }, + { + "kind": "Conformance", + "name": "Escapable", + "printedName": "Escapable", + "usr": "s:s9EscapableP", + "mangledName": "$ss9EscapableP" + }, + { + "kind": "Conformance", + "name": "Error", + "printedName": "Error", + "usr": "s:s5ErrorP", + "mangledName": "$ss5ErrorP" + }, + { + "kind": "Conformance", + "name": "Sendable", + "printedName": "Sendable", + "usr": "s:s8SendableP", + "mangledName": "$ss8SendableP" + }, + { + "kind": "Conformance", + "name": "Equatable", + "printedName": "Equatable", + "usr": "s:SQ", + "mangledName": "$sSQ" + } + ] + }, + { + "kind": "TypeDecl", + "name": "TSPinCodeError", + "printedName": "TSPinCodeError", + "children": [ + { + "kind": "Var", + "name": "notRegistered", + "printedName": "notRegistered", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(TSAuthenticationSDK.TSPinCodeError.Type) -> TSAuthenticationSDK.TSPinCodeError", + "children": [ + { + "kind": "TypeNominal", + "name": "TSPinCodeError", + "printedName": "TSAuthenticationSDK.TSPinCodeError", + "usr": "s:19TSAuthenticationSDK14TSPinCodeErrorO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "TSAuthenticationSDK.TSPinCodeError.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "TSPinCodeError", + "printedName": "TSAuthenticationSDK.TSPinCodeError", + "usr": "s:19TSAuthenticationSDK14TSPinCodeErrorO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:19TSAuthenticationSDK14TSPinCodeErrorO13notRegisteredyA2CmF", + "mangledName": "$s19TSAuthenticationSDK14TSPinCodeErrorO13notRegisteredyA2CmF", + "moduleName": "TSAuthenticationSDK", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "duplicateCommitRegistration", + "printedName": "duplicateCommitRegistration", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(TSAuthenticationSDK.TSPinCodeError.Type) -> TSAuthenticationSDK.TSPinCodeError", + "children": [ + { + "kind": "TypeNominal", + "name": "TSPinCodeError", + "printedName": "TSAuthenticationSDK.TSPinCodeError", + "usr": "s:19TSAuthenticationSDK14TSPinCodeErrorO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "TSAuthenticationSDK.TSPinCodeError.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "TSPinCodeError", + "printedName": "TSAuthenticationSDK.TSPinCodeError", + "usr": "s:19TSAuthenticationSDK14TSPinCodeErrorO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:19TSAuthenticationSDK14TSPinCodeErrorO27duplicateCommitRegistrationyA2CmF", + "mangledName": "$s19TSAuthenticationSDK14TSPinCodeErrorO27duplicateCommitRegistrationyA2CmF", + "moduleName": "TSAuthenticationSDK", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "internal", + "printedName": "internal", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(TSAuthenticationSDK.TSPinCodeError.Type) -> ((any Swift.Error)?) -> TSAuthenticationSDK.TSPinCodeError", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "((any Swift.Error)?) -> TSAuthenticationSDK.TSPinCodeError", + "children": [ + { + "kind": "TypeNominal", + "name": "TSPinCodeError", + "printedName": "TSAuthenticationSDK.TSPinCodeError", + "usr": "s:19TSAuthenticationSDK14TSPinCodeErrorO" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "(any Swift.Error)?", + "children": [ + { + "kind": "TypeNominal", + "name": "Error", + "printedName": "any Swift.Error", + "usr": "s:s5ErrorP" + } + ], + "usr": "s:Sq" + } + ] + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "TSAuthenticationSDK.TSPinCodeError.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "TSPinCodeError", + "printedName": "TSAuthenticationSDK.TSPinCodeError", + "usr": "s:19TSAuthenticationSDK14TSPinCodeErrorO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:19TSAuthenticationSDK14TSPinCodeErrorO8internalyACs0E0_pSgcACmF", + "mangledName": "$s19TSAuthenticationSDK14TSPinCodeErrorO8internalyACs0E0_pSgcACmF", + "moduleName": "TSAuthenticationSDK", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Function", + "name": "==", + "printedName": "==(_:_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Bool", + "printedName": "Swift.Bool", + "usr": "s:Sb" + }, + { + "kind": "TypeNominal", + "name": "TSPinCodeError", + "printedName": "TSAuthenticationSDK.TSPinCodeError", + "usr": "s:19TSAuthenticationSDK14TSPinCodeErrorO" + }, + { + "kind": "TypeNominal", + "name": "TSPinCodeError", + "printedName": "TSAuthenticationSDK.TSPinCodeError", + "usr": "s:19TSAuthenticationSDK14TSPinCodeErrorO" + } + ], + "declKind": "Func", + "usr": "s:19TSAuthenticationSDK14TSPinCodeErrorO2eeoiySbAC_ACtFZ", + "mangledName": "$s19TSAuthenticationSDK14TSPinCodeErrorO2eeoiySbAC_ACtFZ", + "moduleName": "TSAuthenticationSDK", + "static": true, + "declAttributes": [ + "AccessControl" + ], + "isFromExtension": true, + "funcSelfKind": "NonMutating" + } + ], + "declKind": "Enum", + "usr": "s:19TSAuthenticationSDK14TSPinCodeErrorO", + "mangledName": "$s19TSAuthenticationSDK14TSPinCodeErrorO", "moduleName": "TSAuthenticationSDK", "declAttributes": [ "AccessControl", @@ -5926,6 +6482,13 @@ "printedName": "Escapable", "usr": "s:s9EscapableP", "mangledName": "$ss9EscapableP" + }, + { + "kind": "Conformance", + "name": "Sendable", + "printedName": "Sendable", + "usr": "s:s8SendableP", + "mangledName": "$ss8SendableP" } ] }, @@ -6059,6 +6622,16 @@ "declKind": "Import", "moduleName": "TSAuthenticationSDK" }, + { + "kind": "Import", + "name": "LocalAuthentication", + "printedName": "LocalAuthentication", + "declKind": "Import", + "moduleName": "TSAuthenticationSDK", + "declAttributes": [ + "RawDocComment" + ] + }, { "kind": "Import", "name": "TSCoreSDK", @@ -6372,6 +6945,13 @@ "printedName": "Encodable", "usr": "s:SE", "mangledName": "$sSE" + }, + { + "kind": "Conformance", + "name": "Sendable", + "printedName": "Sendable", + "usr": "s:s8SendableP", + "mangledName": "$ss8SendableP" } ] }, @@ -6678,10 +7258,17 @@ "printedName": "Encodable", "usr": "s:SE", "mangledName": "$sSE" - } - ] - }, - { + }, + { + "kind": "Conformance", + "name": "Sendable", + "printedName": "Sendable", + "usr": "s:s8SendableP", + "mangledName": "$ss8SendableP" + } + ] + }, + { "kind": "TypeDecl", "name": "TSRegistrationContext", "printedName": "TSRegistrationContext", @@ -6869,6 +7456,13 @@ "RawDocComment" ] }, + { + "kind": "Import", + "name": "LocalAuthentication", + "printedName": "LocalAuthentication", + "declKind": "Import", + "moduleName": "TSAuthenticationSDK" + }, { "kind": "Import", "name": "TSCoreSDK", @@ -7014,6 +7608,13 @@ "printedName": "Escapable", "usr": "s:s9EscapableP", "mangledName": "$ss9EscapableP" + }, + { + "kind": "Conformance", + "name": "Sendable", + "printedName": "Sendable", + "usr": "s:s8SendableP", + "mangledName": "$ss8SendableP" } ] }, @@ -7094,6 +7695,13 @@ "printedName": "Escapable", "usr": "s:s9EscapableP", "mangledName": "$ss9EscapableP" + }, + { + "kind": "Conformance", + "name": "Sendable", + "printedName": "Sendable", + "usr": "s:s8SendableP", + "mangledName": "$ss8SendableP" } ] }, @@ -7222,6 +7830,13 @@ "printedName": "Escapable", "usr": "s:s9EscapableP", "mangledName": "$ss9EscapableP" + }, + { + "kind": "Conformance", + "name": "Sendable", + "printedName": "Sendable", + "usr": "s:s8SendableP", + "mangledName": "$ss8SendableP" } ] }, @@ -7433,6 +8048,13 @@ "printedName": "Escapable", "usr": "s:s9EscapableP", "mangledName": "$ss9EscapableP" + }, + { + "kind": "Conformance", + "name": "Sendable", + "printedName": "Sendable", + "usr": "s:s8SendableP", + "mangledName": "$ss8SendableP" } ] }, @@ -7514,6 +8136,13 @@ "printedName": "Escapable", "usr": "s:s9EscapableP", "mangledName": "$ss9EscapableP" + }, + { + "kind": "Conformance", + "name": "Sendable", + "printedName": "Sendable", + "usr": "s:s8SendableP", + "mangledName": "$ss8SendableP" } ] }, @@ -7786,6 +8415,13 @@ "printedName": "Escapable", "usr": "s:s9EscapableP", "mangledName": "$ss9EscapableP" + }, + { + "kind": "Conformance", + "name": "Sendable", + "printedName": "Sendable", + "usr": "s:s8SendableP", + "mangledName": "$ss8SendableP" } ] }, @@ -7997,6 +8633,13 @@ "printedName": "Encodable", "usr": "s:SE", "mangledName": "$sSE" + }, + { + "kind": "Conformance", + "name": "Sendable", + "printedName": "Sendable", + "usr": "s:s8SendableP", + "mangledName": "$ss8SendableP" } ] }, @@ -8125,6 +8768,13 @@ "printedName": "Escapable", "usr": "s:s9EscapableP", "mangledName": "$ss9EscapableP" + }, + { + "kind": "Conformance", + "name": "Sendable", + "printedName": "Sendable", + "usr": "s:s8SendableP", + "mangledName": "$ss8SendableP" } ] }, @@ -8207,6 +8857,13 @@ "printedName": "Escapable", "usr": "s:s9EscapableP", "mangledName": "$ss9EscapableP" + }, + { + "kind": "Conformance", + "name": "Sendable", + "printedName": "Sendable", + "usr": "s:s8SendableP", + "mangledName": "$ss8SendableP" } ] }, @@ -9383,89 +10040,838 @@ "usr": "s:Sq" }, { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + } + ], + "declKind": "Constructor", + "usr": "s:19TSAuthenticationSDK18TSWebAuthnUserDataC2id4name11displayNameACSSSg_A2Gtcfc", + "mangledName": "$s19TSAuthenticationSDK18TSWebAuthnUserDataC2id4name11displayNameACSSSg_A2Gtcfc", + "moduleName": "TSAuthenticationSDK", + "declAttributes": [ + "AccessControl" + ], + "init_kind": "Designated" + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init()", + "children": [ + { + "kind": "TypeNominal", + "name": "TSWebAuthnUserData", + "printedName": "TSAuthenticationSDK.TSWebAuthnUserData", + "usr": "c:@M@TSAuthenticationSDK@objc(cs)TSWebAuthnUserData" + } + ], + "declKind": "Constructor", + "usr": "c:@M@TSAuthenticationSDK@objc(cs)TSWebAuthnUserData(im)init", + "mangledName": "$s19TSAuthenticationSDK18TSWebAuthnUserDataCACycfc", + "moduleName": "TSAuthenticationSDK", + "overriding": true, + "implicit": true, + "objc_name": "init", + "declAttributes": [ + "Dynamic", + "ObjC", + "Override" + ], + "init_kind": "Designated" + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(from:)", + "children": [ + { + "kind": "TypeNominal", + "name": "TSWebAuthnUserData", + "printedName": "TSAuthenticationSDK.TSWebAuthnUserData", + "usr": "c:@M@TSAuthenticationSDK@objc(cs)TSWebAuthnUserData" + }, + { + "kind": "TypeNominal", + "name": "Decoder", + "printedName": "any Swift.Decoder", + "usr": "s:s7DecoderP" + } + ], + "declKind": "Constructor", + "usr": "s:19TSAuthenticationSDK18TSWebAuthnUserDataC4fromACs7Decoder_p_tKcfc", + "mangledName": "$s19TSAuthenticationSDK18TSWebAuthnUserDataC4fromACs7Decoder_p_tKcfc", + "moduleName": "TSAuthenticationSDK", + "implicit": true, + "declAttributes": [ + "Required" + ], + "throwing": true, + "init_kind": "Designated" + }, + { + "kind": "Function", + "name": "encode", + "printedName": "encode(to:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "Encoder", + "printedName": "any Swift.Encoder", + "usr": "s:s7EncoderP" + } + ], + "declKind": "Func", + "usr": "s:19TSAuthenticationSDK18TSWebAuthnUserDataC6encode2toys7Encoder_p_tKF", + "mangledName": "$s19TSAuthenticationSDK18TSWebAuthnUserDataC6encode2toys7Encoder_p_tKF", + "moduleName": "TSAuthenticationSDK", + "implicit": true, + "throwing": true, + "funcSelfKind": "NonMutating" + } + ], + "declKind": "Class", + "usr": "c:@M@TSAuthenticationSDK@objc(cs)TSWebAuthnUserData", + "mangledName": "$s19TSAuthenticationSDK18TSWebAuthnUserDataC", + "moduleName": "TSAuthenticationSDK", + "declAttributes": [ + "AccessControl", + "ObjC" + ], + "superclassUsr": "c:objc(cs)NSObject", + "superclassNames": [ + "ObjectiveC.NSObject" + ], + "conformances": [ + { + "kind": "Conformance", + "name": "Decodable", + "printedName": "Decodable", + "usr": "s:Se", + "mangledName": "$sSe" + }, + { + "kind": "Conformance", + "name": "Encodable", + "printedName": "Encodable", + "usr": "s:SE", + "mangledName": "$sSE" + }, + { + "kind": "Conformance", + "name": "Copyable", + "printedName": "Copyable", + "usr": "s:s8CopyableP", + "mangledName": "$ss8CopyableP" + }, + { + "kind": "Conformance", + "name": "Escapable", + "printedName": "Escapable", + "usr": "s:s9EscapableP", + "mangledName": "$ss9EscapableP" + }, + { + "kind": "Conformance", + "name": "Equatable", + "printedName": "Equatable", + "usr": "s:SQ", + "mangledName": "$sSQ" + }, + { + "kind": "Conformance", + "name": "Hashable", + "printedName": "Hashable", + "usr": "s:SH", + "mangledName": "$sSH" + }, + { + "kind": "Conformance", + "name": "CVarArg", + "printedName": "CVarArg", + "usr": "s:s7CVarArgP", + "mangledName": "$ss7CVarArgP" + }, + { + "kind": "Conformance", + "name": "_KeyValueCodingAndObservingPublishing", + "printedName": "_KeyValueCodingAndObservingPublishing", + "usr": "s:10Foundation37_KeyValueCodingAndObservingPublishingP", + "mangledName": "$s10Foundation37_KeyValueCodingAndObservingPublishingP" + }, + { + "kind": "Conformance", + "name": "_KeyValueCodingAndObserving", + "printedName": "_KeyValueCodingAndObserving", + "usr": "s:10Foundation27_KeyValueCodingAndObservingP", + "mangledName": "$s10Foundation27_KeyValueCodingAndObservingP" + }, + { + "kind": "Conformance", + "name": "CustomStringConvertible", + "printedName": "CustomStringConvertible", + "usr": "s:s23CustomStringConvertibleP", + "mangledName": "$ss23CustomStringConvertibleP" + }, + { + "kind": "Conformance", + "name": "CustomDebugStringConvertible", + "printedName": "CustomDebugStringConvertible", + "usr": "s:s28CustomDebugStringConvertibleP", + "mangledName": "$ss28CustomDebugStringConvertibleP" + } + ] + }, + { + "kind": "Import", + "name": "Foundation", + "printedName": "Foundation", + "declKind": "Import", + "moduleName": "TSAuthenticationSDK", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Import", + "name": "TSCoreSDK", + "printedName": "TSCoreSDK", + "declKind": "Import", + "moduleName": "TSAuthenticationSDK" + }, + { + "kind": "Import", + "name": "Foundation", + "printedName": "Foundation", + "declKind": "Import", + "moduleName": "TSAuthenticationSDK", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Import", + "name": "TSCoreSDK", + "printedName": "TSCoreSDK", + "declKind": "Import", + "moduleName": "TSAuthenticationSDK" + }, + { + "kind": "Import", + "name": "Foundation", + "printedName": "Foundation", + "declKind": "Import", + "moduleName": "TSAuthenticationSDK", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Import", + "name": "Foundation", + "printedName": "Foundation", + "declKind": "Import", + "moduleName": "TSAuthenticationSDK", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "TypeDecl", + "name": "TSBiometricType", + "printedName": "TSBiometricType", + "children": [ + { + "kind": "Var", + "name": "faceID", + "printedName": "faceID", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(TSAuthenticationSDK.TSBiometricType.Type) -> TSAuthenticationSDK.TSBiometricType", + "children": [ + { + "kind": "TypeNominal", + "name": "TSBiometricType", + "printedName": "TSAuthenticationSDK.TSBiometricType", + "usr": "s:19TSAuthenticationSDK15TSBiometricTypeO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "TSAuthenticationSDK.TSBiometricType.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "TSBiometricType", + "printedName": "TSAuthenticationSDK.TSBiometricType", + "usr": "s:19TSAuthenticationSDK15TSBiometricTypeO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:19TSAuthenticationSDK15TSBiometricTypeO6faceIDyA2CmF", + "mangledName": "$s19TSAuthenticationSDK15TSBiometricTypeO6faceIDyA2CmF", + "moduleName": "TSAuthenticationSDK", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "touchID", + "printedName": "touchID", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(TSAuthenticationSDK.TSBiometricType.Type) -> TSAuthenticationSDK.TSBiometricType", + "children": [ + { + "kind": "TypeNominal", + "name": "TSBiometricType", + "printedName": "TSAuthenticationSDK.TSBiometricType", + "usr": "s:19TSAuthenticationSDK15TSBiometricTypeO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "TSAuthenticationSDK.TSBiometricType.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "TSBiometricType", + "printedName": "TSAuthenticationSDK.TSBiometricType", + "usr": "s:19TSAuthenticationSDK15TSBiometricTypeO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:19TSAuthenticationSDK15TSBiometricTypeO7touchIDyA2CmF", + "mangledName": "$s19TSAuthenticationSDK15TSBiometricTypeO7touchIDyA2CmF", + "moduleName": "TSAuthenticationSDK", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "opticID", + "printedName": "opticID", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(TSAuthenticationSDK.TSBiometricType.Type) -> TSAuthenticationSDK.TSBiometricType", + "children": [ + { + "kind": "TypeNominal", + "name": "TSBiometricType", + "printedName": "TSAuthenticationSDK.TSBiometricType", + "usr": "s:19TSAuthenticationSDK15TSBiometricTypeO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "TSAuthenticationSDK.TSBiometricType.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "TSBiometricType", + "printedName": "TSAuthenticationSDK.TSBiometricType", + "usr": "s:19TSAuthenticationSDK15TSBiometricTypeO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:19TSAuthenticationSDK15TSBiometricTypeO7opticIDyA2CmF", + "mangledName": "$s19TSAuthenticationSDK15TSBiometricTypeO7opticIDyA2CmF", + "moduleName": "TSAuthenticationSDK", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "none", + "printedName": "none", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(TSAuthenticationSDK.TSBiometricType.Type) -> TSAuthenticationSDK.TSBiometricType", + "children": [ + { + "kind": "TypeNominal", + "name": "TSBiometricType", + "printedName": "TSAuthenticationSDK.TSBiometricType", + "usr": "s:19TSAuthenticationSDK15TSBiometricTypeO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "TSAuthenticationSDK.TSBiometricType.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "TSBiometricType", + "printedName": "TSAuthenticationSDK.TSBiometricType", + "usr": "s:19TSAuthenticationSDK15TSBiometricTypeO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:19TSAuthenticationSDK15TSBiometricTypeO4noneyA2CmF", + "mangledName": "$s19TSAuthenticationSDK15TSBiometricTypeO4noneyA2CmF", + "moduleName": "TSAuthenticationSDK", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Function", + "name": "==", + "printedName": "==(_:_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Bool", + "printedName": "Swift.Bool", + "usr": "s:Sb" + }, + { + "kind": "TypeNominal", + "name": "TSBiometricType", + "printedName": "TSAuthenticationSDK.TSBiometricType", + "usr": "s:19TSAuthenticationSDK15TSBiometricTypeO" + }, + { + "kind": "TypeNominal", + "name": "TSBiometricType", + "printedName": "TSAuthenticationSDK.TSBiometricType", + "usr": "s:19TSAuthenticationSDK15TSBiometricTypeO" + } + ], + "declKind": "Func", + "usr": "s:19TSAuthenticationSDK15TSBiometricTypeO2eeoiySbAC_ACtFZ", + "mangledName": "$s19TSAuthenticationSDK15TSBiometricTypeO2eeoiySbAC_ACtFZ", + "moduleName": "TSAuthenticationSDK", + "static": true, + "implicit": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Var", + "name": "hashValue", + "printedName": "hashValue", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "declKind": "Var", + "usr": "s:19TSAuthenticationSDK15TSBiometricTypeO9hashValueSivp", + "mangledName": "$s19TSAuthenticationSDK15TSBiometricTypeO9hashValueSivp", + "moduleName": "TSAuthenticationSDK", + "implicit": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "declKind": "Accessor", + "usr": "s:19TSAuthenticationSDK15TSBiometricTypeO9hashValueSivg", + "mangledName": "$s19TSAuthenticationSDK15TSBiometricTypeO9hashValueSivg", + "moduleName": "TSAuthenticationSDK", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Function", + "name": "hash", + "printedName": "hash(into:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "Hasher", + "printedName": "Swift.Hasher", + "paramValueOwnership": "InOut", + "usr": "s:s6HasherV" + } + ], + "declKind": "Func", + "usr": "s:19TSAuthenticationSDK15TSBiometricTypeO4hash4intoys6HasherVz_tF", + "mangledName": "$s19TSAuthenticationSDK15TSBiometricTypeO4hash4intoys6HasherVz_tF", + "moduleName": "TSAuthenticationSDK", + "implicit": true, + "funcSelfKind": "NonMutating" + } + ], + "declKind": "Enum", + "usr": "s:19TSAuthenticationSDK15TSBiometricTypeO", + "mangledName": "$s19TSAuthenticationSDK15TSBiometricTypeO", + "moduleName": "TSAuthenticationSDK", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "conformances": [ + { + "kind": "Conformance", + "name": "Copyable", + "printedName": "Copyable", + "usr": "s:s8CopyableP", + "mangledName": "$ss8CopyableP" + }, + { + "kind": "Conformance", + "name": "Escapable", + "printedName": "Escapable", + "usr": "s:s9EscapableP", + "mangledName": "$ss9EscapableP" + }, + { + "kind": "Conformance", + "name": "Equatable", + "printedName": "Equatable", + "usr": "s:SQ", + "mangledName": "$sSQ" + }, + { + "kind": "Conformance", + "name": "Hashable", + "printedName": "Hashable", + "usr": "s:SH", + "mangledName": "$sSH" + } + ] + }, + { + "kind": "TypeDecl", + "name": "TSBiometricStatus", + "printedName": "TSBiometricStatus", + "children": [ + { + "kind": "Var", + "name": "available", + "printedName": "available", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(TSAuthenticationSDK.TSBiometricStatus.Type) -> TSAuthenticationSDK.TSBiometricStatus", + "children": [ + { + "kind": "TypeNominal", + "name": "TSBiometricStatus", + "printedName": "TSAuthenticationSDK.TSBiometricStatus", + "usr": "s:19TSAuthenticationSDK17TSBiometricStatusO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "TSAuthenticationSDK.TSBiometricStatus.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "TSBiometricStatus", + "printedName": "TSAuthenticationSDK.TSBiometricStatus", + "usr": "s:19TSAuthenticationSDK17TSBiometricStatusO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:19TSAuthenticationSDK17TSBiometricStatusO9availableyA2CmF", + "mangledName": "$s19TSAuthenticationSDK17TSBiometricStatusO9availableyA2CmF", + "moduleName": "TSAuthenticationSDK", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "notEnrolled", + "printedName": "notEnrolled", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(TSAuthenticationSDK.TSBiometricStatus.Type) -> TSAuthenticationSDK.TSBiometricStatus", + "children": [ + { + "kind": "TypeNominal", + "name": "TSBiometricStatus", + "printedName": "TSAuthenticationSDK.TSBiometricStatus", + "usr": "s:19TSAuthenticationSDK17TSBiometricStatusO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "TSAuthenticationSDK.TSBiometricStatus.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "TSBiometricStatus", + "printedName": "TSAuthenticationSDK.TSBiometricStatus", + "usr": "s:19TSAuthenticationSDK17TSBiometricStatusO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:19TSAuthenticationSDK17TSBiometricStatusO11notEnrolledyA2CmF", + "mangledName": "$s19TSAuthenticationSDK17TSBiometricStatusO11notEnrolledyA2CmF", + "moduleName": "TSAuthenticationSDK", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "notAvailable", + "printedName": "notAvailable", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(TSAuthenticationSDK.TSBiometricStatus.Type) -> TSAuthenticationSDK.TSBiometricStatus", + "children": [ + { + "kind": "TypeNominal", + "name": "TSBiometricStatus", + "printedName": "TSAuthenticationSDK.TSBiometricStatus", + "usr": "s:19TSAuthenticationSDK17TSBiometricStatusO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "TSAuthenticationSDK.TSBiometricStatus.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "TSBiometricStatus", + "printedName": "TSAuthenticationSDK.TSBiometricStatus", + "usr": "s:19TSAuthenticationSDK17TSBiometricStatusO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:19TSAuthenticationSDK17TSBiometricStatusO12notAvailableyA2CmF", + "mangledName": "$s19TSAuthenticationSDK17TSBiometricStatusO12notAvailableyA2CmF", + "moduleName": "TSAuthenticationSDK", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "permissionDenied", + "printedName": "permissionDenied", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(TSAuthenticationSDK.TSBiometricStatus.Type) -> TSAuthenticationSDK.TSBiometricStatus", "children": [ { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "TSBiometricStatus", + "printedName": "TSAuthenticationSDK.TSBiometricStatus", + "usr": "s:19TSAuthenticationSDK17TSBiometricStatusO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "TSAuthenticationSDK.TSBiometricStatus.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "TSBiometricStatus", + "printedName": "TSAuthenticationSDK.TSBiometricStatus", + "usr": "s:19TSAuthenticationSDK17TSBiometricStatusO" + } + ] } - ], - "hasDefaultArg": true, - "usr": "s:Sq" + ] } ], - "declKind": "Constructor", - "usr": "s:19TSAuthenticationSDK18TSWebAuthnUserDataC2id4name11displayNameACSSSg_A2Gtcfc", - "mangledName": "$s19TSAuthenticationSDK18TSWebAuthnUserDataC2id4name11displayNameACSSSg_A2Gtcfc", + "declKind": "EnumElement", + "usr": "s:19TSAuthenticationSDK17TSBiometricStatusO16permissionDeniedyA2CmF", + "mangledName": "$s19TSAuthenticationSDK17TSBiometricStatusO16permissionDeniedyA2CmF", "moduleName": "TSAuthenticationSDK", "declAttributes": [ - "AccessControl" - ], - "init_kind": "Designated" + "RawDocComment" + ] }, { - "kind": "Constructor", - "name": "init", - "printedName": "init()", + "kind": "Var", + "name": "lockedOut", + "printedName": "lockedOut", "children": [ { - "kind": "TypeNominal", - "name": "TSWebAuthnUserData", - "printedName": "TSAuthenticationSDK.TSWebAuthnUserData", - "usr": "c:@M@TSAuthenticationSDK@objc(cs)TSWebAuthnUserData" + "kind": "TypeFunc", + "name": "Function", + "printedName": "(TSAuthenticationSDK.TSBiometricStatus.Type) -> TSAuthenticationSDK.TSBiometricStatus", + "children": [ + { + "kind": "TypeNominal", + "name": "TSBiometricStatus", + "printedName": "TSAuthenticationSDK.TSBiometricStatus", + "usr": "s:19TSAuthenticationSDK17TSBiometricStatusO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "TSAuthenticationSDK.TSBiometricStatus.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "TSBiometricStatus", + "printedName": "TSAuthenticationSDK.TSBiometricStatus", + "usr": "s:19TSAuthenticationSDK17TSBiometricStatusO" + } + ] + } + ] } ], - "declKind": "Constructor", - "usr": "c:@M@TSAuthenticationSDK@objc(cs)TSWebAuthnUserData(im)init", - "mangledName": "$s19TSAuthenticationSDK18TSWebAuthnUserDataCACycfc", + "declKind": "EnumElement", + "usr": "s:19TSAuthenticationSDK17TSBiometricStatusO9lockedOutyA2CmF", + "mangledName": "$s19TSAuthenticationSDK17TSBiometricStatusO9lockedOutyA2CmF", "moduleName": "TSAuthenticationSDK", - "overriding": true, - "implicit": true, - "objc_name": "init", "declAttributes": [ - "Dynamic", - "ObjC", - "Override" - ], - "init_kind": "Designated" + "RawDocComment" + ] }, { - "kind": "Constructor", - "name": "init", - "printedName": "init(from:)", + "kind": "Function", + "name": "==", + "printedName": "==(_:_:)", "children": [ { "kind": "TypeNominal", - "name": "TSWebAuthnUserData", - "printedName": "TSAuthenticationSDK.TSWebAuthnUserData", - "usr": "c:@M@TSAuthenticationSDK@objc(cs)TSWebAuthnUserData" + "name": "Bool", + "printedName": "Swift.Bool", + "usr": "s:Sb" }, { "kind": "TypeNominal", - "name": "Decoder", - "printedName": "any Swift.Decoder", - "usr": "s:s7DecoderP" + "name": "TSBiometricStatus", + "printedName": "TSAuthenticationSDK.TSBiometricStatus", + "usr": "s:19TSAuthenticationSDK17TSBiometricStatusO" + }, + { + "kind": "TypeNominal", + "name": "TSBiometricStatus", + "printedName": "TSAuthenticationSDK.TSBiometricStatus", + "usr": "s:19TSAuthenticationSDK17TSBiometricStatusO" } ], - "declKind": "Constructor", - "usr": "s:19TSAuthenticationSDK18TSWebAuthnUserDataC4fromACs7Decoder_p_tKcfc", - "mangledName": "$s19TSAuthenticationSDK18TSWebAuthnUserDataC4fromACs7Decoder_p_tKcfc", + "declKind": "Func", + "usr": "s:19TSAuthenticationSDK17TSBiometricStatusO2eeoiySbAC_ACtFZ", + "mangledName": "$s19TSAuthenticationSDK17TSBiometricStatusO2eeoiySbAC_ACtFZ", "moduleName": "TSAuthenticationSDK", + "static": true, "implicit": true, - "declAttributes": [ - "Required" + "funcSelfKind": "NonMutating" + }, + { + "kind": "Var", + "name": "hashValue", + "printedName": "hashValue", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } ], - "throwing": true, - "init_kind": "Designated" + "declKind": "Var", + "usr": "s:19TSAuthenticationSDK17TSBiometricStatusO9hashValueSivp", + "mangledName": "$s19TSAuthenticationSDK17TSBiometricStatusO9hashValueSivp", + "moduleName": "TSAuthenticationSDK", + "implicit": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "declKind": "Accessor", + "usr": "s:19TSAuthenticationSDK17TSBiometricStatusO9hashValueSivg", + "mangledName": "$s19TSAuthenticationSDK17TSBiometricStatusO9hashValueSivg", + "moduleName": "TSAuthenticationSDK", + "implicit": true, + "accessorKind": "get" + } + ] }, { "kind": "Function", - "name": "encode", - "printedName": "encode(to:)", + "name": "hash", + "printedName": "hash(into:)", "children": [ { "kind": "TypeNominal", @@ -9474,47 +10880,29 @@ }, { "kind": "TypeNominal", - "name": "Encoder", - "printedName": "any Swift.Encoder", - "usr": "s:s7EncoderP" + "name": "Hasher", + "printedName": "Swift.Hasher", + "paramValueOwnership": "InOut", + "usr": "s:s6HasherV" } ], "declKind": "Func", - "usr": "s:19TSAuthenticationSDK18TSWebAuthnUserDataC6encode2toys7Encoder_p_tKF", - "mangledName": "$s19TSAuthenticationSDK18TSWebAuthnUserDataC6encode2toys7Encoder_p_tKF", + "usr": "s:19TSAuthenticationSDK17TSBiometricStatusO4hash4intoys6HasherVz_tF", + "mangledName": "$s19TSAuthenticationSDK17TSBiometricStatusO4hash4intoys6HasherVz_tF", "moduleName": "TSAuthenticationSDK", "implicit": true, - "throwing": true, "funcSelfKind": "NonMutating" } ], - "declKind": "Class", - "usr": "c:@M@TSAuthenticationSDK@objc(cs)TSWebAuthnUserData", - "mangledName": "$s19TSAuthenticationSDK18TSWebAuthnUserDataC", + "declKind": "Enum", + "usr": "s:19TSAuthenticationSDK17TSBiometricStatusO", + "mangledName": "$s19TSAuthenticationSDK17TSBiometricStatusO", "moduleName": "TSAuthenticationSDK", "declAttributes": [ "AccessControl", - "ObjC" - ], - "superclassUsr": "c:objc(cs)NSObject", - "superclassNames": [ - "ObjectiveC.NSObject" + "RawDocComment" ], "conformances": [ - { - "kind": "Conformance", - "name": "Decodable", - "printedName": "Decodable", - "usr": "s:Se", - "mangledName": "$sSe" - }, - { - "kind": "Conformance", - "name": "Encodable", - "printedName": "Encodable", - "usr": "s:SE", - "mangledName": "$sSE" - }, { "kind": "Conformance", "name": "Copyable", @@ -9542,87 +10930,8 @@ "printedName": "Hashable", "usr": "s:SH", "mangledName": "$sSH" - }, - { - "kind": "Conformance", - "name": "CVarArg", - "printedName": "CVarArg", - "usr": "s:s7CVarArgP", - "mangledName": "$ss7CVarArgP" - }, - { - "kind": "Conformance", - "name": "_KeyValueCodingAndObservingPublishing", - "printedName": "_KeyValueCodingAndObservingPublishing", - "usr": "s:10Foundation37_KeyValueCodingAndObservingPublishingP", - "mangledName": "$s10Foundation37_KeyValueCodingAndObservingPublishingP" - }, - { - "kind": "Conformance", - "name": "_KeyValueCodingAndObserving", - "printedName": "_KeyValueCodingAndObserving", - "usr": "s:10Foundation27_KeyValueCodingAndObservingP", - "mangledName": "$s10Foundation27_KeyValueCodingAndObservingP" - }, - { - "kind": "Conformance", - "name": "CustomStringConvertible", - "printedName": "CustomStringConvertible", - "usr": "s:s23CustomStringConvertibleP", - "mangledName": "$ss23CustomStringConvertibleP" - }, - { - "kind": "Conformance", - "name": "CustomDebugStringConvertible", - "printedName": "CustomDebugStringConvertible", - "usr": "s:s28CustomDebugStringConvertibleP", - "mangledName": "$ss28CustomDebugStringConvertibleP" } ] - }, - { - "kind": "Import", - "name": "Foundation", - "printedName": "Foundation", - "declKind": "Import", - "moduleName": "TSAuthenticationSDK", - "declAttributes": [ - "RawDocComment" - ] - }, - { - "kind": "Import", - "name": "TSCoreSDK", - "printedName": "TSCoreSDK", - "declKind": "Import", - "moduleName": "TSAuthenticationSDK" - }, - { - "kind": "Import", - "name": "Foundation", - "printedName": "Foundation", - "declKind": "Import", - "moduleName": "TSAuthenticationSDK", - "declAttributes": [ - "RawDocComment" - ] - }, - { - "kind": "Import", - "name": "TSCoreSDK", - "printedName": "TSCoreSDK", - "declKind": "Import", - "moduleName": "TSAuthenticationSDK" - }, - { - "kind": "Import", - "name": "Foundation", - "printedName": "Foundation", - "declKind": "Import", - "moduleName": "TSAuthenticationSDK", - "declAttributes": [ - "RawDocComment" - ] } ], "json_format_version": 8 @@ -9631,70 +10940,70 @@ { "filePath": "\/Users\/ec2-user\/actions-runner\/_work\/mobile-ios-authentication-sdk\/mobile-ios-authentication-sdk\/mobile-ios-authentication-sdk\/TSAuthenticationSDK\/API\/TSAuthenticationSDK.swift", "kind": "StringLiteral", - "offset": 3811, + "offset": 4249, "length": 18, "value": "\"TransmitSecurity\"" }, { "filePath": "\/Users\/ec2-user\/actions-runner\/_work\/mobile-ios-authentication-sdk\/mobile-ios-authentication-sdk\/mobile-ios-authentication-sdk\/TSAuthenticationSDK\/API\/TSAuthenticationSDK.swift", "kind": "StringLiteral", - "offset": 3970, + "offset": 4408, "length": 34, "value": "\"https:\/\/api.transmitsecurity.io\/\"" }, { "filePath": "\/Users\/ec2-user\/actions-runner\/_work\/mobile-ios-authentication-sdk\/mobile-ios-authentication-sdk\/mobile-ios-authentication-sdk\/TSAuthenticationSDK\/API\/TSAuthenticationSDK.swift", "kind": "Array", - "offset": 7551, + "offset": 7989, "length": 2, "value": "[]" }, { "filePath": "\/Users\/ec2-user\/actions-runner\/_work\/mobile-ios-authentication-sdk\/mobile-ios-authentication-sdk\/mobile-ios-authentication-sdk\/TSAuthenticationSDK\/API\/TSAuthenticationSDK.swift", "kind": "Array", - "offset": 8409, + "offset": 8847, "length": 2, "value": "[]" }, { "filePath": "\/Users\/ec2-user\/actions-runner\/_work\/mobile-ios-authentication-sdk\/mobile-ios-authentication-sdk\/mobile-ios-authentication-sdk\/TSAuthenticationSDK\/API\/TSAuthenticationSDK.swift", "kind": "Array", - "offset": 9175, + "offset": 9613, "length": 2, "value": "[]" }, { "filePath": "\/Users\/ec2-user\/actions-runner\/_work\/mobile-ios-authentication-sdk\/mobile-ios-authentication-sdk\/mobile-ios-authentication-sdk\/TSAuthenticationSDK\/API\/TSAuthenticationSDK.swift", "kind": "Array", - "offset": 10042, + "offset": 10480, "length": 2, "value": "[]" }, { "filePath": "\/Users\/ec2-user\/actions-runner\/_work\/mobile-ios-authentication-sdk\/mobile-ios-authentication-sdk\/mobile-ios-authentication-sdk\/TSAuthenticationSDK\/API\/TSAuthenticationSDK.swift", "kind": "Array", - "offset": 11205, + "offset": 11643, "length": 2, "value": "[]" }, { "filePath": "\/Users\/ec2-user\/actions-runner\/_work\/mobile-ios-authentication-sdk\/mobile-ios-authentication-sdk\/mobile-ios-authentication-sdk\/TSAuthenticationSDK\/API\/TSAuthenticationSDK.swift", "kind": "Array", - "offset": 12404, + "offset": 12842, "length": 2, "value": "[]" }, { "filePath": "\/Users\/ec2-user\/actions-runner\/_work\/mobile-ios-authentication-sdk\/mobile-ios-authentication-sdk\/mobile-ios-authentication-sdk\/TSAuthenticationSDK\/API\/TSAuthenticationSDK.swift", "kind": "IntegerLiteral", - "offset": 25071, + "offset": 27527, "length": 1, "value": "1" }, { "filePath": "\/Users\/ec2-user\/actions-runner\/_work\/mobile-ios-authentication-sdk\/mobile-ios-authentication-sdk\/mobile-ios-authentication-sdk\/TSAuthenticationSDK\/API\/TSAuthenticationSDK.swift", "kind": "IntegerLiteral", - "offset": 25076, + "offset": 27532, "length": 1, "value": "0" }, @@ -9764,21 +11073,21 @@ { "filePath": "\/Users\/ec2-user\/actions-runner\/_work\/mobile-ios-authentication-sdk\/mobile-ios-authentication-sdk\/mobile-ios-authentication-sdk\/TSAuthenticationSDK\/Models\/TSAuthenticationSessionData.swift", "kind": "StringLiteral", - "offset": 217, + "offset": 238, "length": 2, "value": "\"\"" }, { "filePath": "\/Users\/ec2-user\/actions-runner\/_work\/mobile-ios-authentication-sdk\/mobile-ios-authentication-sdk\/mobile-ios-authentication-sdk\/TSAuthenticationSDK\/Models\/TSAuthenticationSessionData.swift", "kind": "StringLiteral", - "offset": 260, + "offset": 281, "length": 2, "value": "\"\"" }, { "filePath": "\/Users\/ec2-user\/actions-runner\/_work\/mobile-ios-authentication-sdk\/mobile-ios-authentication-sdk\/mobile-ios-authentication-sdk\/TSAuthenticationSDK\/Authenticators\/WebAuthn\/WebAuthnAuthenticator.swift", "kind": "BooleanLiteral", - "offset": 833, + "offset": 1002, "length": 5, "value": "false" }, @@ -9848,35 +11157,35 @@ { "filePath": "\/Users\/ec2-user\/actions-runner\/_work\/mobile-ios-authentication-sdk\/mobile-ios-authentication-sdk\/mobile-ios-authentication-sdk\/TSAuthenticationSDK\/Authenticators\/LocalPIN\/AuthenticationDriverLocalPin.swift", "kind": "IntegerLiteral", - "offset": 346, + "offset": 388, "length": 2, "value": "32" }, { "filePath": "\/Users\/ec2-user\/actions-runner\/_work\/mobile-ios-authentication-sdk\/mobile-ios-authentication-sdk\/mobile-ios-authentication-sdk\/TSAuthenticationSDK\/Authenticators\/LocalPIN\/AuthenticationDriverLocalPin.swift", "kind": "IntegerLiteral", - "offset": 393, + "offset": 435, "length": 2, "value": "64" }, { "filePath": "\/Users\/ec2-user\/actions-runner\/_work\/mobile-ios-authentication-sdk\/mobile-ios-authentication-sdk\/mobile-ios-authentication-sdk\/TSAuthenticationSDK\/Authenticators\/LocalPIN\/AuthenticationDriverLocalPin.swift", "kind": "IntegerLiteral", - "offset": 437, + "offset": 479, "length": 2, "value": "32" }, { "filePath": "\/Users\/ec2-user\/actions-runner\/_work\/mobile-ios-authentication-sdk\/mobile-ios-authentication-sdk\/mobile-ios-authentication-sdk\/TSAuthenticationSDK\/Authenticators\/LocalPIN\/AuthenticationDriverLocalPin.swift", "kind": "IntegerLiteral", - "offset": 552, + "offset": 594, "length": 7, "value": "100000" }, { "filePath": "\/Users\/ec2-user\/actions-runner\/_work\/mobile-ios-authentication-sdk\/mobile-ios-authentication-sdk\/mobile-ios-authentication-sdk\/TSAuthenticationSDK\/Authenticators\/LocalPIN\/AuthenticationDriverLocalPin.swift", "kind": "IntegerLiteral", - "offset": 663, + "offset": 705, "length": 1, "value": "1" }, @@ -10394,45 +11703,52 @@ { "filePath": "\/Users\/ec2-user\/actions-runner\/_work\/mobile-ios-authentication-sdk\/mobile-ios-authentication-sdk\/mobile-ios-authentication-sdk\/TSAuthenticationSDK\/Impl\/TSAuthenticationController.swift", "kind": "StringLiteral", - "offset": 250, + "offset": 271, "length": 6, "value": "\"cis\/\"" }, { "filePath": "\/Users\/ec2-user\/actions-runner\/_work\/mobile-ios-authentication-sdk\/mobile-ios-authentication-sdk\/mobile-ios-authentication-sdk\/TSAuthenticationSDK\/Impl\/TSAuthenticationController.swift", "kind": "Array", - "offset": 308, + "offset": 329, "length": 351, "value": "[\"https:\/\/api.idsec-dev.com\/\", \"https:\/\/api.idsec-stg.com\/\", \"https:\/\/api.transmitsecurity.io\/\", \"https:\/\/api.eu.transmitsecurity.io\/\", \"https:\/\/api.ca.transmitsecurity.io\/\", \"https:\/\/api.au.transmitsecurity.io\/\", \"https:\/\/api.sbx.transmitsecurity.io\/\"]" }, { "filePath": "\/Users\/ec2-user\/actions-runner\/_work\/mobile-ios-authentication-sdk\/mobile-ios-authentication-sdk\/mobile-ios-authentication-sdk\/TSAuthenticationSDK\/Types\/TSAuthenticationTypes.swift", "kind": "StringLiteral", - "offset": 967, + "offset": 988, "length": 21, "value": "\"webauthn_session_id\"" }, { "filePath": "\/Users\/ec2-user\/actions-runner\/_work\/mobile-ios-authentication-sdk\/mobile-ios-authentication-sdk\/mobile-ios-authentication-sdk\/TSAuthenticationSDK\/Types\/TSAuthenticationTypes.swift", "kind": "StringLiteral", - "offset": 1030, + "offset": 1051, "length": 29, "value": "\"credential_creation_options\"" }, { "filePath": "\/Users\/ec2-user\/actions-runner\/_work\/mobile-ios-authentication-sdk\/mobile-ios-authentication-sdk\/mobile-ios-authentication-sdk\/TSAuthenticationSDK\/Types\/TSAuthenticationTypes.swift", "kind": "StringLiteral", - "offset": 3904, + "offset": 3946, "length": 21, "value": "\"webauthn_session_id\"" }, { "filePath": "\/Users\/ec2-user\/actions-runner\/_work\/mobile-ios-authentication-sdk\/mobile-ios-authentication-sdk\/mobile-ios-authentication-sdk\/TSAuthenticationSDK\/Types\/TSAuthenticationTypes.swift", "kind": "StringLiteral", - "offset": 3966, + "offset": 4008, "length": 28, "value": "\"credential_request_options\"" }, + { + "filePath": "\/Users\/ec2-user\/actions-runner\/_work\/mobile-ios-authentication-sdk\/mobile-ios-authentication-sdk\/mobile-ios-authentication-sdk\/TSAuthenticationSDK\/Authenticators\/TOTP\/TOTPAuthenticator.swift", + "kind": "StringLiteral", + "offset": 744, + "length": 7, + "value": "\"_type\"" + }, { "filePath": "\/Users\/ec2-user\/actions-runner\/_work\/mobile-ios-authentication-sdk\/mobile-ios-authentication-sdk\/mobile-ios-authentication-sdk\/TSAuthenticationSDK\/Authenticators\/Utils\/Base32.swift", "kind": "Array", diff --git a/Sources/TSAuthenticationSDK.xcframework/ios-arm64_x86_64-simulator/TSAuthenticationSDK.framework/Modules/TSAuthenticationSDK.swiftmodule/arm64-apple-ios-simulator.private.swiftinterface b/Sources/TSAuthenticationSDK.xcframework/ios-arm64_x86_64-simulator/TSAuthenticationSDK.framework/Modules/TSAuthenticationSDK.swiftmodule/arm64-apple-ios-simulator.private.swiftinterface index bd1678f..0e0ca10 100644 --- a/Sources/TSAuthenticationSDK.xcframework/ios-arm64_x86_64-simulator/TSAuthenticationSDK.framework/Modules/TSAuthenticationSDK.swiftmodule/arm64-apple-ios-simulator.private.swiftinterface +++ b/Sources/TSAuthenticationSDK.xcframework/ios-arm64_x86_64-simulator/TSAuthenticationSDK.framework/Modules/TSAuthenticationSDK.swiftmodule/arm64-apple-ios-simulator.private.swiftinterface @@ -1,6 +1,6 @@ // swift-interface-format-version: 1.0 -// swift-compiler-version: Apple Swift version 6.0.3 effective-5.10 (swiftlang-6.0.3.1.10 clang-1600.0.30.1) -// swift-module-flags: -target arm64-apple-ios13.0-simulator -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -O -enable-bare-slash-regex -module-name TSAuthenticationSDK +// swift-compiler-version: Apple Swift version 6.0.3 (swiftlang-6.0.3.1.10 clang-1600.0.30.1) +// swift-module-flags: -target arm64-apple-ios13.0-simulator -enable-objc-interop -enable-library-evolution -swift-version 6 -enforce-exclusivity=checked -O -module-name TSAuthenticationSDK // swift-module-flags-ignorable: -no-verify-emitted-module-interface import AuthenticationServices import CryptoKit @@ -45,6 +45,8 @@ public struct TSAuthenticationConfiguration { public enum TSTOTPSecurityType : Swift.Codable { case biometric case none + case devicePin + case devicePinOrBiometric public static func == (a: TSAuthenticationSDK.TSTOTPSecurityType, b: TSAuthenticationSDK.TSTOTPSecurityType) -> Swift.Bool public func hash(into hasher: inout Swift.Hasher) public func encode(to encoder: any Swift.Encoder) throws @@ -53,13 +55,13 @@ public enum TSTOTPSecurityType : Swift.Codable { } public init(from decoder: any Swift.Decoder) throws } -public struct TSDeviceInfo : Swift.Codable { +public struct TSDeviceInfo : Swift.Codable, @unchecked Swift.Sendable { public let publicKeyId: Swift.String public let publicKey: Swift.String public func encode(to encoder: any Swift.Encoder) throws public init(from decoder: any Swift.Decoder) throws } -@objc @_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers final public class TSAuthentication : ObjectiveC.NSObject, TSCoreSDK.TSLogConfigurable { +@objc @_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers final public class TSAuthentication : ObjectiveC.NSObject, TSCoreSDK.TSLogConfigurable, @unchecked Swift.Sendable { public static let shared: TSAuthenticationSDK.TSAuthentication final public func initialize(baseUrl: Swift.String = "https://api.transmitsecurity.io/", clientId: Swift.String, domain: Swift.String? = nil, initOptions: TSAuthenticationSDK.TSAuthenticationInitOptions? = nil) final public func initializeSDK(configuration: TSAuthenticationSDK.TSAuthenticationConfiguration? = nil) throws @@ -81,17 +83,19 @@ public struct TSDeviceInfo : Swift.Codable { final public func registerPinCode(username: Swift.String, pinCode: Swift.String, completion: @escaping TSAuthenticationSDK.TSPinCodeRegistrationCompletion) final public func registerPinCode(username: Swift.String, pinCode: Swift.String) async throws -> TSAuthenticationSDK.TSPinCodeRegistrationResult final public func authenticatePinCode(username: Swift.String, pinCode: Swift.String, challenge: Swift.String, completion: @escaping TSAuthenticationSDK.TSPinCodeAuthenticationCompletion) + final public func authenticatePinCode(username: Swift.String, pinCode: Swift.String, challenge: Swift.String) async throws -> TSAuthenticationSDK.TSPinCodeAuthenticationResult final public func unregisterPinCode(username: Swift.String, completion: @escaping TSAuthenticationSDK.TSPinCodeUnregistrationCompletion) final public func unregisterPinCode(username: Swift.String) async throws -> TSAuthenticationSDK.TSPinCodeUnregistrationResult - final public func authenticatePinCode(username: Swift.String, pinCode: Swift.String, challenge: Swift.String) async throws -> TSAuthenticationSDK.TSPinCodeAuthenticationResult final public func getDeviceInfo(_ completion: @escaping TSAuthenticationSDK.DeviceInfoCompletion) final public func signWithDeviceKey(challenge: Swift.String, completion: @escaping TSAuthenticationSDK.TSSignChallengeCompletion) public static func isWebAuthnSupported() -> Swift.Bool public static func isNativeBiometricsEnrolled() -> Swift.Bool + public static func nativeBiometricsType() -> TSAuthenticationSDK.TSBiometricType + public static func nativeBiometricsStatus() -> TSAuthenticationSDK.TSBiometricStatus @objc deinit } extension TSAuthenticationSDK.TSAuthentication { - public struct WebAuthnAuthenticationOptions : Swift.OptionSet { + public struct WebAuthnAuthenticationOptions : Swift.OptionSet, @unchecked Swift.Sendable { public let rawValue: Swift.Int public init(rawValue: Swift.Int) public static let preferLocalCredantials: TSAuthenticationSDK.TSAuthentication.WebAuthnAuthenticationOptions @@ -112,7 +116,7 @@ extension TSAuthenticationSDK.TSAuthentication { public func encode(to encoder: any Swift.Encoder) throws required public init(from decoder: any Swift.Decoder) throws } -public enum TSAuthenticationError : Swift.Error { +public enum TSAuthenticationError : Swift.Error, @unchecked Swift.Sendable { case notInitialized case unsupportedOSVersion case requestIsRunning @@ -127,7 +131,7 @@ public enum TSAuthenticationError : Swift.Error { extension TSAuthenticationSDK.TSAuthenticationError : Swift.Equatable { public static func == (lhs: TSAuthenticationSDK.TSAuthenticationError, rhs: TSAuthenticationSDK.TSAuthenticationError) -> Swift.Bool } -public enum TSWebAuthnError { +public enum TSWebAuthnError : @unchecked Swift.Sendable { case canceled case invalidResponse(AuthenticationServices.ASAuthorizationError?) case notHandled(AuthenticationServices.ASAuthorizationError?) @@ -146,6 +150,10 @@ public enum TSTOTPError : Swift.Error { case invalidAlgorithm case invalidPeriod case invalidDigits + case devicePinNotAvailable + case devicePinOrBiometricNotAvailable + case userCanceled + case authenticationFailed case `internal`((any Swift.Error)?) } extension TSAuthenticationSDK.TSTOTPError : Swift.Equatable { @@ -153,7 +161,13 @@ extension TSAuthenticationSDK.TSTOTPError : Swift.Equatable { } public enum TSNativeBiometricsError : Swift.Error { case nativeBiometricsNotAvailable + case nativeBiometricsNotEnrolled case notRegistered + case canceled + case userCanceled + case failure + case lockedOut + case permissionDenied case `internal`((any Swift.Error)?) } extension TSAuthenticationSDK.TSNativeBiometricsError : Swift.Equatable { @@ -173,14 +187,14 @@ extension TSAuthenticationSDK.TSPinCodeError : Swift.Equatable { } @objc deinit } -@_hasMissingDesignatedInitializers final public class TSNativeBiometricsRegistrationResult { +@_hasMissingDesignatedInitializers final public class TSNativeBiometricsRegistrationResult : @unchecked Swift.Sendable { final public let publicKey: Swift.String final public let publicKeyId: Swift.String final public let keyType: Swift.String final public let attestation: Swift.String? @objc deinit } -public struct TSWebAuthnRegistrationData : Swift.Codable { +public struct TSWebAuthnRegistrationData : Swift.Codable, @unchecked Swift.Sendable { public let webauthnSessionId: Swift.String public let credentialCreationOptions: TSAuthenticationSDK.TSWebAuthnCredentialRequestOptionsData public var username: Swift.String? { @@ -191,7 +205,7 @@ public struct TSWebAuthnRegistrationData : Swift.Codable { public func encode(to encoder: any Swift.Encoder) throws public init(from decoder: any Swift.Decoder) throws } -public struct TSWebAuthnAuthenticationData : Swift.Codable { +public struct TSWebAuthnAuthenticationData : Swift.Codable, @unchecked Swift.Sendable { public let webauthnSessionId: Swift.String public let credentialRequestOptions: TSAuthenticationSDK.TSWebAuthnAuthenticationCredentialRequestOptionsData public var username: Swift.String? { @@ -213,32 +227,32 @@ public protocol TSRegistrationContext { public func commit() throws @objc deinit } -@_hasMissingDesignatedInitializers final public class TSAuthenticationResult { +@_hasMissingDesignatedInitializers final public class TSAuthenticationResult : @unchecked Swift.Sendable { final public var result: Swift.String { get } @objc deinit } -@_hasMissingDesignatedInitializers final public class TSNativeBiometricsUnregisterResult { +@_hasMissingDesignatedInitializers final public class TSNativeBiometricsUnregisterResult : @unchecked Swift.Sendable { final public let publicKeyId: Swift.String @objc deinit } -@_hasMissingDesignatedInitializers final public class TSNativeBiometricsAuthenticationResult { +@_hasMissingDesignatedInitializers final public class TSNativeBiometricsAuthenticationResult : @unchecked Swift.Sendable { final public let publicKeyId: Swift.String final public let signature: Swift.String @objc deinit } -@_hasMissingDesignatedInitializers final public class TSTOTPRegistrationResult { +@_hasMissingDesignatedInitializers final public class TSTOTPRegistrationResult : @unchecked Swift.Sendable { final public let issuer: Swift.String? final public let label: Swift.String? final public let uuid: Swift.String @objc deinit } -@_hasMissingDesignatedInitializers final public class TSTOTPGenerateCodeResult { +@_hasMissingDesignatedInitializers final public class TSTOTPGenerateCodeResult : @unchecked Swift.Sendable { final public let code: Swift.String @objc deinit } -@_hasMissingDesignatedInitializers final public class TSPinCodeRegistrationResult { +@_hasMissingDesignatedInitializers final public class TSPinCodeRegistrationResult : @unchecked Swift.Sendable { final public let publicKey: Swift.String final public let publicKeyId: Swift.String final public let keyType: Swift.String @@ -246,19 +260,19 @@ public protocol TSRegistrationContext { final public let registrationContext: TSAuthenticationSDK.TSPinCodeRegistrationContext @objc deinit } -@_hasMissingDesignatedInitializers final public class TSPinCodeAuthenticationResult : Swift.Encodable { +@_hasMissingDesignatedInitializers final public class TSPinCodeAuthenticationResult : Swift.Encodable, @unchecked Swift.Sendable { final public let publicKeyId: Swift.String final public let signature: Swift.String final public let challenge: Swift.String @objc deinit final public func encode(to encoder: any Swift.Encoder) throws } -@_hasMissingDesignatedInitializers final public class TSPinCodeUnregistrationResult { +@_hasMissingDesignatedInitializers final public class TSPinCodeUnregistrationResult : @unchecked Swift.Sendable { final public let publicKeyId: Swift.String final public let unregistrationContext: TSAuthenticationSDK.TSPinCodeUnregistrationContext @objc deinit } -@_hasMissingDesignatedInitializers final public class TSSignChallengeResult { +@_hasMissingDesignatedInitializers final public class TSSignChallengeResult : @unchecked Swift.Sendable { final public let signature: Swift.String @objc deinit } @@ -300,5 +314,32 @@ extension TSAuthenticationSDK.TSAuthentication { public func encode(to encoder: any Swift.Encoder) throws required public init(from decoder: any Swift.Decoder) throws } +public enum TSBiometricType { + case faceID + case touchID + case opticID + case none + public static func == (a: TSAuthenticationSDK.TSBiometricType, b: TSAuthenticationSDK.TSBiometricType) -> Swift.Bool + public func hash(into hasher: inout Swift.Hasher) + public var hashValue: Swift.Int { + get + } +} +public enum TSBiometricStatus { + case available + case notEnrolled + case notAvailable + case permissionDenied + case lockedOut + public static func == (a: TSAuthenticationSDK.TSBiometricStatus, b: TSAuthenticationSDK.TSBiometricStatus) -> Swift.Bool + public func hash(into hasher: inout Swift.Hasher) + public var hashValue: Swift.Int { + get + } +} extension TSAuthenticationSDK.TSTOTPSecurityType : Swift.Equatable {} extension TSAuthenticationSDK.TSTOTPSecurityType : Swift.Hashable {} +extension TSAuthenticationSDK.TSBiometricType : Swift.Equatable {} +extension TSAuthenticationSDK.TSBiometricType : Swift.Hashable {} +extension TSAuthenticationSDK.TSBiometricStatus : Swift.Equatable {} +extension TSAuthenticationSDK.TSBiometricStatus : Swift.Hashable {} diff --git a/Sources/TSAuthenticationSDK.xcframework/ios-arm64_x86_64-simulator/TSAuthenticationSDK.framework/Modules/TSAuthenticationSDK.swiftmodule/arm64-apple-ios-simulator.swiftdoc b/Sources/TSAuthenticationSDK.xcframework/ios-arm64_x86_64-simulator/TSAuthenticationSDK.framework/Modules/TSAuthenticationSDK.swiftmodule/arm64-apple-ios-simulator.swiftdoc index 59c45cb..44412e9 100644 Binary files a/Sources/TSAuthenticationSDK.xcframework/ios-arm64_x86_64-simulator/TSAuthenticationSDK.framework/Modules/TSAuthenticationSDK.swiftmodule/arm64-apple-ios-simulator.swiftdoc and b/Sources/TSAuthenticationSDK.xcframework/ios-arm64_x86_64-simulator/TSAuthenticationSDK.framework/Modules/TSAuthenticationSDK.swiftmodule/arm64-apple-ios-simulator.swiftdoc differ diff --git a/Sources/TSAuthenticationSDK.xcframework/ios-arm64_x86_64-simulator/TSAuthenticationSDK.framework/Modules/TSAuthenticationSDK.swiftmodule/arm64-apple-ios-simulator.swiftinterface b/Sources/TSAuthenticationSDK.xcframework/ios-arm64_x86_64-simulator/TSAuthenticationSDK.framework/Modules/TSAuthenticationSDK.swiftmodule/arm64-apple-ios-simulator.swiftinterface index bd1678f..0e0ca10 100644 --- a/Sources/TSAuthenticationSDK.xcframework/ios-arm64_x86_64-simulator/TSAuthenticationSDK.framework/Modules/TSAuthenticationSDK.swiftmodule/arm64-apple-ios-simulator.swiftinterface +++ b/Sources/TSAuthenticationSDK.xcframework/ios-arm64_x86_64-simulator/TSAuthenticationSDK.framework/Modules/TSAuthenticationSDK.swiftmodule/arm64-apple-ios-simulator.swiftinterface @@ -1,6 +1,6 @@ // swift-interface-format-version: 1.0 -// swift-compiler-version: Apple Swift version 6.0.3 effective-5.10 (swiftlang-6.0.3.1.10 clang-1600.0.30.1) -// swift-module-flags: -target arm64-apple-ios13.0-simulator -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -O -enable-bare-slash-regex -module-name TSAuthenticationSDK +// swift-compiler-version: Apple Swift version 6.0.3 (swiftlang-6.0.3.1.10 clang-1600.0.30.1) +// swift-module-flags: -target arm64-apple-ios13.0-simulator -enable-objc-interop -enable-library-evolution -swift-version 6 -enforce-exclusivity=checked -O -module-name TSAuthenticationSDK // swift-module-flags-ignorable: -no-verify-emitted-module-interface import AuthenticationServices import CryptoKit @@ -45,6 +45,8 @@ public struct TSAuthenticationConfiguration { public enum TSTOTPSecurityType : Swift.Codable { case biometric case none + case devicePin + case devicePinOrBiometric public static func == (a: TSAuthenticationSDK.TSTOTPSecurityType, b: TSAuthenticationSDK.TSTOTPSecurityType) -> Swift.Bool public func hash(into hasher: inout Swift.Hasher) public func encode(to encoder: any Swift.Encoder) throws @@ -53,13 +55,13 @@ public enum TSTOTPSecurityType : Swift.Codable { } public init(from decoder: any Swift.Decoder) throws } -public struct TSDeviceInfo : Swift.Codable { +public struct TSDeviceInfo : Swift.Codable, @unchecked Swift.Sendable { public let publicKeyId: Swift.String public let publicKey: Swift.String public func encode(to encoder: any Swift.Encoder) throws public init(from decoder: any Swift.Decoder) throws } -@objc @_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers final public class TSAuthentication : ObjectiveC.NSObject, TSCoreSDK.TSLogConfigurable { +@objc @_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers final public class TSAuthentication : ObjectiveC.NSObject, TSCoreSDK.TSLogConfigurable, @unchecked Swift.Sendable { public static let shared: TSAuthenticationSDK.TSAuthentication final public func initialize(baseUrl: Swift.String = "https://api.transmitsecurity.io/", clientId: Swift.String, domain: Swift.String? = nil, initOptions: TSAuthenticationSDK.TSAuthenticationInitOptions? = nil) final public func initializeSDK(configuration: TSAuthenticationSDK.TSAuthenticationConfiguration? = nil) throws @@ -81,17 +83,19 @@ public struct TSDeviceInfo : Swift.Codable { final public func registerPinCode(username: Swift.String, pinCode: Swift.String, completion: @escaping TSAuthenticationSDK.TSPinCodeRegistrationCompletion) final public func registerPinCode(username: Swift.String, pinCode: Swift.String) async throws -> TSAuthenticationSDK.TSPinCodeRegistrationResult final public func authenticatePinCode(username: Swift.String, pinCode: Swift.String, challenge: Swift.String, completion: @escaping TSAuthenticationSDK.TSPinCodeAuthenticationCompletion) + final public func authenticatePinCode(username: Swift.String, pinCode: Swift.String, challenge: Swift.String) async throws -> TSAuthenticationSDK.TSPinCodeAuthenticationResult final public func unregisterPinCode(username: Swift.String, completion: @escaping TSAuthenticationSDK.TSPinCodeUnregistrationCompletion) final public func unregisterPinCode(username: Swift.String) async throws -> TSAuthenticationSDK.TSPinCodeUnregistrationResult - final public func authenticatePinCode(username: Swift.String, pinCode: Swift.String, challenge: Swift.String) async throws -> TSAuthenticationSDK.TSPinCodeAuthenticationResult final public func getDeviceInfo(_ completion: @escaping TSAuthenticationSDK.DeviceInfoCompletion) final public func signWithDeviceKey(challenge: Swift.String, completion: @escaping TSAuthenticationSDK.TSSignChallengeCompletion) public static func isWebAuthnSupported() -> Swift.Bool public static func isNativeBiometricsEnrolled() -> Swift.Bool + public static func nativeBiometricsType() -> TSAuthenticationSDK.TSBiometricType + public static func nativeBiometricsStatus() -> TSAuthenticationSDK.TSBiometricStatus @objc deinit } extension TSAuthenticationSDK.TSAuthentication { - public struct WebAuthnAuthenticationOptions : Swift.OptionSet { + public struct WebAuthnAuthenticationOptions : Swift.OptionSet, @unchecked Swift.Sendable { public let rawValue: Swift.Int public init(rawValue: Swift.Int) public static let preferLocalCredantials: TSAuthenticationSDK.TSAuthentication.WebAuthnAuthenticationOptions @@ -112,7 +116,7 @@ extension TSAuthenticationSDK.TSAuthentication { public func encode(to encoder: any Swift.Encoder) throws required public init(from decoder: any Swift.Decoder) throws } -public enum TSAuthenticationError : Swift.Error { +public enum TSAuthenticationError : Swift.Error, @unchecked Swift.Sendable { case notInitialized case unsupportedOSVersion case requestIsRunning @@ -127,7 +131,7 @@ public enum TSAuthenticationError : Swift.Error { extension TSAuthenticationSDK.TSAuthenticationError : Swift.Equatable { public static func == (lhs: TSAuthenticationSDK.TSAuthenticationError, rhs: TSAuthenticationSDK.TSAuthenticationError) -> Swift.Bool } -public enum TSWebAuthnError { +public enum TSWebAuthnError : @unchecked Swift.Sendable { case canceled case invalidResponse(AuthenticationServices.ASAuthorizationError?) case notHandled(AuthenticationServices.ASAuthorizationError?) @@ -146,6 +150,10 @@ public enum TSTOTPError : Swift.Error { case invalidAlgorithm case invalidPeriod case invalidDigits + case devicePinNotAvailable + case devicePinOrBiometricNotAvailable + case userCanceled + case authenticationFailed case `internal`((any Swift.Error)?) } extension TSAuthenticationSDK.TSTOTPError : Swift.Equatable { @@ -153,7 +161,13 @@ extension TSAuthenticationSDK.TSTOTPError : Swift.Equatable { } public enum TSNativeBiometricsError : Swift.Error { case nativeBiometricsNotAvailable + case nativeBiometricsNotEnrolled case notRegistered + case canceled + case userCanceled + case failure + case lockedOut + case permissionDenied case `internal`((any Swift.Error)?) } extension TSAuthenticationSDK.TSNativeBiometricsError : Swift.Equatable { @@ -173,14 +187,14 @@ extension TSAuthenticationSDK.TSPinCodeError : Swift.Equatable { } @objc deinit } -@_hasMissingDesignatedInitializers final public class TSNativeBiometricsRegistrationResult { +@_hasMissingDesignatedInitializers final public class TSNativeBiometricsRegistrationResult : @unchecked Swift.Sendable { final public let publicKey: Swift.String final public let publicKeyId: Swift.String final public let keyType: Swift.String final public let attestation: Swift.String? @objc deinit } -public struct TSWebAuthnRegistrationData : Swift.Codable { +public struct TSWebAuthnRegistrationData : Swift.Codable, @unchecked Swift.Sendable { public let webauthnSessionId: Swift.String public let credentialCreationOptions: TSAuthenticationSDK.TSWebAuthnCredentialRequestOptionsData public var username: Swift.String? { @@ -191,7 +205,7 @@ public struct TSWebAuthnRegistrationData : Swift.Codable { public func encode(to encoder: any Swift.Encoder) throws public init(from decoder: any Swift.Decoder) throws } -public struct TSWebAuthnAuthenticationData : Swift.Codable { +public struct TSWebAuthnAuthenticationData : Swift.Codable, @unchecked Swift.Sendable { public let webauthnSessionId: Swift.String public let credentialRequestOptions: TSAuthenticationSDK.TSWebAuthnAuthenticationCredentialRequestOptionsData public var username: Swift.String? { @@ -213,32 +227,32 @@ public protocol TSRegistrationContext { public func commit() throws @objc deinit } -@_hasMissingDesignatedInitializers final public class TSAuthenticationResult { +@_hasMissingDesignatedInitializers final public class TSAuthenticationResult : @unchecked Swift.Sendable { final public var result: Swift.String { get } @objc deinit } -@_hasMissingDesignatedInitializers final public class TSNativeBiometricsUnregisterResult { +@_hasMissingDesignatedInitializers final public class TSNativeBiometricsUnregisterResult : @unchecked Swift.Sendable { final public let publicKeyId: Swift.String @objc deinit } -@_hasMissingDesignatedInitializers final public class TSNativeBiometricsAuthenticationResult { +@_hasMissingDesignatedInitializers final public class TSNativeBiometricsAuthenticationResult : @unchecked Swift.Sendable { final public let publicKeyId: Swift.String final public let signature: Swift.String @objc deinit } -@_hasMissingDesignatedInitializers final public class TSTOTPRegistrationResult { +@_hasMissingDesignatedInitializers final public class TSTOTPRegistrationResult : @unchecked Swift.Sendable { final public let issuer: Swift.String? final public let label: Swift.String? final public let uuid: Swift.String @objc deinit } -@_hasMissingDesignatedInitializers final public class TSTOTPGenerateCodeResult { +@_hasMissingDesignatedInitializers final public class TSTOTPGenerateCodeResult : @unchecked Swift.Sendable { final public let code: Swift.String @objc deinit } -@_hasMissingDesignatedInitializers final public class TSPinCodeRegistrationResult { +@_hasMissingDesignatedInitializers final public class TSPinCodeRegistrationResult : @unchecked Swift.Sendable { final public let publicKey: Swift.String final public let publicKeyId: Swift.String final public let keyType: Swift.String @@ -246,19 +260,19 @@ public protocol TSRegistrationContext { final public let registrationContext: TSAuthenticationSDK.TSPinCodeRegistrationContext @objc deinit } -@_hasMissingDesignatedInitializers final public class TSPinCodeAuthenticationResult : Swift.Encodable { +@_hasMissingDesignatedInitializers final public class TSPinCodeAuthenticationResult : Swift.Encodable, @unchecked Swift.Sendable { final public let publicKeyId: Swift.String final public let signature: Swift.String final public let challenge: Swift.String @objc deinit final public func encode(to encoder: any Swift.Encoder) throws } -@_hasMissingDesignatedInitializers final public class TSPinCodeUnregistrationResult { +@_hasMissingDesignatedInitializers final public class TSPinCodeUnregistrationResult : @unchecked Swift.Sendable { final public let publicKeyId: Swift.String final public let unregistrationContext: TSAuthenticationSDK.TSPinCodeUnregistrationContext @objc deinit } -@_hasMissingDesignatedInitializers final public class TSSignChallengeResult { +@_hasMissingDesignatedInitializers final public class TSSignChallengeResult : @unchecked Swift.Sendable { final public let signature: Swift.String @objc deinit } @@ -300,5 +314,32 @@ extension TSAuthenticationSDK.TSAuthentication { public func encode(to encoder: any Swift.Encoder) throws required public init(from decoder: any Swift.Decoder) throws } +public enum TSBiometricType { + case faceID + case touchID + case opticID + case none + public static func == (a: TSAuthenticationSDK.TSBiometricType, b: TSAuthenticationSDK.TSBiometricType) -> Swift.Bool + public func hash(into hasher: inout Swift.Hasher) + public var hashValue: Swift.Int { + get + } +} +public enum TSBiometricStatus { + case available + case notEnrolled + case notAvailable + case permissionDenied + case lockedOut + public static func == (a: TSAuthenticationSDK.TSBiometricStatus, b: TSAuthenticationSDK.TSBiometricStatus) -> Swift.Bool + public func hash(into hasher: inout Swift.Hasher) + public var hashValue: Swift.Int { + get + } +} extension TSAuthenticationSDK.TSTOTPSecurityType : Swift.Equatable {} extension TSAuthenticationSDK.TSTOTPSecurityType : Swift.Hashable {} +extension TSAuthenticationSDK.TSBiometricType : Swift.Equatable {} +extension TSAuthenticationSDK.TSBiometricType : Swift.Hashable {} +extension TSAuthenticationSDK.TSBiometricStatus : Swift.Equatable {} +extension TSAuthenticationSDK.TSBiometricStatus : Swift.Hashable {} diff --git a/Sources/TSAuthenticationSDK.xcframework/ios-arm64_x86_64-simulator/TSAuthenticationSDK.framework/Modules/TSAuthenticationSDK.swiftmodule/x86_64-apple-ios-simulator.abi.json b/Sources/TSAuthenticationSDK.xcframework/ios-arm64_x86_64-simulator/TSAuthenticationSDK.framework/Modules/TSAuthenticationSDK.swiftmodule/x86_64-apple-ios-simulator.abi.json index b1066c4..7611971 100644 --- a/Sources/TSAuthenticationSDK.xcframework/ios-arm64_x86_64-simulator/TSAuthenticationSDK.framework/Modules/TSAuthenticationSDK.swiftmodule/x86_64-apple-ios-simulator.abi.json +++ b/Sources/TSAuthenticationSDK.xcframework/ios-arm64_x86_64-simulator/TSAuthenticationSDK.framework/Modules/TSAuthenticationSDK.swiftmodule/x86_64-apple-ios-simulator.abi.json @@ -416,6 +416,86 @@ "RawDocComment" ] }, + { + "kind": "Var", + "name": "devicePin", + "printedName": "devicePin", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(TSAuthenticationSDK.TSTOTPSecurityType.Type) -> TSAuthenticationSDK.TSTOTPSecurityType", + "children": [ + { + "kind": "TypeNominal", + "name": "TSTOTPSecurityType", + "printedName": "TSAuthenticationSDK.TSTOTPSecurityType", + "usr": "s:19TSAuthenticationSDK18TSTOTPSecurityTypeO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "TSAuthenticationSDK.TSTOTPSecurityType.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "TSTOTPSecurityType", + "printedName": "TSAuthenticationSDK.TSTOTPSecurityType", + "usr": "s:19TSAuthenticationSDK18TSTOTPSecurityTypeO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:19TSAuthenticationSDK18TSTOTPSecurityTypeO9devicePinyA2CmF", + "mangledName": "$s19TSAuthenticationSDK18TSTOTPSecurityTypeO9devicePinyA2CmF", + "moduleName": "TSAuthenticationSDK", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "devicePinOrBiometric", + "printedName": "devicePinOrBiometric", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(TSAuthenticationSDK.TSTOTPSecurityType.Type) -> TSAuthenticationSDK.TSTOTPSecurityType", + "children": [ + { + "kind": "TypeNominal", + "name": "TSTOTPSecurityType", + "printedName": "TSAuthenticationSDK.TSTOTPSecurityType", + "usr": "s:19TSAuthenticationSDK18TSTOTPSecurityTypeO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "TSAuthenticationSDK.TSTOTPSecurityType.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "TSTOTPSecurityType", + "printedName": "TSAuthenticationSDK.TSTOTPSecurityType", + "usr": "s:19TSAuthenticationSDK18TSTOTPSecurityTypeO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:19TSAuthenticationSDK18TSTOTPSecurityTypeO20devicePinOrBiometricyA2CmF", + "mangledName": "$s19TSAuthenticationSDK18TSTOTPSecurityTypeO20devicePinOrBiometricyA2CmF", + "moduleName": "TSAuthenticationSDK", + "declAttributes": [ + "RawDocComment" + ] + }, { "kind": "Function", "name": "==", @@ -796,6 +876,13 @@ "printedName": "Encodable", "usr": "s:SE", "mangledName": "$sSE" + }, + { + "kind": "Conformance", + "name": "Sendable", + "printedName": "Sendable", + "usr": "s:s8SendableP", + "mangledName": "$ss8SendableP" } ] }, @@ -2211,6 +2298,48 @@ ], "funcSelfKind": "NonMutating" }, + { + "kind": "Function", + "name": "authenticatePinCode", + "printedName": "authenticatePinCode(username:pinCode:challenge:)", + "children": [ + { + "kind": "TypeNominal", + "name": "TSPinCodeAuthenticationResult", + "printedName": "TSAuthenticationSDK.TSPinCodeAuthenticationResult", + "usr": "s:19TSAuthenticationSDK29TSPinCodeAuthenticationResultC" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "declKind": "Func", + "usr": "s:19TSAuthenticationSDK0A0C19authenticatePinCode8username03pinE09challengeAA05TSPinE20AuthenticationResultCSS_S2StYaKF", + "mangledName": "$s19TSAuthenticationSDK0A0C19authenticatePinCode8username03pinE09challengeAA05TSPinE20AuthenticationResultCSS_S2StYaKF", + "moduleName": "TSAuthenticationSDK", + "declAttributes": [ + "Final", + "AccessControl", + "RawDocComment" + ], + "throwing": true, + "funcSelfKind": "NonMutating" + }, { "kind": "Function", "name": "unregisterPinCode", @@ -2301,48 +2430,6 @@ "throwing": true, "funcSelfKind": "NonMutating" }, - { - "kind": "Function", - "name": "authenticatePinCode", - "printedName": "authenticatePinCode(username:pinCode:challenge:)", - "children": [ - { - "kind": "TypeNominal", - "name": "TSPinCodeAuthenticationResult", - "printedName": "TSAuthenticationSDK.TSPinCodeAuthenticationResult", - "usr": "s:19TSAuthenticationSDK29TSPinCodeAuthenticationResultC" - }, - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - }, - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - }, - { - "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" - } - ], - "declKind": "Func", - "usr": "s:19TSAuthenticationSDK0A0C19authenticatePinCode8username03pinE09challengeAA05TSPinE20AuthenticationResultCSS_S2StYaKF", - "mangledName": "$s19TSAuthenticationSDK0A0C19authenticatePinCode8username03pinE09challengeAA05TSPinE20AuthenticationResultCSS_S2StYaKF", - "moduleName": "TSAuthenticationSDK", - "declAttributes": [ - "Final", - "AccessControl", - "RawDocComment" - ], - "throwing": true, - "funcSelfKind": "NonMutating" - }, { "kind": "Function", "name": "getDeviceInfo", @@ -2505,6 +2592,54 @@ ], "funcSelfKind": "NonMutating" }, + { + "kind": "Function", + "name": "nativeBiometricsType", + "printedName": "nativeBiometricsType()", + "children": [ + { + "kind": "TypeNominal", + "name": "TSBiometricType", + "printedName": "TSAuthenticationSDK.TSBiometricType", + "usr": "s:19TSAuthenticationSDK15TSBiometricTypeO" + } + ], + "declKind": "Func", + "usr": "s:19TSAuthenticationSDK0A0C20nativeBiometricsTypeAA011TSBiometricE0OyFZ", + "mangledName": "$s19TSAuthenticationSDK0A0C20nativeBiometricsTypeAA011TSBiometricE0OyFZ", + "moduleName": "TSAuthenticationSDK", + "static": true, + "declAttributes": [ + "Final", + "AccessControl", + "RawDocComment" + ], + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "nativeBiometricsStatus", + "printedName": "nativeBiometricsStatus()", + "children": [ + { + "kind": "TypeNominal", + "name": "TSBiometricStatus", + "printedName": "TSAuthenticationSDK.TSBiometricStatus", + "usr": "s:19TSAuthenticationSDK17TSBiometricStatusO" + } + ], + "declKind": "Func", + "usr": "s:19TSAuthenticationSDK0A0C22nativeBiometricsStatusAA011TSBiometricE0OyFZ", + "mangledName": "$s19TSAuthenticationSDK0A0C22nativeBiometricsStatusAA011TSBiometricE0OyFZ", + "moduleName": "TSAuthenticationSDK", + "static": true, + "declAttributes": [ + "Final", + "AccessControl", + "RawDocComment" + ], + "funcSelfKind": "NonMutating" + }, { "kind": "TypeDecl", "name": "WebAuthnAuthenticationOptions", @@ -2675,6 +2810,13 @@ "usr": "s:s9OptionSetP", "mangledName": "$ss9OptionSetP" }, + { + "kind": "Conformance", + "name": "Sendable", + "printedName": "Sendable", + "usr": "s:s8SendableP", + "mangledName": "$ss8SendableP" + }, { "kind": "Conformance", "name": "RawRepresentable", @@ -2898,6 +3040,13 @@ "usr": "s:9TSCoreSDK17TSLogConfigurableP", "mangledName": "$s9TSCoreSDK17TSLogConfigurableP" }, + { + "kind": "Conformance", + "name": "Sendable", + "printedName": "Sendable", + "usr": "s:s8SendableP", + "mangledName": "$ss8SendableP" + }, { "kind": "Conformance", "name": "Copyable", @@ -4712,6 +4861,13 @@ "printedName": "Escapable", "usr": "s:s9EscapableP", "mangledName": "$ss9EscapableP" + }, + { + "kind": "Conformance", + "name": "Sendable", + "printedName": "Sendable", + "usr": "s:s8SendableP", + "mangledName": "$ss8SendableP" } ] }, @@ -5002,40 +5158,19 @@ }, { "kind": "Var", - "name": "internal", - "printedName": "internal", + "name": "devicePinNotAvailable", + "printedName": "devicePinNotAvailable", "children": [ { "kind": "TypeFunc", "name": "Function", - "printedName": "(TSAuthenticationSDK.TSTOTPError.Type) -> ((any Swift.Error)?) -> TSAuthenticationSDK.TSTOTPError", + "printedName": "(TSAuthenticationSDK.TSTOTPError.Type) -> TSAuthenticationSDK.TSTOTPError", "children": [ { - "kind": "TypeFunc", - "name": "Function", - "printedName": "((any Swift.Error)?) -> TSAuthenticationSDK.TSTOTPError", - "children": [ - { - "kind": "TypeNominal", - "name": "TSTOTPError", - "printedName": "TSAuthenticationSDK.TSTOTPError", - "usr": "s:19TSAuthenticationSDK11TSTOTPErrorO" - }, - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "(any Swift.Error)?", - "children": [ - { - "kind": "TypeNominal", - "name": "Error", - "printedName": "any Swift.Error", - "usr": "s:s5ErrorP" - } - ], - "usr": "s:Sq" - } - ] + "kind": "TypeNominal", + "name": "TSTOTPError", + "printedName": "TSAuthenticationSDK.TSTOTPError", + "usr": "s:19TSAuthenticationSDK11TSTOTPErrorO" }, { "kind": "TypeNominal", @@ -5054,126 +5189,79 @@ } ], "declKind": "EnumElement", - "usr": "s:19TSAuthenticationSDK11TSTOTPErrorO8internalyACs5Error_pSgcACmF", - "mangledName": "$s19TSAuthenticationSDK11TSTOTPErrorO8internalyACs5Error_pSgcACmF", + "usr": "s:19TSAuthenticationSDK11TSTOTPErrorO21devicePinNotAvailableyA2CmF", + "mangledName": "$s19TSAuthenticationSDK11TSTOTPErrorO21devicePinNotAvailableyA2CmF", "moduleName": "TSAuthenticationSDK", "declAttributes": [ "RawDocComment" ] }, { - "kind": "Function", - "name": "==", - "printedName": "==(_:_:)", + "kind": "Var", + "name": "devicePinOrBiometricNotAvailable", + "printedName": "devicePinOrBiometricNotAvailable", "children": [ { - "kind": "TypeNominal", - "name": "Bool", - "printedName": "Swift.Bool", - "usr": "s:Sb" - }, - { - "kind": "TypeNominal", - "name": "TSTOTPError", - "printedName": "TSAuthenticationSDK.TSTOTPError", - "usr": "s:19TSAuthenticationSDK11TSTOTPErrorO" - }, - { - "kind": "TypeNominal", - "name": "TSTOTPError", - "printedName": "TSAuthenticationSDK.TSTOTPError", - "usr": "s:19TSAuthenticationSDK11TSTOTPErrorO" + "kind": "TypeFunc", + "name": "Function", + "printedName": "(TSAuthenticationSDK.TSTOTPError.Type) -> TSAuthenticationSDK.TSTOTPError", + "children": [ + { + "kind": "TypeNominal", + "name": "TSTOTPError", + "printedName": "TSAuthenticationSDK.TSTOTPError", + "usr": "s:19TSAuthenticationSDK11TSTOTPErrorO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "TSAuthenticationSDK.TSTOTPError.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "TSTOTPError", + "printedName": "TSAuthenticationSDK.TSTOTPError", + "usr": "s:19TSAuthenticationSDK11TSTOTPErrorO" + } + ] + } + ] } ], - "declKind": "Func", - "usr": "s:19TSAuthenticationSDK11TSTOTPErrorO2eeoiySbAC_ACtFZ", - "mangledName": "$s19TSAuthenticationSDK11TSTOTPErrorO2eeoiySbAC_ACtFZ", + "declKind": "EnumElement", + "usr": "s:19TSAuthenticationSDK11TSTOTPErrorO32devicePinOrBiometricNotAvailableyA2CmF", + "mangledName": "$s19TSAuthenticationSDK11TSTOTPErrorO32devicePinOrBiometricNotAvailableyA2CmF", "moduleName": "TSAuthenticationSDK", - "static": true, "declAttributes": [ - "AccessControl" - ], - "isFromExtension": true, - "funcSelfKind": "NonMutating" - } - ], - "declKind": "Enum", - "usr": "s:19TSAuthenticationSDK11TSTOTPErrorO", - "mangledName": "$s19TSAuthenticationSDK11TSTOTPErrorO", - "moduleName": "TSAuthenticationSDK", - "declAttributes": [ - "AccessControl", - "RawDocComment" - ], - "conformances": [ - { - "kind": "Conformance", - "name": "Copyable", - "printedName": "Copyable", - "usr": "s:s8CopyableP", - "mangledName": "$ss8CopyableP" - }, - { - "kind": "Conformance", - "name": "Escapable", - "printedName": "Escapable", - "usr": "s:s9EscapableP", - "mangledName": "$ss9EscapableP" - }, - { - "kind": "Conformance", - "name": "Error", - "printedName": "Error", - "usr": "s:s5ErrorP", - "mangledName": "$ss5ErrorP" - }, - { - "kind": "Conformance", - "name": "Sendable", - "printedName": "Sendable", - "usr": "s:s8SendableP", - "mangledName": "$ss8SendableP" + "RawDocComment" + ] }, - { - "kind": "Conformance", - "name": "Equatable", - "printedName": "Equatable", - "usr": "s:SQ", - "mangledName": "$sSQ" - } - ] - }, - { - "kind": "TypeDecl", - "name": "TSNativeBiometricsError", - "printedName": "TSNativeBiometricsError", - "children": [ { "kind": "Var", - "name": "nativeBiometricsNotAvailable", - "printedName": "nativeBiometricsNotAvailable", + "name": "userCanceled", + "printedName": "userCanceled", "children": [ { "kind": "TypeFunc", "name": "Function", - "printedName": "(TSAuthenticationSDK.TSNativeBiometricsError.Type) -> TSAuthenticationSDK.TSNativeBiometricsError", + "printedName": "(TSAuthenticationSDK.TSTOTPError.Type) -> TSAuthenticationSDK.TSTOTPError", "children": [ { "kind": "TypeNominal", - "name": "TSNativeBiometricsError", - "printedName": "TSAuthenticationSDK.TSNativeBiometricsError", - "usr": "s:19TSAuthenticationSDK23TSNativeBiometricsErrorO" + "name": "TSTOTPError", + "printedName": "TSAuthenticationSDK.TSTOTPError", + "usr": "s:19TSAuthenticationSDK11TSTOTPErrorO" }, { "kind": "TypeNominal", "name": "Metatype", - "printedName": "TSAuthenticationSDK.TSNativeBiometricsError.Type", + "printedName": "TSAuthenticationSDK.TSTOTPError.Type", "children": [ { "kind": "TypeNominal", - "name": "TSNativeBiometricsError", - "printedName": "TSAuthenticationSDK.TSNativeBiometricsError", - "usr": "s:19TSAuthenticationSDK23TSNativeBiometricsErrorO" + "name": "TSTOTPError", + "printedName": "TSAuthenticationSDK.TSTOTPError", + "usr": "s:19TSAuthenticationSDK11TSTOTPErrorO" } ] } @@ -5181,8 +5269,8 @@ } ], "declKind": "EnumElement", - "usr": "s:19TSAuthenticationSDK23TSNativeBiometricsErrorO06nativeD12NotAvailableyA2CmF", - "mangledName": "$s19TSAuthenticationSDK23TSNativeBiometricsErrorO06nativeD12NotAvailableyA2CmF", + "usr": "s:19TSAuthenticationSDK11TSTOTPErrorO12userCanceledyA2CmF", + "mangledName": "$s19TSAuthenticationSDK11TSTOTPErrorO12userCanceledyA2CmF", "moduleName": "TSAuthenticationSDK", "declAttributes": [ "RawDocComment" @@ -5190,30 +5278,30 @@ }, { "kind": "Var", - "name": "notRegistered", - "printedName": "notRegistered", + "name": "authenticationFailed", + "printedName": "authenticationFailed", "children": [ { "kind": "TypeFunc", "name": "Function", - "printedName": "(TSAuthenticationSDK.TSNativeBiometricsError.Type) -> TSAuthenticationSDK.TSNativeBiometricsError", + "printedName": "(TSAuthenticationSDK.TSTOTPError.Type) -> TSAuthenticationSDK.TSTOTPError", "children": [ { "kind": "TypeNominal", - "name": "TSNativeBiometricsError", - "printedName": "TSAuthenticationSDK.TSNativeBiometricsError", - "usr": "s:19TSAuthenticationSDK23TSNativeBiometricsErrorO" + "name": "TSTOTPError", + "printedName": "TSAuthenticationSDK.TSTOTPError", + "usr": "s:19TSAuthenticationSDK11TSTOTPErrorO" }, { "kind": "TypeNominal", "name": "Metatype", - "printedName": "TSAuthenticationSDK.TSNativeBiometricsError.Type", + "printedName": "TSAuthenticationSDK.TSTOTPError.Type", "children": [ { "kind": "TypeNominal", - "name": "TSNativeBiometricsError", - "printedName": "TSAuthenticationSDK.TSNativeBiometricsError", - "usr": "s:19TSAuthenticationSDK23TSNativeBiometricsErrorO" + "name": "TSTOTPError", + "printedName": "TSAuthenticationSDK.TSTOTPError", + "usr": "s:19TSAuthenticationSDK11TSTOTPErrorO" } ] } @@ -5221,8 +5309,8 @@ } ], "declKind": "EnumElement", - "usr": "s:19TSAuthenticationSDK23TSNativeBiometricsErrorO13notRegisteredyA2CmF", - "mangledName": "$s19TSAuthenticationSDK23TSNativeBiometricsErrorO13notRegisteredyA2CmF", + "usr": "s:19TSAuthenticationSDK11TSTOTPErrorO20authenticationFailedyA2CmF", + "mangledName": "$s19TSAuthenticationSDK11TSTOTPErrorO20authenticationFailedyA2CmF", "moduleName": "TSAuthenticationSDK", "declAttributes": [ "RawDocComment" @@ -5236,18 +5324,18 @@ { "kind": "TypeFunc", "name": "Function", - "printedName": "(TSAuthenticationSDK.TSNativeBiometricsError.Type) -> ((any Swift.Error)?) -> TSAuthenticationSDK.TSNativeBiometricsError", + "printedName": "(TSAuthenticationSDK.TSTOTPError.Type) -> ((any Swift.Error)?) -> TSAuthenticationSDK.TSTOTPError", "children": [ { "kind": "TypeFunc", "name": "Function", - "printedName": "((any Swift.Error)?) -> TSAuthenticationSDK.TSNativeBiometricsError", + "printedName": "((any Swift.Error)?) -> TSAuthenticationSDK.TSTOTPError", "children": [ { "kind": "TypeNominal", - "name": "TSNativeBiometricsError", - "printedName": "TSAuthenticationSDK.TSNativeBiometricsError", - "usr": "s:19TSAuthenticationSDK23TSNativeBiometricsErrorO" + "name": "TSTOTPError", + "printedName": "TSAuthenticationSDK.TSTOTPError", + "usr": "s:19TSAuthenticationSDK11TSTOTPErrorO" }, { "kind": "TypeNominal", @@ -5268,13 +5356,13 @@ { "kind": "TypeNominal", "name": "Metatype", - "printedName": "TSAuthenticationSDK.TSNativeBiometricsError.Type", + "printedName": "TSAuthenticationSDK.TSTOTPError.Type", "children": [ { "kind": "TypeNominal", - "name": "TSNativeBiometricsError", - "printedName": "TSAuthenticationSDK.TSNativeBiometricsError", - "usr": "s:19TSAuthenticationSDK23TSNativeBiometricsErrorO" + "name": "TSTOTPError", + "printedName": "TSAuthenticationSDK.TSTOTPError", + "usr": "s:19TSAuthenticationSDK11TSTOTPErrorO" } ] } @@ -5282,8 +5370,8 @@ } ], "declKind": "EnumElement", - "usr": "s:19TSAuthenticationSDK23TSNativeBiometricsErrorO8internalyACs0E0_pSgcACmF", - "mangledName": "$s19TSAuthenticationSDK23TSNativeBiometricsErrorO8internalyACs0E0_pSgcACmF", + "usr": "s:19TSAuthenticationSDK11TSTOTPErrorO8internalyACs5Error_pSgcACmF", + "mangledName": "$s19TSAuthenticationSDK11TSTOTPErrorO8internalyACs5Error_pSgcACmF", "moduleName": "TSAuthenticationSDK", "declAttributes": [ "RawDocComment" @@ -5302,20 +5390,20 @@ }, { "kind": "TypeNominal", - "name": "TSNativeBiometricsError", - "printedName": "TSAuthenticationSDK.TSNativeBiometricsError", - "usr": "s:19TSAuthenticationSDK23TSNativeBiometricsErrorO" + "name": "TSTOTPError", + "printedName": "TSAuthenticationSDK.TSTOTPError", + "usr": "s:19TSAuthenticationSDK11TSTOTPErrorO" }, { "kind": "TypeNominal", - "name": "TSNativeBiometricsError", - "printedName": "TSAuthenticationSDK.TSNativeBiometricsError", - "usr": "s:19TSAuthenticationSDK23TSNativeBiometricsErrorO" + "name": "TSTOTPError", + "printedName": "TSAuthenticationSDK.TSTOTPError", + "usr": "s:19TSAuthenticationSDK11TSTOTPErrorO" } ], "declKind": "Func", - "usr": "s:19TSAuthenticationSDK23TSNativeBiometricsErrorO2eeoiySbAC_ACtFZ", - "mangledName": "$s19TSAuthenticationSDK23TSNativeBiometricsErrorO2eeoiySbAC_ACtFZ", + "usr": "s:19TSAuthenticationSDK11TSTOTPErrorO2eeoiySbAC_ACtFZ", + "mangledName": "$s19TSAuthenticationSDK11TSTOTPErrorO2eeoiySbAC_ACtFZ", "moduleName": "TSAuthenticationSDK", "static": true, "declAttributes": [ @@ -5326,8 +5414,8 @@ } ], "declKind": "Enum", - "usr": "s:19TSAuthenticationSDK23TSNativeBiometricsErrorO", - "mangledName": "$s19TSAuthenticationSDK23TSNativeBiometricsErrorO", + "usr": "s:19TSAuthenticationSDK11TSTOTPErrorO", + "mangledName": "$s19TSAuthenticationSDK11TSTOTPErrorO", "moduleName": "TSAuthenticationSDK", "declAttributes": [ "AccessControl", @@ -5373,35 +5461,35 @@ }, { "kind": "TypeDecl", - "name": "TSPinCodeError", - "printedName": "TSPinCodeError", + "name": "TSNativeBiometricsError", + "printedName": "TSNativeBiometricsError", "children": [ { "kind": "Var", - "name": "notRegistered", - "printedName": "notRegistered", + "name": "nativeBiometricsNotAvailable", + "printedName": "nativeBiometricsNotAvailable", "children": [ { "kind": "TypeFunc", "name": "Function", - "printedName": "(TSAuthenticationSDK.TSPinCodeError.Type) -> TSAuthenticationSDK.TSPinCodeError", + "printedName": "(TSAuthenticationSDK.TSNativeBiometricsError.Type) -> TSAuthenticationSDK.TSNativeBiometricsError", "children": [ { "kind": "TypeNominal", - "name": "TSPinCodeError", - "printedName": "TSAuthenticationSDK.TSPinCodeError", - "usr": "s:19TSAuthenticationSDK14TSPinCodeErrorO" + "name": "TSNativeBiometricsError", + "printedName": "TSAuthenticationSDK.TSNativeBiometricsError", + "usr": "s:19TSAuthenticationSDK23TSNativeBiometricsErrorO" }, { "kind": "TypeNominal", "name": "Metatype", - "printedName": "TSAuthenticationSDK.TSPinCodeError.Type", + "printedName": "TSAuthenticationSDK.TSNativeBiometricsError.Type", "children": [ { "kind": "TypeNominal", - "name": "TSPinCodeError", - "printedName": "TSAuthenticationSDK.TSPinCodeError", - "usr": "s:19TSAuthenticationSDK14TSPinCodeErrorO" + "name": "TSNativeBiometricsError", + "printedName": "TSAuthenticationSDK.TSNativeBiometricsError", + "usr": "s:19TSAuthenticationSDK23TSNativeBiometricsErrorO" } ] } @@ -5409,8 +5497,8 @@ } ], "declKind": "EnumElement", - "usr": "s:19TSAuthenticationSDK14TSPinCodeErrorO13notRegisteredyA2CmF", - "mangledName": "$s19TSAuthenticationSDK14TSPinCodeErrorO13notRegisteredyA2CmF", + "usr": "s:19TSAuthenticationSDK23TSNativeBiometricsErrorO06nativeD12NotAvailableyA2CmF", + "mangledName": "$s19TSAuthenticationSDK23TSNativeBiometricsErrorO06nativeD12NotAvailableyA2CmF", "moduleName": "TSAuthenticationSDK", "declAttributes": [ "RawDocComment" @@ -5418,30 +5506,30 @@ }, { "kind": "Var", - "name": "duplicateCommitRegistration", - "printedName": "duplicateCommitRegistration", + "name": "nativeBiometricsNotEnrolled", + "printedName": "nativeBiometricsNotEnrolled", "children": [ { "kind": "TypeFunc", "name": "Function", - "printedName": "(TSAuthenticationSDK.TSPinCodeError.Type) -> TSAuthenticationSDK.TSPinCodeError", + "printedName": "(TSAuthenticationSDK.TSNativeBiometricsError.Type) -> TSAuthenticationSDK.TSNativeBiometricsError", "children": [ { "kind": "TypeNominal", - "name": "TSPinCodeError", - "printedName": "TSAuthenticationSDK.TSPinCodeError", - "usr": "s:19TSAuthenticationSDK14TSPinCodeErrorO" + "name": "TSNativeBiometricsError", + "printedName": "TSAuthenticationSDK.TSNativeBiometricsError", + "usr": "s:19TSAuthenticationSDK23TSNativeBiometricsErrorO" }, { "kind": "TypeNominal", "name": "Metatype", - "printedName": "TSAuthenticationSDK.TSPinCodeError.Type", + "printedName": "TSAuthenticationSDK.TSNativeBiometricsError.Type", "children": [ { "kind": "TypeNominal", - "name": "TSPinCodeError", - "printedName": "TSAuthenticationSDK.TSPinCodeError", - "usr": "s:19TSAuthenticationSDK14TSPinCodeErrorO" + "name": "TSNativeBiometricsError", + "printedName": "TSAuthenticationSDK.TSNativeBiometricsError", + "usr": "s:19TSAuthenticationSDK23TSNativeBiometricsErrorO" } ] } @@ -5449,8 +5537,8 @@ } ], "declKind": "EnumElement", - "usr": "s:19TSAuthenticationSDK14TSPinCodeErrorO27duplicateCommitRegistrationyA2CmF", - "mangledName": "$s19TSAuthenticationSDK14TSPinCodeErrorO27duplicateCommitRegistrationyA2CmF", + "usr": "s:19TSAuthenticationSDK23TSNativeBiometricsErrorO06nativeD11NotEnrolledyA2CmF", + "mangledName": "$s19TSAuthenticationSDK23TSNativeBiometricsErrorO06nativeD11NotEnrolledyA2CmF", "moduleName": "TSAuthenticationSDK", "declAttributes": [ "RawDocComment" @@ -5458,29 +5546,269 @@ }, { "kind": "Var", - "name": "internal", - "printedName": "internal", + "name": "notRegistered", + "printedName": "notRegistered", "children": [ { "kind": "TypeFunc", "name": "Function", - "printedName": "(TSAuthenticationSDK.TSPinCodeError.Type) -> ((any Swift.Error)?) -> TSAuthenticationSDK.TSPinCodeError", + "printedName": "(TSAuthenticationSDK.TSNativeBiometricsError.Type) -> TSAuthenticationSDK.TSNativeBiometricsError", "children": [ { - "kind": "TypeFunc", - "name": "Function", - "printedName": "((any Swift.Error)?) -> TSAuthenticationSDK.TSPinCodeError", + "kind": "TypeNominal", + "name": "TSNativeBiometricsError", + "printedName": "TSAuthenticationSDK.TSNativeBiometricsError", + "usr": "s:19TSAuthenticationSDK23TSNativeBiometricsErrorO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "TSAuthenticationSDK.TSNativeBiometricsError.Type", "children": [ { "kind": "TypeNominal", - "name": "TSPinCodeError", - "printedName": "TSAuthenticationSDK.TSPinCodeError", - "usr": "s:19TSAuthenticationSDK14TSPinCodeErrorO" - }, - { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "(any Swift.Error)?", + "name": "TSNativeBiometricsError", + "printedName": "TSAuthenticationSDK.TSNativeBiometricsError", + "usr": "s:19TSAuthenticationSDK23TSNativeBiometricsErrorO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:19TSAuthenticationSDK23TSNativeBiometricsErrorO13notRegisteredyA2CmF", + "mangledName": "$s19TSAuthenticationSDK23TSNativeBiometricsErrorO13notRegisteredyA2CmF", + "moduleName": "TSAuthenticationSDK", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "canceled", + "printedName": "canceled", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(TSAuthenticationSDK.TSNativeBiometricsError.Type) -> TSAuthenticationSDK.TSNativeBiometricsError", + "children": [ + { + "kind": "TypeNominal", + "name": "TSNativeBiometricsError", + "printedName": "TSAuthenticationSDK.TSNativeBiometricsError", + "usr": "s:19TSAuthenticationSDK23TSNativeBiometricsErrorO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "TSAuthenticationSDK.TSNativeBiometricsError.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "TSNativeBiometricsError", + "printedName": "TSAuthenticationSDK.TSNativeBiometricsError", + "usr": "s:19TSAuthenticationSDK23TSNativeBiometricsErrorO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:19TSAuthenticationSDK23TSNativeBiometricsErrorO8canceledyA2CmF", + "mangledName": "$s19TSAuthenticationSDK23TSNativeBiometricsErrorO8canceledyA2CmF", + "moduleName": "TSAuthenticationSDK", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "userCanceled", + "printedName": "userCanceled", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(TSAuthenticationSDK.TSNativeBiometricsError.Type) -> TSAuthenticationSDK.TSNativeBiometricsError", + "children": [ + { + "kind": "TypeNominal", + "name": "TSNativeBiometricsError", + "printedName": "TSAuthenticationSDK.TSNativeBiometricsError", + "usr": "s:19TSAuthenticationSDK23TSNativeBiometricsErrorO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "TSAuthenticationSDK.TSNativeBiometricsError.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "TSNativeBiometricsError", + "printedName": "TSAuthenticationSDK.TSNativeBiometricsError", + "usr": "s:19TSAuthenticationSDK23TSNativeBiometricsErrorO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:19TSAuthenticationSDK23TSNativeBiometricsErrorO12userCanceledyA2CmF", + "mangledName": "$s19TSAuthenticationSDK23TSNativeBiometricsErrorO12userCanceledyA2CmF", + "moduleName": "TSAuthenticationSDK", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "failure", + "printedName": "failure", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(TSAuthenticationSDK.TSNativeBiometricsError.Type) -> TSAuthenticationSDK.TSNativeBiometricsError", + "children": [ + { + "kind": "TypeNominal", + "name": "TSNativeBiometricsError", + "printedName": "TSAuthenticationSDK.TSNativeBiometricsError", + "usr": "s:19TSAuthenticationSDK23TSNativeBiometricsErrorO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "TSAuthenticationSDK.TSNativeBiometricsError.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "TSNativeBiometricsError", + "printedName": "TSAuthenticationSDK.TSNativeBiometricsError", + "usr": "s:19TSAuthenticationSDK23TSNativeBiometricsErrorO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:19TSAuthenticationSDK23TSNativeBiometricsErrorO7failureyA2CmF", + "mangledName": "$s19TSAuthenticationSDK23TSNativeBiometricsErrorO7failureyA2CmF", + "moduleName": "TSAuthenticationSDK", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "lockedOut", + "printedName": "lockedOut", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(TSAuthenticationSDK.TSNativeBiometricsError.Type) -> TSAuthenticationSDK.TSNativeBiometricsError", + "children": [ + { + "kind": "TypeNominal", + "name": "TSNativeBiometricsError", + "printedName": "TSAuthenticationSDK.TSNativeBiometricsError", + "usr": "s:19TSAuthenticationSDK23TSNativeBiometricsErrorO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "TSAuthenticationSDK.TSNativeBiometricsError.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "TSNativeBiometricsError", + "printedName": "TSAuthenticationSDK.TSNativeBiometricsError", + "usr": "s:19TSAuthenticationSDK23TSNativeBiometricsErrorO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:19TSAuthenticationSDK23TSNativeBiometricsErrorO9lockedOutyA2CmF", + "mangledName": "$s19TSAuthenticationSDK23TSNativeBiometricsErrorO9lockedOutyA2CmF", + "moduleName": "TSAuthenticationSDK", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "permissionDenied", + "printedName": "permissionDenied", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(TSAuthenticationSDK.TSNativeBiometricsError.Type) -> TSAuthenticationSDK.TSNativeBiometricsError", + "children": [ + { + "kind": "TypeNominal", + "name": "TSNativeBiometricsError", + "printedName": "TSAuthenticationSDK.TSNativeBiometricsError", + "usr": "s:19TSAuthenticationSDK23TSNativeBiometricsErrorO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "TSAuthenticationSDK.TSNativeBiometricsError.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "TSNativeBiometricsError", + "printedName": "TSAuthenticationSDK.TSNativeBiometricsError", + "usr": "s:19TSAuthenticationSDK23TSNativeBiometricsErrorO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:19TSAuthenticationSDK23TSNativeBiometricsErrorO16permissionDeniedyA2CmF", + "mangledName": "$s19TSAuthenticationSDK23TSNativeBiometricsErrorO16permissionDeniedyA2CmF", + "moduleName": "TSAuthenticationSDK", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "internal", + "printedName": "internal", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(TSAuthenticationSDK.TSNativeBiometricsError.Type) -> ((any Swift.Error)?) -> TSAuthenticationSDK.TSNativeBiometricsError", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "((any Swift.Error)?) -> TSAuthenticationSDK.TSNativeBiometricsError", + "children": [ + { + "kind": "TypeNominal", + "name": "TSNativeBiometricsError", + "printedName": "TSAuthenticationSDK.TSNativeBiometricsError", + "usr": "s:19TSAuthenticationSDK23TSNativeBiometricsErrorO" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "(any Swift.Error)?", "children": [ { "kind": "TypeNominal", @@ -5496,13 +5824,13 @@ { "kind": "TypeNominal", "name": "Metatype", - "printedName": "TSAuthenticationSDK.TSPinCodeError.Type", + "printedName": "TSAuthenticationSDK.TSNativeBiometricsError.Type", "children": [ { "kind": "TypeNominal", - "name": "TSPinCodeError", - "printedName": "TSAuthenticationSDK.TSPinCodeError", - "usr": "s:19TSAuthenticationSDK14TSPinCodeErrorO" + "name": "TSNativeBiometricsError", + "printedName": "TSAuthenticationSDK.TSNativeBiometricsError", + "usr": "s:19TSAuthenticationSDK23TSNativeBiometricsErrorO" } ] } @@ -5510,8 +5838,8 @@ } ], "declKind": "EnumElement", - "usr": "s:19TSAuthenticationSDK14TSPinCodeErrorO8internalyACs0E0_pSgcACmF", - "mangledName": "$s19TSAuthenticationSDK14TSPinCodeErrorO8internalyACs0E0_pSgcACmF", + "usr": "s:19TSAuthenticationSDK23TSNativeBiometricsErrorO8internalyACs0E0_pSgcACmF", + "mangledName": "$s19TSAuthenticationSDK23TSNativeBiometricsErrorO8internalyACs0E0_pSgcACmF", "moduleName": "TSAuthenticationSDK", "declAttributes": [ "RawDocComment" @@ -5530,20 +5858,20 @@ }, { "kind": "TypeNominal", - "name": "TSPinCodeError", - "printedName": "TSAuthenticationSDK.TSPinCodeError", - "usr": "s:19TSAuthenticationSDK14TSPinCodeErrorO" + "name": "TSNativeBiometricsError", + "printedName": "TSAuthenticationSDK.TSNativeBiometricsError", + "usr": "s:19TSAuthenticationSDK23TSNativeBiometricsErrorO" }, { "kind": "TypeNominal", - "name": "TSPinCodeError", - "printedName": "TSAuthenticationSDK.TSPinCodeError", - "usr": "s:19TSAuthenticationSDK14TSPinCodeErrorO" + "name": "TSNativeBiometricsError", + "printedName": "TSAuthenticationSDK.TSNativeBiometricsError", + "usr": "s:19TSAuthenticationSDK23TSNativeBiometricsErrorO" } ], "declKind": "Func", - "usr": "s:19TSAuthenticationSDK14TSPinCodeErrorO2eeoiySbAC_ACtFZ", - "mangledName": "$s19TSAuthenticationSDK14TSPinCodeErrorO2eeoiySbAC_ACtFZ", + "usr": "s:19TSAuthenticationSDK23TSNativeBiometricsErrorO2eeoiySbAC_ACtFZ", + "mangledName": "$s19TSAuthenticationSDK23TSNativeBiometricsErrorO2eeoiySbAC_ACtFZ", "moduleName": "TSAuthenticationSDK", "static": true, "declAttributes": [ @@ -5554,8 +5882,236 @@ } ], "declKind": "Enum", - "usr": "s:19TSAuthenticationSDK14TSPinCodeErrorO", - "mangledName": "$s19TSAuthenticationSDK14TSPinCodeErrorO", + "usr": "s:19TSAuthenticationSDK23TSNativeBiometricsErrorO", + "mangledName": "$s19TSAuthenticationSDK23TSNativeBiometricsErrorO", + "moduleName": "TSAuthenticationSDK", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "conformances": [ + { + "kind": "Conformance", + "name": "Copyable", + "printedName": "Copyable", + "usr": "s:s8CopyableP", + "mangledName": "$ss8CopyableP" + }, + { + "kind": "Conformance", + "name": "Escapable", + "printedName": "Escapable", + "usr": "s:s9EscapableP", + "mangledName": "$ss9EscapableP" + }, + { + "kind": "Conformance", + "name": "Error", + "printedName": "Error", + "usr": "s:s5ErrorP", + "mangledName": "$ss5ErrorP" + }, + { + "kind": "Conformance", + "name": "Sendable", + "printedName": "Sendable", + "usr": "s:s8SendableP", + "mangledName": "$ss8SendableP" + }, + { + "kind": "Conformance", + "name": "Equatable", + "printedName": "Equatable", + "usr": "s:SQ", + "mangledName": "$sSQ" + } + ] + }, + { + "kind": "TypeDecl", + "name": "TSPinCodeError", + "printedName": "TSPinCodeError", + "children": [ + { + "kind": "Var", + "name": "notRegistered", + "printedName": "notRegistered", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(TSAuthenticationSDK.TSPinCodeError.Type) -> TSAuthenticationSDK.TSPinCodeError", + "children": [ + { + "kind": "TypeNominal", + "name": "TSPinCodeError", + "printedName": "TSAuthenticationSDK.TSPinCodeError", + "usr": "s:19TSAuthenticationSDK14TSPinCodeErrorO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "TSAuthenticationSDK.TSPinCodeError.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "TSPinCodeError", + "printedName": "TSAuthenticationSDK.TSPinCodeError", + "usr": "s:19TSAuthenticationSDK14TSPinCodeErrorO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:19TSAuthenticationSDK14TSPinCodeErrorO13notRegisteredyA2CmF", + "mangledName": "$s19TSAuthenticationSDK14TSPinCodeErrorO13notRegisteredyA2CmF", + "moduleName": "TSAuthenticationSDK", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "duplicateCommitRegistration", + "printedName": "duplicateCommitRegistration", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(TSAuthenticationSDK.TSPinCodeError.Type) -> TSAuthenticationSDK.TSPinCodeError", + "children": [ + { + "kind": "TypeNominal", + "name": "TSPinCodeError", + "printedName": "TSAuthenticationSDK.TSPinCodeError", + "usr": "s:19TSAuthenticationSDK14TSPinCodeErrorO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "TSAuthenticationSDK.TSPinCodeError.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "TSPinCodeError", + "printedName": "TSAuthenticationSDK.TSPinCodeError", + "usr": "s:19TSAuthenticationSDK14TSPinCodeErrorO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:19TSAuthenticationSDK14TSPinCodeErrorO27duplicateCommitRegistrationyA2CmF", + "mangledName": "$s19TSAuthenticationSDK14TSPinCodeErrorO27duplicateCommitRegistrationyA2CmF", + "moduleName": "TSAuthenticationSDK", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "internal", + "printedName": "internal", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(TSAuthenticationSDK.TSPinCodeError.Type) -> ((any Swift.Error)?) -> TSAuthenticationSDK.TSPinCodeError", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "((any Swift.Error)?) -> TSAuthenticationSDK.TSPinCodeError", + "children": [ + { + "kind": "TypeNominal", + "name": "TSPinCodeError", + "printedName": "TSAuthenticationSDK.TSPinCodeError", + "usr": "s:19TSAuthenticationSDK14TSPinCodeErrorO" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "(any Swift.Error)?", + "children": [ + { + "kind": "TypeNominal", + "name": "Error", + "printedName": "any Swift.Error", + "usr": "s:s5ErrorP" + } + ], + "usr": "s:Sq" + } + ] + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "TSAuthenticationSDK.TSPinCodeError.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "TSPinCodeError", + "printedName": "TSAuthenticationSDK.TSPinCodeError", + "usr": "s:19TSAuthenticationSDK14TSPinCodeErrorO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:19TSAuthenticationSDK14TSPinCodeErrorO8internalyACs0E0_pSgcACmF", + "mangledName": "$s19TSAuthenticationSDK14TSPinCodeErrorO8internalyACs0E0_pSgcACmF", + "moduleName": "TSAuthenticationSDK", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Function", + "name": "==", + "printedName": "==(_:_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Bool", + "printedName": "Swift.Bool", + "usr": "s:Sb" + }, + { + "kind": "TypeNominal", + "name": "TSPinCodeError", + "printedName": "TSAuthenticationSDK.TSPinCodeError", + "usr": "s:19TSAuthenticationSDK14TSPinCodeErrorO" + }, + { + "kind": "TypeNominal", + "name": "TSPinCodeError", + "printedName": "TSAuthenticationSDK.TSPinCodeError", + "usr": "s:19TSAuthenticationSDK14TSPinCodeErrorO" + } + ], + "declKind": "Func", + "usr": "s:19TSAuthenticationSDK14TSPinCodeErrorO2eeoiySbAC_ACtFZ", + "mangledName": "$s19TSAuthenticationSDK14TSPinCodeErrorO2eeoiySbAC_ACtFZ", + "moduleName": "TSAuthenticationSDK", + "static": true, + "declAttributes": [ + "AccessControl" + ], + "isFromExtension": true, + "funcSelfKind": "NonMutating" + } + ], + "declKind": "Enum", + "usr": "s:19TSAuthenticationSDK14TSPinCodeErrorO", + "mangledName": "$s19TSAuthenticationSDK14TSPinCodeErrorO", "moduleName": "TSAuthenticationSDK", "declAttributes": [ "AccessControl", @@ -5926,6 +6482,13 @@ "printedName": "Escapable", "usr": "s:s9EscapableP", "mangledName": "$ss9EscapableP" + }, + { + "kind": "Conformance", + "name": "Sendable", + "printedName": "Sendable", + "usr": "s:s8SendableP", + "mangledName": "$ss8SendableP" } ] }, @@ -6059,6 +6622,16 @@ "declKind": "Import", "moduleName": "TSAuthenticationSDK" }, + { + "kind": "Import", + "name": "LocalAuthentication", + "printedName": "LocalAuthentication", + "declKind": "Import", + "moduleName": "TSAuthenticationSDK", + "declAttributes": [ + "RawDocComment" + ] + }, { "kind": "Import", "name": "TSCoreSDK", @@ -6372,6 +6945,13 @@ "printedName": "Encodable", "usr": "s:SE", "mangledName": "$sSE" + }, + { + "kind": "Conformance", + "name": "Sendable", + "printedName": "Sendable", + "usr": "s:s8SendableP", + "mangledName": "$ss8SendableP" } ] }, @@ -6678,10 +7258,17 @@ "printedName": "Encodable", "usr": "s:SE", "mangledName": "$sSE" - } - ] - }, - { + }, + { + "kind": "Conformance", + "name": "Sendable", + "printedName": "Sendable", + "usr": "s:s8SendableP", + "mangledName": "$ss8SendableP" + } + ] + }, + { "kind": "TypeDecl", "name": "TSRegistrationContext", "printedName": "TSRegistrationContext", @@ -6869,6 +7456,13 @@ "RawDocComment" ] }, + { + "kind": "Import", + "name": "LocalAuthentication", + "printedName": "LocalAuthentication", + "declKind": "Import", + "moduleName": "TSAuthenticationSDK" + }, { "kind": "Import", "name": "TSCoreSDK", @@ -7014,6 +7608,13 @@ "printedName": "Escapable", "usr": "s:s9EscapableP", "mangledName": "$ss9EscapableP" + }, + { + "kind": "Conformance", + "name": "Sendable", + "printedName": "Sendable", + "usr": "s:s8SendableP", + "mangledName": "$ss8SendableP" } ] }, @@ -7094,6 +7695,13 @@ "printedName": "Escapable", "usr": "s:s9EscapableP", "mangledName": "$ss9EscapableP" + }, + { + "kind": "Conformance", + "name": "Sendable", + "printedName": "Sendable", + "usr": "s:s8SendableP", + "mangledName": "$ss8SendableP" } ] }, @@ -7222,6 +7830,13 @@ "printedName": "Escapable", "usr": "s:s9EscapableP", "mangledName": "$ss9EscapableP" + }, + { + "kind": "Conformance", + "name": "Sendable", + "printedName": "Sendable", + "usr": "s:s8SendableP", + "mangledName": "$ss8SendableP" } ] }, @@ -7433,6 +8048,13 @@ "printedName": "Escapable", "usr": "s:s9EscapableP", "mangledName": "$ss9EscapableP" + }, + { + "kind": "Conformance", + "name": "Sendable", + "printedName": "Sendable", + "usr": "s:s8SendableP", + "mangledName": "$ss8SendableP" } ] }, @@ -7514,6 +8136,13 @@ "printedName": "Escapable", "usr": "s:s9EscapableP", "mangledName": "$ss9EscapableP" + }, + { + "kind": "Conformance", + "name": "Sendable", + "printedName": "Sendable", + "usr": "s:s8SendableP", + "mangledName": "$ss8SendableP" } ] }, @@ -7786,6 +8415,13 @@ "printedName": "Escapable", "usr": "s:s9EscapableP", "mangledName": "$ss9EscapableP" + }, + { + "kind": "Conformance", + "name": "Sendable", + "printedName": "Sendable", + "usr": "s:s8SendableP", + "mangledName": "$ss8SendableP" } ] }, @@ -7997,6 +8633,13 @@ "printedName": "Encodable", "usr": "s:SE", "mangledName": "$sSE" + }, + { + "kind": "Conformance", + "name": "Sendable", + "printedName": "Sendable", + "usr": "s:s8SendableP", + "mangledName": "$ss8SendableP" } ] }, @@ -8125,6 +8768,13 @@ "printedName": "Escapable", "usr": "s:s9EscapableP", "mangledName": "$ss9EscapableP" + }, + { + "kind": "Conformance", + "name": "Sendable", + "printedName": "Sendable", + "usr": "s:s8SendableP", + "mangledName": "$ss8SendableP" } ] }, @@ -8207,6 +8857,13 @@ "printedName": "Escapable", "usr": "s:s9EscapableP", "mangledName": "$ss9EscapableP" + }, + { + "kind": "Conformance", + "name": "Sendable", + "printedName": "Sendable", + "usr": "s:s8SendableP", + "mangledName": "$ss8SendableP" } ] }, @@ -9383,89 +10040,838 @@ "usr": "s:Sq" }, { - "kind": "TypeNominal", - "name": "Optional", - "printedName": "Swift.String?", + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" + } + ], + "declKind": "Constructor", + "usr": "s:19TSAuthenticationSDK18TSWebAuthnUserDataC2id4name11displayNameACSSSg_A2Gtcfc", + "mangledName": "$s19TSAuthenticationSDK18TSWebAuthnUserDataC2id4name11displayNameACSSSg_A2Gtcfc", + "moduleName": "TSAuthenticationSDK", + "declAttributes": [ + "AccessControl" + ], + "init_kind": "Designated" + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init()", + "children": [ + { + "kind": "TypeNominal", + "name": "TSWebAuthnUserData", + "printedName": "TSAuthenticationSDK.TSWebAuthnUserData", + "usr": "c:@M@TSAuthenticationSDK@objc(cs)TSWebAuthnUserData" + } + ], + "declKind": "Constructor", + "usr": "c:@M@TSAuthenticationSDK@objc(cs)TSWebAuthnUserData(im)init", + "mangledName": "$s19TSAuthenticationSDK18TSWebAuthnUserDataCACycfc", + "moduleName": "TSAuthenticationSDK", + "overriding": true, + "implicit": true, + "objc_name": "init", + "declAttributes": [ + "Dynamic", + "ObjC", + "Override" + ], + "init_kind": "Designated" + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(from:)", + "children": [ + { + "kind": "TypeNominal", + "name": "TSWebAuthnUserData", + "printedName": "TSAuthenticationSDK.TSWebAuthnUserData", + "usr": "c:@M@TSAuthenticationSDK@objc(cs)TSWebAuthnUserData" + }, + { + "kind": "TypeNominal", + "name": "Decoder", + "printedName": "any Swift.Decoder", + "usr": "s:s7DecoderP" + } + ], + "declKind": "Constructor", + "usr": "s:19TSAuthenticationSDK18TSWebAuthnUserDataC4fromACs7Decoder_p_tKcfc", + "mangledName": "$s19TSAuthenticationSDK18TSWebAuthnUserDataC4fromACs7Decoder_p_tKcfc", + "moduleName": "TSAuthenticationSDK", + "implicit": true, + "declAttributes": [ + "Required" + ], + "throwing": true, + "init_kind": "Designated" + }, + { + "kind": "Function", + "name": "encode", + "printedName": "encode(to:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "Encoder", + "printedName": "any Swift.Encoder", + "usr": "s:s7EncoderP" + } + ], + "declKind": "Func", + "usr": "s:19TSAuthenticationSDK18TSWebAuthnUserDataC6encode2toys7Encoder_p_tKF", + "mangledName": "$s19TSAuthenticationSDK18TSWebAuthnUserDataC6encode2toys7Encoder_p_tKF", + "moduleName": "TSAuthenticationSDK", + "implicit": true, + "throwing": true, + "funcSelfKind": "NonMutating" + } + ], + "declKind": "Class", + "usr": "c:@M@TSAuthenticationSDK@objc(cs)TSWebAuthnUserData", + "mangledName": "$s19TSAuthenticationSDK18TSWebAuthnUserDataC", + "moduleName": "TSAuthenticationSDK", + "declAttributes": [ + "AccessControl", + "ObjC" + ], + "superclassUsr": "c:objc(cs)NSObject", + "superclassNames": [ + "ObjectiveC.NSObject" + ], + "conformances": [ + { + "kind": "Conformance", + "name": "Decodable", + "printedName": "Decodable", + "usr": "s:Se", + "mangledName": "$sSe" + }, + { + "kind": "Conformance", + "name": "Encodable", + "printedName": "Encodable", + "usr": "s:SE", + "mangledName": "$sSE" + }, + { + "kind": "Conformance", + "name": "Copyable", + "printedName": "Copyable", + "usr": "s:s8CopyableP", + "mangledName": "$ss8CopyableP" + }, + { + "kind": "Conformance", + "name": "Escapable", + "printedName": "Escapable", + "usr": "s:s9EscapableP", + "mangledName": "$ss9EscapableP" + }, + { + "kind": "Conformance", + "name": "Equatable", + "printedName": "Equatable", + "usr": "s:SQ", + "mangledName": "$sSQ" + }, + { + "kind": "Conformance", + "name": "Hashable", + "printedName": "Hashable", + "usr": "s:SH", + "mangledName": "$sSH" + }, + { + "kind": "Conformance", + "name": "CVarArg", + "printedName": "CVarArg", + "usr": "s:s7CVarArgP", + "mangledName": "$ss7CVarArgP" + }, + { + "kind": "Conformance", + "name": "_KeyValueCodingAndObservingPublishing", + "printedName": "_KeyValueCodingAndObservingPublishing", + "usr": "s:10Foundation37_KeyValueCodingAndObservingPublishingP", + "mangledName": "$s10Foundation37_KeyValueCodingAndObservingPublishingP" + }, + { + "kind": "Conformance", + "name": "_KeyValueCodingAndObserving", + "printedName": "_KeyValueCodingAndObserving", + "usr": "s:10Foundation27_KeyValueCodingAndObservingP", + "mangledName": "$s10Foundation27_KeyValueCodingAndObservingP" + }, + { + "kind": "Conformance", + "name": "CustomStringConvertible", + "printedName": "CustomStringConvertible", + "usr": "s:s23CustomStringConvertibleP", + "mangledName": "$ss23CustomStringConvertibleP" + }, + { + "kind": "Conformance", + "name": "CustomDebugStringConvertible", + "printedName": "CustomDebugStringConvertible", + "usr": "s:s28CustomDebugStringConvertibleP", + "mangledName": "$ss28CustomDebugStringConvertibleP" + } + ] + }, + { + "kind": "Import", + "name": "Foundation", + "printedName": "Foundation", + "declKind": "Import", + "moduleName": "TSAuthenticationSDK", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Import", + "name": "TSCoreSDK", + "printedName": "TSCoreSDK", + "declKind": "Import", + "moduleName": "TSAuthenticationSDK" + }, + { + "kind": "Import", + "name": "Foundation", + "printedName": "Foundation", + "declKind": "Import", + "moduleName": "TSAuthenticationSDK", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Import", + "name": "TSCoreSDK", + "printedName": "TSCoreSDK", + "declKind": "Import", + "moduleName": "TSAuthenticationSDK" + }, + { + "kind": "Import", + "name": "Foundation", + "printedName": "Foundation", + "declKind": "Import", + "moduleName": "TSAuthenticationSDK", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Import", + "name": "Foundation", + "printedName": "Foundation", + "declKind": "Import", + "moduleName": "TSAuthenticationSDK", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "TypeDecl", + "name": "TSBiometricType", + "printedName": "TSBiometricType", + "children": [ + { + "kind": "Var", + "name": "faceID", + "printedName": "faceID", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(TSAuthenticationSDK.TSBiometricType.Type) -> TSAuthenticationSDK.TSBiometricType", + "children": [ + { + "kind": "TypeNominal", + "name": "TSBiometricType", + "printedName": "TSAuthenticationSDK.TSBiometricType", + "usr": "s:19TSAuthenticationSDK15TSBiometricTypeO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "TSAuthenticationSDK.TSBiometricType.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "TSBiometricType", + "printedName": "TSAuthenticationSDK.TSBiometricType", + "usr": "s:19TSAuthenticationSDK15TSBiometricTypeO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:19TSAuthenticationSDK15TSBiometricTypeO6faceIDyA2CmF", + "mangledName": "$s19TSAuthenticationSDK15TSBiometricTypeO6faceIDyA2CmF", + "moduleName": "TSAuthenticationSDK", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "touchID", + "printedName": "touchID", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(TSAuthenticationSDK.TSBiometricType.Type) -> TSAuthenticationSDK.TSBiometricType", + "children": [ + { + "kind": "TypeNominal", + "name": "TSBiometricType", + "printedName": "TSAuthenticationSDK.TSBiometricType", + "usr": "s:19TSAuthenticationSDK15TSBiometricTypeO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "TSAuthenticationSDK.TSBiometricType.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "TSBiometricType", + "printedName": "TSAuthenticationSDK.TSBiometricType", + "usr": "s:19TSAuthenticationSDK15TSBiometricTypeO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:19TSAuthenticationSDK15TSBiometricTypeO7touchIDyA2CmF", + "mangledName": "$s19TSAuthenticationSDK15TSBiometricTypeO7touchIDyA2CmF", + "moduleName": "TSAuthenticationSDK", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "opticID", + "printedName": "opticID", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(TSAuthenticationSDK.TSBiometricType.Type) -> TSAuthenticationSDK.TSBiometricType", + "children": [ + { + "kind": "TypeNominal", + "name": "TSBiometricType", + "printedName": "TSAuthenticationSDK.TSBiometricType", + "usr": "s:19TSAuthenticationSDK15TSBiometricTypeO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "TSAuthenticationSDK.TSBiometricType.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "TSBiometricType", + "printedName": "TSAuthenticationSDK.TSBiometricType", + "usr": "s:19TSAuthenticationSDK15TSBiometricTypeO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:19TSAuthenticationSDK15TSBiometricTypeO7opticIDyA2CmF", + "mangledName": "$s19TSAuthenticationSDK15TSBiometricTypeO7opticIDyA2CmF", + "moduleName": "TSAuthenticationSDK", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "none", + "printedName": "none", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(TSAuthenticationSDK.TSBiometricType.Type) -> TSAuthenticationSDK.TSBiometricType", + "children": [ + { + "kind": "TypeNominal", + "name": "TSBiometricType", + "printedName": "TSAuthenticationSDK.TSBiometricType", + "usr": "s:19TSAuthenticationSDK15TSBiometricTypeO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "TSAuthenticationSDK.TSBiometricType.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "TSBiometricType", + "printedName": "TSAuthenticationSDK.TSBiometricType", + "usr": "s:19TSAuthenticationSDK15TSBiometricTypeO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:19TSAuthenticationSDK15TSBiometricTypeO4noneyA2CmF", + "mangledName": "$s19TSAuthenticationSDK15TSBiometricTypeO4noneyA2CmF", + "moduleName": "TSAuthenticationSDK", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Function", + "name": "==", + "printedName": "==(_:_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Bool", + "printedName": "Swift.Bool", + "usr": "s:Sb" + }, + { + "kind": "TypeNominal", + "name": "TSBiometricType", + "printedName": "TSAuthenticationSDK.TSBiometricType", + "usr": "s:19TSAuthenticationSDK15TSBiometricTypeO" + }, + { + "kind": "TypeNominal", + "name": "TSBiometricType", + "printedName": "TSAuthenticationSDK.TSBiometricType", + "usr": "s:19TSAuthenticationSDK15TSBiometricTypeO" + } + ], + "declKind": "Func", + "usr": "s:19TSAuthenticationSDK15TSBiometricTypeO2eeoiySbAC_ACtFZ", + "mangledName": "$s19TSAuthenticationSDK15TSBiometricTypeO2eeoiySbAC_ACtFZ", + "moduleName": "TSAuthenticationSDK", + "static": true, + "implicit": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Var", + "name": "hashValue", + "printedName": "hashValue", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "declKind": "Var", + "usr": "s:19TSAuthenticationSDK15TSBiometricTypeO9hashValueSivp", + "mangledName": "$s19TSAuthenticationSDK15TSBiometricTypeO9hashValueSivp", + "moduleName": "TSAuthenticationSDK", + "implicit": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "declKind": "Accessor", + "usr": "s:19TSAuthenticationSDK15TSBiometricTypeO9hashValueSivg", + "mangledName": "$s19TSAuthenticationSDK15TSBiometricTypeO9hashValueSivg", + "moduleName": "TSAuthenticationSDK", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Function", + "name": "hash", + "printedName": "hash(into:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "Hasher", + "printedName": "Swift.Hasher", + "paramValueOwnership": "InOut", + "usr": "s:s6HasherV" + } + ], + "declKind": "Func", + "usr": "s:19TSAuthenticationSDK15TSBiometricTypeO4hash4intoys6HasherVz_tF", + "mangledName": "$s19TSAuthenticationSDK15TSBiometricTypeO4hash4intoys6HasherVz_tF", + "moduleName": "TSAuthenticationSDK", + "implicit": true, + "funcSelfKind": "NonMutating" + } + ], + "declKind": "Enum", + "usr": "s:19TSAuthenticationSDK15TSBiometricTypeO", + "mangledName": "$s19TSAuthenticationSDK15TSBiometricTypeO", + "moduleName": "TSAuthenticationSDK", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "conformances": [ + { + "kind": "Conformance", + "name": "Copyable", + "printedName": "Copyable", + "usr": "s:s8CopyableP", + "mangledName": "$ss8CopyableP" + }, + { + "kind": "Conformance", + "name": "Escapable", + "printedName": "Escapable", + "usr": "s:s9EscapableP", + "mangledName": "$ss9EscapableP" + }, + { + "kind": "Conformance", + "name": "Equatable", + "printedName": "Equatable", + "usr": "s:SQ", + "mangledName": "$sSQ" + }, + { + "kind": "Conformance", + "name": "Hashable", + "printedName": "Hashable", + "usr": "s:SH", + "mangledName": "$sSH" + } + ] + }, + { + "kind": "TypeDecl", + "name": "TSBiometricStatus", + "printedName": "TSBiometricStatus", + "children": [ + { + "kind": "Var", + "name": "available", + "printedName": "available", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(TSAuthenticationSDK.TSBiometricStatus.Type) -> TSAuthenticationSDK.TSBiometricStatus", + "children": [ + { + "kind": "TypeNominal", + "name": "TSBiometricStatus", + "printedName": "TSAuthenticationSDK.TSBiometricStatus", + "usr": "s:19TSAuthenticationSDK17TSBiometricStatusO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "TSAuthenticationSDK.TSBiometricStatus.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "TSBiometricStatus", + "printedName": "TSAuthenticationSDK.TSBiometricStatus", + "usr": "s:19TSAuthenticationSDK17TSBiometricStatusO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:19TSAuthenticationSDK17TSBiometricStatusO9availableyA2CmF", + "mangledName": "$s19TSAuthenticationSDK17TSBiometricStatusO9availableyA2CmF", + "moduleName": "TSAuthenticationSDK", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "notEnrolled", + "printedName": "notEnrolled", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(TSAuthenticationSDK.TSBiometricStatus.Type) -> TSAuthenticationSDK.TSBiometricStatus", + "children": [ + { + "kind": "TypeNominal", + "name": "TSBiometricStatus", + "printedName": "TSAuthenticationSDK.TSBiometricStatus", + "usr": "s:19TSAuthenticationSDK17TSBiometricStatusO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "TSAuthenticationSDK.TSBiometricStatus.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "TSBiometricStatus", + "printedName": "TSAuthenticationSDK.TSBiometricStatus", + "usr": "s:19TSAuthenticationSDK17TSBiometricStatusO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:19TSAuthenticationSDK17TSBiometricStatusO11notEnrolledyA2CmF", + "mangledName": "$s19TSAuthenticationSDK17TSBiometricStatusO11notEnrolledyA2CmF", + "moduleName": "TSAuthenticationSDK", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "notAvailable", + "printedName": "notAvailable", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(TSAuthenticationSDK.TSBiometricStatus.Type) -> TSAuthenticationSDK.TSBiometricStatus", + "children": [ + { + "kind": "TypeNominal", + "name": "TSBiometricStatus", + "printedName": "TSAuthenticationSDK.TSBiometricStatus", + "usr": "s:19TSAuthenticationSDK17TSBiometricStatusO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "TSAuthenticationSDK.TSBiometricStatus.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "TSBiometricStatus", + "printedName": "TSAuthenticationSDK.TSBiometricStatus", + "usr": "s:19TSAuthenticationSDK17TSBiometricStatusO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:19TSAuthenticationSDK17TSBiometricStatusO12notAvailableyA2CmF", + "mangledName": "$s19TSAuthenticationSDK17TSBiometricStatusO12notAvailableyA2CmF", + "moduleName": "TSAuthenticationSDK", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "permissionDenied", + "printedName": "permissionDenied", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(TSAuthenticationSDK.TSBiometricStatus.Type) -> TSAuthenticationSDK.TSBiometricStatus", "children": [ { "kind": "TypeNominal", - "name": "String", - "printedName": "Swift.String", - "usr": "s:SS" + "name": "TSBiometricStatus", + "printedName": "TSAuthenticationSDK.TSBiometricStatus", + "usr": "s:19TSAuthenticationSDK17TSBiometricStatusO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "TSAuthenticationSDK.TSBiometricStatus.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "TSBiometricStatus", + "printedName": "TSAuthenticationSDK.TSBiometricStatus", + "usr": "s:19TSAuthenticationSDK17TSBiometricStatusO" + } + ] } - ], - "hasDefaultArg": true, - "usr": "s:Sq" + ] } ], - "declKind": "Constructor", - "usr": "s:19TSAuthenticationSDK18TSWebAuthnUserDataC2id4name11displayNameACSSSg_A2Gtcfc", - "mangledName": "$s19TSAuthenticationSDK18TSWebAuthnUserDataC2id4name11displayNameACSSSg_A2Gtcfc", + "declKind": "EnumElement", + "usr": "s:19TSAuthenticationSDK17TSBiometricStatusO16permissionDeniedyA2CmF", + "mangledName": "$s19TSAuthenticationSDK17TSBiometricStatusO16permissionDeniedyA2CmF", "moduleName": "TSAuthenticationSDK", "declAttributes": [ - "AccessControl" - ], - "init_kind": "Designated" + "RawDocComment" + ] }, { - "kind": "Constructor", - "name": "init", - "printedName": "init()", + "kind": "Var", + "name": "lockedOut", + "printedName": "lockedOut", "children": [ { - "kind": "TypeNominal", - "name": "TSWebAuthnUserData", - "printedName": "TSAuthenticationSDK.TSWebAuthnUserData", - "usr": "c:@M@TSAuthenticationSDK@objc(cs)TSWebAuthnUserData" + "kind": "TypeFunc", + "name": "Function", + "printedName": "(TSAuthenticationSDK.TSBiometricStatus.Type) -> TSAuthenticationSDK.TSBiometricStatus", + "children": [ + { + "kind": "TypeNominal", + "name": "TSBiometricStatus", + "printedName": "TSAuthenticationSDK.TSBiometricStatus", + "usr": "s:19TSAuthenticationSDK17TSBiometricStatusO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "TSAuthenticationSDK.TSBiometricStatus.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "TSBiometricStatus", + "printedName": "TSAuthenticationSDK.TSBiometricStatus", + "usr": "s:19TSAuthenticationSDK17TSBiometricStatusO" + } + ] + } + ] } ], - "declKind": "Constructor", - "usr": "c:@M@TSAuthenticationSDK@objc(cs)TSWebAuthnUserData(im)init", - "mangledName": "$s19TSAuthenticationSDK18TSWebAuthnUserDataCACycfc", + "declKind": "EnumElement", + "usr": "s:19TSAuthenticationSDK17TSBiometricStatusO9lockedOutyA2CmF", + "mangledName": "$s19TSAuthenticationSDK17TSBiometricStatusO9lockedOutyA2CmF", "moduleName": "TSAuthenticationSDK", - "overriding": true, - "implicit": true, - "objc_name": "init", "declAttributes": [ - "Dynamic", - "ObjC", - "Override" - ], - "init_kind": "Designated" + "RawDocComment" + ] }, { - "kind": "Constructor", - "name": "init", - "printedName": "init(from:)", + "kind": "Function", + "name": "==", + "printedName": "==(_:_:)", "children": [ { "kind": "TypeNominal", - "name": "TSWebAuthnUserData", - "printedName": "TSAuthenticationSDK.TSWebAuthnUserData", - "usr": "c:@M@TSAuthenticationSDK@objc(cs)TSWebAuthnUserData" + "name": "Bool", + "printedName": "Swift.Bool", + "usr": "s:Sb" }, { "kind": "TypeNominal", - "name": "Decoder", - "printedName": "any Swift.Decoder", - "usr": "s:s7DecoderP" + "name": "TSBiometricStatus", + "printedName": "TSAuthenticationSDK.TSBiometricStatus", + "usr": "s:19TSAuthenticationSDK17TSBiometricStatusO" + }, + { + "kind": "TypeNominal", + "name": "TSBiometricStatus", + "printedName": "TSAuthenticationSDK.TSBiometricStatus", + "usr": "s:19TSAuthenticationSDK17TSBiometricStatusO" } ], - "declKind": "Constructor", - "usr": "s:19TSAuthenticationSDK18TSWebAuthnUserDataC4fromACs7Decoder_p_tKcfc", - "mangledName": "$s19TSAuthenticationSDK18TSWebAuthnUserDataC4fromACs7Decoder_p_tKcfc", + "declKind": "Func", + "usr": "s:19TSAuthenticationSDK17TSBiometricStatusO2eeoiySbAC_ACtFZ", + "mangledName": "$s19TSAuthenticationSDK17TSBiometricStatusO2eeoiySbAC_ACtFZ", "moduleName": "TSAuthenticationSDK", + "static": true, "implicit": true, - "declAttributes": [ - "Required" + "funcSelfKind": "NonMutating" + }, + { + "kind": "Var", + "name": "hashValue", + "printedName": "hashValue", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } ], - "throwing": true, - "init_kind": "Designated" + "declKind": "Var", + "usr": "s:19TSAuthenticationSDK17TSBiometricStatusO9hashValueSivp", + "mangledName": "$s19TSAuthenticationSDK17TSBiometricStatusO9hashValueSivp", + "moduleName": "TSAuthenticationSDK", + "implicit": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "declKind": "Accessor", + "usr": "s:19TSAuthenticationSDK17TSBiometricStatusO9hashValueSivg", + "mangledName": "$s19TSAuthenticationSDK17TSBiometricStatusO9hashValueSivg", + "moduleName": "TSAuthenticationSDK", + "implicit": true, + "accessorKind": "get" + } + ] }, { "kind": "Function", - "name": "encode", - "printedName": "encode(to:)", + "name": "hash", + "printedName": "hash(into:)", "children": [ { "kind": "TypeNominal", @@ -9474,47 +10880,29 @@ }, { "kind": "TypeNominal", - "name": "Encoder", - "printedName": "any Swift.Encoder", - "usr": "s:s7EncoderP" + "name": "Hasher", + "printedName": "Swift.Hasher", + "paramValueOwnership": "InOut", + "usr": "s:s6HasherV" } ], "declKind": "Func", - "usr": "s:19TSAuthenticationSDK18TSWebAuthnUserDataC6encode2toys7Encoder_p_tKF", - "mangledName": "$s19TSAuthenticationSDK18TSWebAuthnUserDataC6encode2toys7Encoder_p_tKF", + "usr": "s:19TSAuthenticationSDK17TSBiometricStatusO4hash4intoys6HasherVz_tF", + "mangledName": "$s19TSAuthenticationSDK17TSBiometricStatusO4hash4intoys6HasherVz_tF", "moduleName": "TSAuthenticationSDK", "implicit": true, - "throwing": true, "funcSelfKind": "NonMutating" } ], - "declKind": "Class", - "usr": "c:@M@TSAuthenticationSDK@objc(cs)TSWebAuthnUserData", - "mangledName": "$s19TSAuthenticationSDK18TSWebAuthnUserDataC", + "declKind": "Enum", + "usr": "s:19TSAuthenticationSDK17TSBiometricStatusO", + "mangledName": "$s19TSAuthenticationSDK17TSBiometricStatusO", "moduleName": "TSAuthenticationSDK", "declAttributes": [ "AccessControl", - "ObjC" - ], - "superclassUsr": "c:objc(cs)NSObject", - "superclassNames": [ - "ObjectiveC.NSObject" + "RawDocComment" ], "conformances": [ - { - "kind": "Conformance", - "name": "Decodable", - "printedName": "Decodable", - "usr": "s:Se", - "mangledName": "$sSe" - }, - { - "kind": "Conformance", - "name": "Encodable", - "printedName": "Encodable", - "usr": "s:SE", - "mangledName": "$sSE" - }, { "kind": "Conformance", "name": "Copyable", @@ -9542,87 +10930,8 @@ "printedName": "Hashable", "usr": "s:SH", "mangledName": "$sSH" - }, - { - "kind": "Conformance", - "name": "CVarArg", - "printedName": "CVarArg", - "usr": "s:s7CVarArgP", - "mangledName": "$ss7CVarArgP" - }, - { - "kind": "Conformance", - "name": "_KeyValueCodingAndObservingPublishing", - "printedName": "_KeyValueCodingAndObservingPublishing", - "usr": "s:10Foundation37_KeyValueCodingAndObservingPublishingP", - "mangledName": "$s10Foundation37_KeyValueCodingAndObservingPublishingP" - }, - { - "kind": "Conformance", - "name": "_KeyValueCodingAndObserving", - "printedName": "_KeyValueCodingAndObserving", - "usr": "s:10Foundation27_KeyValueCodingAndObservingP", - "mangledName": "$s10Foundation27_KeyValueCodingAndObservingP" - }, - { - "kind": "Conformance", - "name": "CustomStringConvertible", - "printedName": "CustomStringConvertible", - "usr": "s:s23CustomStringConvertibleP", - "mangledName": "$ss23CustomStringConvertibleP" - }, - { - "kind": "Conformance", - "name": "CustomDebugStringConvertible", - "printedName": "CustomDebugStringConvertible", - "usr": "s:s28CustomDebugStringConvertibleP", - "mangledName": "$ss28CustomDebugStringConvertibleP" } ] - }, - { - "kind": "Import", - "name": "Foundation", - "printedName": "Foundation", - "declKind": "Import", - "moduleName": "TSAuthenticationSDK", - "declAttributes": [ - "RawDocComment" - ] - }, - { - "kind": "Import", - "name": "TSCoreSDK", - "printedName": "TSCoreSDK", - "declKind": "Import", - "moduleName": "TSAuthenticationSDK" - }, - { - "kind": "Import", - "name": "Foundation", - "printedName": "Foundation", - "declKind": "Import", - "moduleName": "TSAuthenticationSDK", - "declAttributes": [ - "RawDocComment" - ] - }, - { - "kind": "Import", - "name": "TSCoreSDK", - "printedName": "TSCoreSDK", - "declKind": "Import", - "moduleName": "TSAuthenticationSDK" - }, - { - "kind": "Import", - "name": "Foundation", - "printedName": "Foundation", - "declKind": "Import", - "moduleName": "TSAuthenticationSDK", - "declAttributes": [ - "RawDocComment" - ] } ], "json_format_version": 8 @@ -9631,70 +10940,70 @@ { "filePath": "\/Users\/ec2-user\/actions-runner\/_work\/mobile-ios-authentication-sdk\/mobile-ios-authentication-sdk\/mobile-ios-authentication-sdk\/TSAuthenticationSDK\/API\/TSAuthenticationSDK.swift", "kind": "StringLiteral", - "offset": 3811, + "offset": 4249, "length": 18, "value": "\"TransmitSecurity\"" }, { "filePath": "\/Users\/ec2-user\/actions-runner\/_work\/mobile-ios-authentication-sdk\/mobile-ios-authentication-sdk\/mobile-ios-authentication-sdk\/TSAuthenticationSDK\/API\/TSAuthenticationSDK.swift", "kind": "StringLiteral", - "offset": 3970, + "offset": 4408, "length": 34, "value": "\"https:\/\/api.transmitsecurity.io\/\"" }, { "filePath": "\/Users\/ec2-user\/actions-runner\/_work\/mobile-ios-authentication-sdk\/mobile-ios-authentication-sdk\/mobile-ios-authentication-sdk\/TSAuthenticationSDK\/API\/TSAuthenticationSDK.swift", "kind": "Array", - "offset": 7551, + "offset": 7989, "length": 2, "value": "[]" }, { "filePath": "\/Users\/ec2-user\/actions-runner\/_work\/mobile-ios-authentication-sdk\/mobile-ios-authentication-sdk\/mobile-ios-authentication-sdk\/TSAuthenticationSDK\/API\/TSAuthenticationSDK.swift", "kind": "Array", - "offset": 8409, + "offset": 8847, "length": 2, "value": "[]" }, { "filePath": "\/Users\/ec2-user\/actions-runner\/_work\/mobile-ios-authentication-sdk\/mobile-ios-authentication-sdk\/mobile-ios-authentication-sdk\/TSAuthenticationSDK\/API\/TSAuthenticationSDK.swift", "kind": "Array", - "offset": 9175, + "offset": 9613, "length": 2, "value": "[]" }, { "filePath": "\/Users\/ec2-user\/actions-runner\/_work\/mobile-ios-authentication-sdk\/mobile-ios-authentication-sdk\/mobile-ios-authentication-sdk\/TSAuthenticationSDK\/API\/TSAuthenticationSDK.swift", "kind": "Array", - "offset": 10042, + "offset": 10480, "length": 2, "value": "[]" }, { "filePath": "\/Users\/ec2-user\/actions-runner\/_work\/mobile-ios-authentication-sdk\/mobile-ios-authentication-sdk\/mobile-ios-authentication-sdk\/TSAuthenticationSDK\/API\/TSAuthenticationSDK.swift", "kind": "Array", - "offset": 11205, + "offset": 11643, "length": 2, "value": "[]" }, { "filePath": "\/Users\/ec2-user\/actions-runner\/_work\/mobile-ios-authentication-sdk\/mobile-ios-authentication-sdk\/mobile-ios-authentication-sdk\/TSAuthenticationSDK\/API\/TSAuthenticationSDK.swift", "kind": "Array", - "offset": 12404, + "offset": 12842, "length": 2, "value": "[]" }, { "filePath": "\/Users\/ec2-user\/actions-runner\/_work\/mobile-ios-authentication-sdk\/mobile-ios-authentication-sdk\/mobile-ios-authentication-sdk\/TSAuthenticationSDK\/API\/TSAuthenticationSDK.swift", "kind": "IntegerLiteral", - "offset": 25071, + "offset": 27527, "length": 1, "value": "1" }, { "filePath": "\/Users\/ec2-user\/actions-runner\/_work\/mobile-ios-authentication-sdk\/mobile-ios-authentication-sdk\/mobile-ios-authentication-sdk\/TSAuthenticationSDK\/API\/TSAuthenticationSDK.swift", "kind": "IntegerLiteral", - "offset": 25076, + "offset": 27532, "length": 1, "value": "0" }, @@ -9764,21 +11073,21 @@ { "filePath": "\/Users\/ec2-user\/actions-runner\/_work\/mobile-ios-authentication-sdk\/mobile-ios-authentication-sdk\/mobile-ios-authentication-sdk\/TSAuthenticationSDK\/Models\/TSAuthenticationSessionData.swift", "kind": "StringLiteral", - "offset": 217, + "offset": 238, "length": 2, "value": "\"\"" }, { "filePath": "\/Users\/ec2-user\/actions-runner\/_work\/mobile-ios-authentication-sdk\/mobile-ios-authentication-sdk\/mobile-ios-authentication-sdk\/TSAuthenticationSDK\/Models\/TSAuthenticationSessionData.swift", "kind": "StringLiteral", - "offset": 260, + "offset": 281, "length": 2, "value": "\"\"" }, { "filePath": "\/Users\/ec2-user\/actions-runner\/_work\/mobile-ios-authentication-sdk\/mobile-ios-authentication-sdk\/mobile-ios-authentication-sdk\/TSAuthenticationSDK\/Authenticators\/WebAuthn\/WebAuthnAuthenticator.swift", "kind": "BooleanLiteral", - "offset": 833, + "offset": 1002, "length": 5, "value": "false" }, @@ -9848,35 +11157,35 @@ { "filePath": "\/Users\/ec2-user\/actions-runner\/_work\/mobile-ios-authentication-sdk\/mobile-ios-authentication-sdk\/mobile-ios-authentication-sdk\/TSAuthenticationSDK\/Authenticators\/LocalPIN\/AuthenticationDriverLocalPin.swift", "kind": "IntegerLiteral", - "offset": 346, + "offset": 388, "length": 2, "value": "32" }, { "filePath": "\/Users\/ec2-user\/actions-runner\/_work\/mobile-ios-authentication-sdk\/mobile-ios-authentication-sdk\/mobile-ios-authentication-sdk\/TSAuthenticationSDK\/Authenticators\/LocalPIN\/AuthenticationDriverLocalPin.swift", "kind": "IntegerLiteral", - "offset": 393, + "offset": 435, "length": 2, "value": "64" }, { "filePath": "\/Users\/ec2-user\/actions-runner\/_work\/mobile-ios-authentication-sdk\/mobile-ios-authentication-sdk\/mobile-ios-authentication-sdk\/TSAuthenticationSDK\/Authenticators\/LocalPIN\/AuthenticationDriverLocalPin.swift", "kind": "IntegerLiteral", - "offset": 437, + "offset": 479, "length": 2, "value": "32" }, { "filePath": "\/Users\/ec2-user\/actions-runner\/_work\/mobile-ios-authentication-sdk\/mobile-ios-authentication-sdk\/mobile-ios-authentication-sdk\/TSAuthenticationSDK\/Authenticators\/LocalPIN\/AuthenticationDriverLocalPin.swift", "kind": "IntegerLiteral", - "offset": 552, + "offset": 594, "length": 7, "value": "100000" }, { "filePath": "\/Users\/ec2-user\/actions-runner\/_work\/mobile-ios-authentication-sdk\/mobile-ios-authentication-sdk\/mobile-ios-authentication-sdk\/TSAuthenticationSDK\/Authenticators\/LocalPIN\/AuthenticationDriverLocalPin.swift", "kind": "IntegerLiteral", - "offset": 663, + "offset": 705, "length": 1, "value": "1" }, @@ -10394,45 +11703,52 @@ { "filePath": "\/Users\/ec2-user\/actions-runner\/_work\/mobile-ios-authentication-sdk\/mobile-ios-authentication-sdk\/mobile-ios-authentication-sdk\/TSAuthenticationSDK\/Impl\/TSAuthenticationController.swift", "kind": "StringLiteral", - "offset": 250, + "offset": 271, "length": 6, "value": "\"cis\/\"" }, { "filePath": "\/Users\/ec2-user\/actions-runner\/_work\/mobile-ios-authentication-sdk\/mobile-ios-authentication-sdk\/mobile-ios-authentication-sdk\/TSAuthenticationSDK\/Impl\/TSAuthenticationController.swift", "kind": "Array", - "offset": 308, + "offset": 329, "length": 351, "value": "[\"https:\/\/api.idsec-dev.com\/\", \"https:\/\/api.idsec-stg.com\/\", \"https:\/\/api.transmitsecurity.io\/\", \"https:\/\/api.eu.transmitsecurity.io\/\", \"https:\/\/api.ca.transmitsecurity.io\/\", \"https:\/\/api.au.transmitsecurity.io\/\", \"https:\/\/api.sbx.transmitsecurity.io\/\"]" }, { "filePath": "\/Users\/ec2-user\/actions-runner\/_work\/mobile-ios-authentication-sdk\/mobile-ios-authentication-sdk\/mobile-ios-authentication-sdk\/TSAuthenticationSDK\/Types\/TSAuthenticationTypes.swift", "kind": "StringLiteral", - "offset": 967, + "offset": 988, "length": 21, "value": "\"webauthn_session_id\"" }, { "filePath": "\/Users\/ec2-user\/actions-runner\/_work\/mobile-ios-authentication-sdk\/mobile-ios-authentication-sdk\/mobile-ios-authentication-sdk\/TSAuthenticationSDK\/Types\/TSAuthenticationTypes.swift", "kind": "StringLiteral", - "offset": 1030, + "offset": 1051, "length": 29, "value": "\"credential_creation_options\"" }, { "filePath": "\/Users\/ec2-user\/actions-runner\/_work\/mobile-ios-authentication-sdk\/mobile-ios-authentication-sdk\/mobile-ios-authentication-sdk\/TSAuthenticationSDK\/Types\/TSAuthenticationTypes.swift", "kind": "StringLiteral", - "offset": 3904, + "offset": 3946, "length": 21, "value": "\"webauthn_session_id\"" }, { "filePath": "\/Users\/ec2-user\/actions-runner\/_work\/mobile-ios-authentication-sdk\/mobile-ios-authentication-sdk\/mobile-ios-authentication-sdk\/TSAuthenticationSDK\/Types\/TSAuthenticationTypes.swift", "kind": "StringLiteral", - "offset": 3966, + "offset": 4008, "length": 28, "value": "\"credential_request_options\"" }, + { + "filePath": "\/Users\/ec2-user\/actions-runner\/_work\/mobile-ios-authentication-sdk\/mobile-ios-authentication-sdk\/mobile-ios-authentication-sdk\/TSAuthenticationSDK\/Authenticators\/TOTP\/TOTPAuthenticator.swift", + "kind": "StringLiteral", + "offset": 744, + "length": 7, + "value": "\"_type\"" + }, { "filePath": "\/Users\/ec2-user\/actions-runner\/_work\/mobile-ios-authentication-sdk\/mobile-ios-authentication-sdk\/mobile-ios-authentication-sdk\/TSAuthenticationSDK\/Authenticators\/Utils\/Base32.swift", "kind": "Array", diff --git a/Sources/TSAuthenticationSDK.xcframework/ios-arm64_x86_64-simulator/TSAuthenticationSDK.framework/Modules/TSAuthenticationSDK.swiftmodule/x86_64-apple-ios-simulator.private.swiftinterface b/Sources/TSAuthenticationSDK.xcframework/ios-arm64_x86_64-simulator/TSAuthenticationSDK.framework/Modules/TSAuthenticationSDK.swiftmodule/x86_64-apple-ios-simulator.private.swiftinterface index 9434d32..9d94e3a 100644 --- a/Sources/TSAuthenticationSDK.xcframework/ios-arm64_x86_64-simulator/TSAuthenticationSDK.framework/Modules/TSAuthenticationSDK.swiftmodule/x86_64-apple-ios-simulator.private.swiftinterface +++ b/Sources/TSAuthenticationSDK.xcframework/ios-arm64_x86_64-simulator/TSAuthenticationSDK.framework/Modules/TSAuthenticationSDK.swiftmodule/x86_64-apple-ios-simulator.private.swiftinterface @@ -1,6 +1,6 @@ // swift-interface-format-version: 1.0 -// swift-compiler-version: Apple Swift version 6.0.3 effective-5.10 (swiftlang-6.0.3.1.10 clang-1600.0.30.1) -// swift-module-flags: -target x86_64-apple-ios13.0-simulator -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -O -enable-bare-slash-regex -module-name TSAuthenticationSDK +// swift-compiler-version: Apple Swift version 6.0.3 (swiftlang-6.0.3.1.10 clang-1600.0.30.1) +// swift-module-flags: -target x86_64-apple-ios13.0-simulator -enable-objc-interop -enable-library-evolution -swift-version 6 -enforce-exclusivity=checked -O -module-name TSAuthenticationSDK // swift-module-flags-ignorable: -no-verify-emitted-module-interface import AuthenticationServices import CryptoKit @@ -45,6 +45,8 @@ public struct TSAuthenticationConfiguration { public enum TSTOTPSecurityType : Swift.Codable { case biometric case none + case devicePin + case devicePinOrBiometric public static func == (a: TSAuthenticationSDK.TSTOTPSecurityType, b: TSAuthenticationSDK.TSTOTPSecurityType) -> Swift.Bool public func hash(into hasher: inout Swift.Hasher) public func encode(to encoder: any Swift.Encoder) throws @@ -53,13 +55,13 @@ public enum TSTOTPSecurityType : Swift.Codable { } public init(from decoder: any Swift.Decoder) throws } -public struct TSDeviceInfo : Swift.Codable { +public struct TSDeviceInfo : Swift.Codable, @unchecked Swift.Sendable { public let publicKeyId: Swift.String public let publicKey: Swift.String public func encode(to encoder: any Swift.Encoder) throws public init(from decoder: any Swift.Decoder) throws } -@objc @_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers final public class TSAuthentication : ObjectiveC.NSObject, TSCoreSDK.TSLogConfigurable { +@objc @_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers final public class TSAuthentication : ObjectiveC.NSObject, TSCoreSDK.TSLogConfigurable, @unchecked Swift.Sendable { public static let shared: TSAuthenticationSDK.TSAuthentication final public func initialize(baseUrl: Swift.String = "https://api.transmitsecurity.io/", clientId: Swift.String, domain: Swift.String? = nil, initOptions: TSAuthenticationSDK.TSAuthenticationInitOptions? = nil) final public func initializeSDK(configuration: TSAuthenticationSDK.TSAuthenticationConfiguration? = nil) throws @@ -81,17 +83,19 @@ public struct TSDeviceInfo : Swift.Codable { final public func registerPinCode(username: Swift.String, pinCode: Swift.String, completion: @escaping TSAuthenticationSDK.TSPinCodeRegistrationCompletion) final public func registerPinCode(username: Swift.String, pinCode: Swift.String) async throws -> TSAuthenticationSDK.TSPinCodeRegistrationResult final public func authenticatePinCode(username: Swift.String, pinCode: Swift.String, challenge: Swift.String, completion: @escaping TSAuthenticationSDK.TSPinCodeAuthenticationCompletion) + final public func authenticatePinCode(username: Swift.String, pinCode: Swift.String, challenge: Swift.String) async throws -> TSAuthenticationSDK.TSPinCodeAuthenticationResult final public func unregisterPinCode(username: Swift.String, completion: @escaping TSAuthenticationSDK.TSPinCodeUnregistrationCompletion) final public func unregisterPinCode(username: Swift.String) async throws -> TSAuthenticationSDK.TSPinCodeUnregistrationResult - final public func authenticatePinCode(username: Swift.String, pinCode: Swift.String, challenge: Swift.String) async throws -> TSAuthenticationSDK.TSPinCodeAuthenticationResult final public func getDeviceInfo(_ completion: @escaping TSAuthenticationSDK.DeviceInfoCompletion) final public func signWithDeviceKey(challenge: Swift.String, completion: @escaping TSAuthenticationSDK.TSSignChallengeCompletion) public static func isWebAuthnSupported() -> Swift.Bool public static func isNativeBiometricsEnrolled() -> Swift.Bool + public static func nativeBiometricsType() -> TSAuthenticationSDK.TSBiometricType + public static func nativeBiometricsStatus() -> TSAuthenticationSDK.TSBiometricStatus @objc deinit } extension TSAuthenticationSDK.TSAuthentication { - public struct WebAuthnAuthenticationOptions : Swift.OptionSet { + public struct WebAuthnAuthenticationOptions : Swift.OptionSet, @unchecked Swift.Sendable { public let rawValue: Swift.Int public init(rawValue: Swift.Int) public static let preferLocalCredantials: TSAuthenticationSDK.TSAuthentication.WebAuthnAuthenticationOptions @@ -112,7 +116,7 @@ extension TSAuthenticationSDK.TSAuthentication { public func encode(to encoder: any Swift.Encoder) throws required public init(from decoder: any Swift.Decoder) throws } -public enum TSAuthenticationError : Swift.Error { +public enum TSAuthenticationError : Swift.Error, @unchecked Swift.Sendable { case notInitialized case unsupportedOSVersion case requestIsRunning @@ -127,7 +131,7 @@ public enum TSAuthenticationError : Swift.Error { extension TSAuthenticationSDK.TSAuthenticationError : Swift.Equatable { public static func == (lhs: TSAuthenticationSDK.TSAuthenticationError, rhs: TSAuthenticationSDK.TSAuthenticationError) -> Swift.Bool } -public enum TSWebAuthnError { +public enum TSWebAuthnError : @unchecked Swift.Sendable { case canceled case invalidResponse(AuthenticationServices.ASAuthorizationError?) case notHandled(AuthenticationServices.ASAuthorizationError?) @@ -146,6 +150,10 @@ public enum TSTOTPError : Swift.Error { case invalidAlgorithm case invalidPeriod case invalidDigits + case devicePinNotAvailable + case devicePinOrBiometricNotAvailable + case userCanceled + case authenticationFailed case `internal`((any Swift.Error)?) } extension TSAuthenticationSDK.TSTOTPError : Swift.Equatable { @@ -153,7 +161,13 @@ extension TSAuthenticationSDK.TSTOTPError : Swift.Equatable { } public enum TSNativeBiometricsError : Swift.Error { case nativeBiometricsNotAvailable + case nativeBiometricsNotEnrolled case notRegistered + case canceled + case userCanceled + case failure + case lockedOut + case permissionDenied case `internal`((any Swift.Error)?) } extension TSAuthenticationSDK.TSNativeBiometricsError : Swift.Equatable { @@ -173,14 +187,14 @@ extension TSAuthenticationSDK.TSPinCodeError : Swift.Equatable { } @objc deinit } -@_hasMissingDesignatedInitializers final public class TSNativeBiometricsRegistrationResult { +@_hasMissingDesignatedInitializers final public class TSNativeBiometricsRegistrationResult : @unchecked Swift.Sendable { final public let publicKey: Swift.String final public let publicKeyId: Swift.String final public let keyType: Swift.String final public let attestation: Swift.String? @objc deinit } -public struct TSWebAuthnRegistrationData : Swift.Codable { +public struct TSWebAuthnRegistrationData : Swift.Codable, @unchecked Swift.Sendable { public let webauthnSessionId: Swift.String public let credentialCreationOptions: TSAuthenticationSDK.TSWebAuthnCredentialRequestOptionsData public var username: Swift.String? { @@ -191,7 +205,7 @@ public struct TSWebAuthnRegistrationData : Swift.Codable { public func encode(to encoder: any Swift.Encoder) throws public init(from decoder: any Swift.Decoder) throws } -public struct TSWebAuthnAuthenticationData : Swift.Codable { +public struct TSWebAuthnAuthenticationData : Swift.Codable, @unchecked Swift.Sendable { public let webauthnSessionId: Swift.String public let credentialRequestOptions: TSAuthenticationSDK.TSWebAuthnAuthenticationCredentialRequestOptionsData public var username: Swift.String? { @@ -213,32 +227,32 @@ public protocol TSRegistrationContext { public func commit() throws @objc deinit } -@_hasMissingDesignatedInitializers final public class TSAuthenticationResult { +@_hasMissingDesignatedInitializers final public class TSAuthenticationResult : @unchecked Swift.Sendable { final public var result: Swift.String { get } @objc deinit } -@_hasMissingDesignatedInitializers final public class TSNativeBiometricsUnregisterResult { +@_hasMissingDesignatedInitializers final public class TSNativeBiometricsUnregisterResult : @unchecked Swift.Sendable { final public let publicKeyId: Swift.String @objc deinit } -@_hasMissingDesignatedInitializers final public class TSNativeBiometricsAuthenticationResult { +@_hasMissingDesignatedInitializers final public class TSNativeBiometricsAuthenticationResult : @unchecked Swift.Sendable { final public let publicKeyId: Swift.String final public let signature: Swift.String @objc deinit } -@_hasMissingDesignatedInitializers final public class TSTOTPRegistrationResult { +@_hasMissingDesignatedInitializers final public class TSTOTPRegistrationResult : @unchecked Swift.Sendable { final public let issuer: Swift.String? final public let label: Swift.String? final public let uuid: Swift.String @objc deinit } -@_hasMissingDesignatedInitializers final public class TSTOTPGenerateCodeResult { +@_hasMissingDesignatedInitializers final public class TSTOTPGenerateCodeResult : @unchecked Swift.Sendable { final public let code: Swift.String @objc deinit } -@_hasMissingDesignatedInitializers final public class TSPinCodeRegistrationResult { +@_hasMissingDesignatedInitializers final public class TSPinCodeRegistrationResult : @unchecked Swift.Sendable { final public let publicKey: Swift.String final public let publicKeyId: Swift.String final public let keyType: Swift.String @@ -246,19 +260,19 @@ public protocol TSRegistrationContext { final public let registrationContext: TSAuthenticationSDK.TSPinCodeRegistrationContext @objc deinit } -@_hasMissingDesignatedInitializers final public class TSPinCodeAuthenticationResult : Swift.Encodable { +@_hasMissingDesignatedInitializers final public class TSPinCodeAuthenticationResult : Swift.Encodable, @unchecked Swift.Sendable { final public let publicKeyId: Swift.String final public let signature: Swift.String final public let challenge: Swift.String @objc deinit final public func encode(to encoder: any Swift.Encoder) throws } -@_hasMissingDesignatedInitializers final public class TSPinCodeUnregistrationResult { +@_hasMissingDesignatedInitializers final public class TSPinCodeUnregistrationResult : @unchecked Swift.Sendable { final public let publicKeyId: Swift.String final public let unregistrationContext: TSAuthenticationSDK.TSPinCodeUnregistrationContext @objc deinit } -@_hasMissingDesignatedInitializers final public class TSSignChallengeResult { +@_hasMissingDesignatedInitializers final public class TSSignChallengeResult : @unchecked Swift.Sendable { final public let signature: Swift.String @objc deinit } @@ -300,5 +314,32 @@ extension TSAuthenticationSDK.TSAuthentication { public func encode(to encoder: any Swift.Encoder) throws required public init(from decoder: any Swift.Decoder) throws } +public enum TSBiometricType { + case faceID + case touchID + case opticID + case none + public static func == (a: TSAuthenticationSDK.TSBiometricType, b: TSAuthenticationSDK.TSBiometricType) -> Swift.Bool + public func hash(into hasher: inout Swift.Hasher) + public var hashValue: Swift.Int { + get + } +} +public enum TSBiometricStatus { + case available + case notEnrolled + case notAvailable + case permissionDenied + case lockedOut + public static func == (a: TSAuthenticationSDK.TSBiometricStatus, b: TSAuthenticationSDK.TSBiometricStatus) -> Swift.Bool + public func hash(into hasher: inout Swift.Hasher) + public var hashValue: Swift.Int { + get + } +} extension TSAuthenticationSDK.TSTOTPSecurityType : Swift.Equatable {} extension TSAuthenticationSDK.TSTOTPSecurityType : Swift.Hashable {} +extension TSAuthenticationSDK.TSBiometricType : Swift.Equatable {} +extension TSAuthenticationSDK.TSBiometricType : Swift.Hashable {} +extension TSAuthenticationSDK.TSBiometricStatus : Swift.Equatable {} +extension TSAuthenticationSDK.TSBiometricStatus : Swift.Hashable {} diff --git a/Sources/TSAuthenticationSDK.xcframework/ios-arm64_x86_64-simulator/TSAuthenticationSDK.framework/Modules/TSAuthenticationSDK.swiftmodule/x86_64-apple-ios-simulator.swiftdoc b/Sources/TSAuthenticationSDK.xcframework/ios-arm64_x86_64-simulator/TSAuthenticationSDK.framework/Modules/TSAuthenticationSDK.swiftmodule/x86_64-apple-ios-simulator.swiftdoc index 4df51af..dbe8241 100644 Binary files a/Sources/TSAuthenticationSDK.xcframework/ios-arm64_x86_64-simulator/TSAuthenticationSDK.framework/Modules/TSAuthenticationSDK.swiftmodule/x86_64-apple-ios-simulator.swiftdoc and b/Sources/TSAuthenticationSDK.xcframework/ios-arm64_x86_64-simulator/TSAuthenticationSDK.framework/Modules/TSAuthenticationSDK.swiftmodule/x86_64-apple-ios-simulator.swiftdoc differ diff --git a/Sources/TSAuthenticationSDK.xcframework/ios-arm64_x86_64-simulator/TSAuthenticationSDK.framework/Modules/TSAuthenticationSDK.swiftmodule/x86_64-apple-ios-simulator.swiftinterface b/Sources/TSAuthenticationSDK.xcframework/ios-arm64_x86_64-simulator/TSAuthenticationSDK.framework/Modules/TSAuthenticationSDK.swiftmodule/x86_64-apple-ios-simulator.swiftinterface index 9434d32..9d94e3a 100644 --- a/Sources/TSAuthenticationSDK.xcframework/ios-arm64_x86_64-simulator/TSAuthenticationSDK.framework/Modules/TSAuthenticationSDK.swiftmodule/x86_64-apple-ios-simulator.swiftinterface +++ b/Sources/TSAuthenticationSDK.xcframework/ios-arm64_x86_64-simulator/TSAuthenticationSDK.framework/Modules/TSAuthenticationSDK.swiftmodule/x86_64-apple-ios-simulator.swiftinterface @@ -1,6 +1,6 @@ // swift-interface-format-version: 1.0 -// swift-compiler-version: Apple Swift version 6.0.3 effective-5.10 (swiftlang-6.0.3.1.10 clang-1600.0.30.1) -// swift-module-flags: -target x86_64-apple-ios13.0-simulator -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -O -enable-bare-slash-regex -module-name TSAuthenticationSDK +// swift-compiler-version: Apple Swift version 6.0.3 (swiftlang-6.0.3.1.10 clang-1600.0.30.1) +// swift-module-flags: -target x86_64-apple-ios13.0-simulator -enable-objc-interop -enable-library-evolution -swift-version 6 -enforce-exclusivity=checked -O -module-name TSAuthenticationSDK // swift-module-flags-ignorable: -no-verify-emitted-module-interface import AuthenticationServices import CryptoKit @@ -45,6 +45,8 @@ public struct TSAuthenticationConfiguration { public enum TSTOTPSecurityType : Swift.Codable { case biometric case none + case devicePin + case devicePinOrBiometric public static func == (a: TSAuthenticationSDK.TSTOTPSecurityType, b: TSAuthenticationSDK.TSTOTPSecurityType) -> Swift.Bool public func hash(into hasher: inout Swift.Hasher) public func encode(to encoder: any Swift.Encoder) throws @@ -53,13 +55,13 @@ public enum TSTOTPSecurityType : Swift.Codable { } public init(from decoder: any Swift.Decoder) throws } -public struct TSDeviceInfo : Swift.Codable { +public struct TSDeviceInfo : Swift.Codable, @unchecked Swift.Sendable { public let publicKeyId: Swift.String public let publicKey: Swift.String public func encode(to encoder: any Swift.Encoder) throws public init(from decoder: any Swift.Decoder) throws } -@objc @_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers final public class TSAuthentication : ObjectiveC.NSObject, TSCoreSDK.TSLogConfigurable { +@objc @_inheritsConvenienceInitializers @_hasMissingDesignatedInitializers final public class TSAuthentication : ObjectiveC.NSObject, TSCoreSDK.TSLogConfigurable, @unchecked Swift.Sendable { public static let shared: TSAuthenticationSDK.TSAuthentication final public func initialize(baseUrl: Swift.String = "https://api.transmitsecurity.io/", clientId: Swift.String, domain: Swift.String? = nil, initOptions: TSAuthenticationSDK.TSAuthenticationInitOptions? = nil) final public func initializeSDK(configuration: TSAuthenticationSDK.TSAuthenticationConfiguration? = nil) throws @@ -81,17 +83,19 @@ public struct TSDeviceInfo : Swift.Codable { final public func registerPinCode(username: Swift.String, pinCode: Swift.String, completion: @escaping TSAuthenticationSDK.TSPinCodeRegistrationCompletion) final public func registerPinCode(username: Swift.String, pinCode: Swift.String) async throws -> TSAuthenticationSDK.TSPinCodeRegistrationResult final public func authenticatePinCode(username: Swift.String, pinCode: Swift.String, challenge: Swift.String, completion: @escaping TSAuthenticationSDK.TSPinCodeAuthenticationCompletion) + final public func authenticatePinCode(username: Swift.String, pinCode: Swift.String, challenge: Swift.String) async throws -> TSAuthenticationSDK.TSPinCodeAuthenticationResult final public func unregisterPinCode(username: Swift.String, completion: @escaping TSAuthenticationSDK.TSPinCodeUnregistrationCompletion) final public func unregisterPinCode(username: Swift.String) async throws -> TSAuthenticationSDK.TSPinCodeUnregistrationResult - final public func authenticatePinCode(username: Swift.String, pinCode: Swift.String, challenge: Swift.String) async throws -> TSAuthenticationSDK.TSPinCodeAuthenticationResult final public func getDeviceInfo(_ completion: @escaping TSAuthenticationSDK.DeviceInfoCompletion) final public func signWithDeviceKey(challenge: Swift.String, completion: @escaping TSAuthenticationSDK.TSSignChallengeCompletion) public static func isWebAuthnSupported() -> Swift.Bool public static func isNativeBiometricsEnrolled() -> Swift.Bool + public static func nativeBiometricsType() -> TSAuthenticationSDK.TSBiometricType + public static func nativeBiometricsStatus() -> TSAuthenticationSDK.TSBiometricStatus @objc deinit } extension TSAuthenticationSDK.TSAuthentication { - public struct WebAuthnAuthenticationOptions : Swift.OptionSet { + public struct WebAuthnAuthenticationOptions : Swift.OptionSet, @unchecked Swift.Sendable { public let rawValue: Swift.Int public init(rawValue: Swift.Int) public static let preferLocalCredantials: TSAuthenticationSDK.TSAuthentication.WebAuthnAuthenticationOptions @@ -112,7 +116,7 @@ extension TSAuthenticationSDK.TSAuthentication { public func encode(to encoder: any Swift.Encoder) throws required public init(from decoder: any Swift.Decoder) throws } -public enum TSAuthenticationError : Swift.Error { +public enum TSAuthenticationError : Swift.Error, @unchecked Swift.Sendable { case notInitialized case unsupportedOSVersion case requestIsRunning @@ -127,7 +131,7 @@ public enum TSAuthenticationError : Swift.Error { extension TSAuthenticationSDK.TSAuthenticationError : Swift.Equatable { public static func == (lhs: TSAuthenticationSDK.TSAuthenticationError, rhs: TSAuthenticationSDK.TSAuthenticationError) -> Swift.Bool } -public enum TSWebAuthnError { +public enum TSWebAuthnError : @unchecked Swift.Sendable { case canceled case invalidResponse(AuthenticationServices.ASAuthorizationError?) case notHandled(AuthenticationServices.ASAuthorizationError?) @@ -146,6 +150,10 @@ public enum TSTOTPError : Swift.Error { case invalidAlgorithm case invalidPeriod case invalidDigits + case devicePinNotAvailable + case devicePinOrBiometricNotAvailable + case userCanceled + case authenticationFailed case `internal`((any Swift.Error)?) } extension TSAuthenticationSDK.TSTOTPError : Swift.Equatable { @@ -153,7 +161,13 @@ extension TSAuthenticationSDK.TSTOTPError : Swift.Equatable { } public enum TSNativeBiometricsError : Swift.Error { case nativeBiometricsNotAvailable + case nativeBiometricsNotEnrolled case notRegistered + case canceled + case userCanceled + case failure + case lockedOut + case permissionDenied case `internal`((any Swift.Error)?) } extension TSAuthenticationSDK.TSNativeBiometricsError : Swift.Equatable { @@ -173,14 +187,14 @@ extension TSAuthenticationSDK.TSPinCodeError : Swift.Equatable { } @objc deinit } -@_hasMissingDesignatedInitializers final public class TSNativeBiometricsRegistrationResult { +@_hasMissingDesignatedInitializers final public class TSNativeBiometricsRegistrationResult : @unchecked Swift.Sendable { final public let publicKey: Swift.String final public let publicKeyId: Swift.String final public let keyType: Swift.String final public let attestation: Swift.String? @objc deinit } -public struct TSWebAuthnRegistrationData : Swift.Codable { +public struct TSWebAuthnRegistrationData : Swift.Codable, @unchecked Swift.Sendable { public let webauthnSessionId: Swift.String public let credentialCreationOptions: TSAuthenticationSDK.TSWebAuthnCredentialRequestOptionsData public var username: Swift.String? { @@ -191,7 +205,7 @@ public struct TSWebAuthnRegistrationData : Swift.Codable { public func encode(to encoder: any Swift.Encoder) throws public init(from decoder: any Swift.Decoder) throws } -public struct TSWebAuthnAuthenticationData : Swift.Codable { +public struct TSWebAuthnAuthenticationData : Swift.Codable, @unchecked Swift.Sendable { public let webauthnSessionId: Swift.String public let credentialRequestOptions: TSAuthenticationSDK.TSWebAuthnAuthenticationCredentialRequestOptionsData public var username: Swift.String? { @@ -213,32 +227,32 @@ public protocol TSRegistrationContext { public func commit() throws @objc deinit } -@_hasMissingDesignatedInitializers final public class TSAuthenticationResult { +@_hasMissingDesignatedInitializers final public class TSAuthenticationResult : @unchecked Swift.Sendable { final public var result: Swift.String { get } @objc deinit } -@_hasMissingDesignatedInitializers final public class TSNativeBiometricsUnregisterResult { +@_hasMissingDesignatedInitializers final public class TSNativeBiometricsUnregisterResult : @unchecked Swift.Sendable { final public let publicKeyId: Swift.String @objc deinit } -@_hasMissingDesignatedInitializers final public class TSNativeBiometricsAuthenticationResult { +@_hasMissingDesignatedInitializers final public class TSNativeBiometricsAuthenticationResult : @unchecked Swift.Sendable { final public let publicKeyId: Swift.String final public let signature: Swift.String @objc deinit } -@_hasMissingDesignatedInitializers final public class TSTOTPRegistrationResult { +@_hasMissingDesignatedInitializers final public class TSTOTPRegistrationResult : @unchecked Swift.Sendable { final public let issuer: Swift.String? final public let label: Swift.String? final public let uuid: Swift.String @objc deinit } -@_hasMissingDesignatedInitializers final public class TSTOTPGenerateCodeResult { +@_hasMissingDesignatedInitializers final public class TSTOTPGenerateCodeResult : @unchecked Swift.Sendable { final public let code: Swift.String @objc deinit } -@_hasMissingDesignatedInitializers final public class TSPinCodeRegistrationResult { +@_hasMissingDesignatedInitializers final public class TSPinCodeRegistrationResult : @unchecked Swift.Sendable { final public let publicKey: Swift.String final public let publicKeyId: Swift.String final public let keyType: Swift.String @@ -246,19 +260,19 @@ public protocol TSRegistrationContext { final public let registrationContext: TSAuthenticationSDK.TSPinCodeRegistrationContext @objc deinit } -@_hasMissingDesignatedInitializers final public class TSPinCodeAuthenticationResult : Swift.Encodable { +@_hasMissingDesignatedInitializers final public class TSPinCodeAuthenticationResult : Swift.Encodable, @unchecked Swift.Sendable { final public let publicKeyId: Swift.String final public let signature: Swift.String final public let challenge: Swift.String @objc deinit final public func encode(to encoder: any Swift.Encoder) throws } -@_hasMissingDesignatedInitializers final public class TSPinCodeUnregistrationResult { +@_hasMissingDesignatedInitializers final public class TSPinCodeUnregistrationResult : @unchecked Swift.Sendable { final public let publicKeyId: Swift.String final public let unregistrationContext: TSAuthenticationSDK.TSPinCodeUnregistrationContext @objc deinit } -@_hasMissingDesignatedInitializers final public class TSSignChallengeResult { +@_hasMissingDesignatedInitializers final public class TSSignChallengeResult : @unchecked Swift.Sendable { final public let signature: Swift.String @objc deinit } @@ -300,5 +314,32 @@ extension TSAuthenticationSDK.TSAuthentication { public func encode(to encoder: any Swift.Encoder) throws required public init(from decoder: any Swift.Decoder) throws } +public enum TSBiometricType { + case faceID + case touchID + case opticID + case none + public static func == (a: TSAuthenticationSDK.TSBiometricType, b: TSAuthenticationSDK.TSBiometricType) -> Swift.Bool + public func hash(into hasher: inout Swift.Hasher) + public var hashValue: Swift.Int { + get + } +} +public enum TSBiometricStatus { + case available + case notEnrolled + case notAvailable + case permissionDenied + case lockedOut + public static func == (a: TSAuthenticationSDK.TSBiometricStatus, b: TSAuthenticationSDK.TSBiometricStatus) -> Swift.Bool + public func hash(into hasher: inout Swift.Hasher) + public var hashValue: Swift.Int { + get + } +} extension TSAuthenticationSDK.TSTOTPSecurityType : Swift.Equatable {} extension TSAuthenticationSDK.TSTOTPSecurityType : Swift.Hashable {} +extension TSAuthenticationSDK.TSBiometricType : Swift.Equatable {} +extension TSAuthenticationSDK.TSBiometricType : Swift.Hashable {} +extension TSAuthenticationSDK.TSBiometricStatus : Swift.Equatable {} +extension TSAuthenticationSDK.TSBiometricStatus : Swift.Hashable {} diff --git a/Sources/TSAuthenticationSDK.xcframework/ios-arm64_x86_64-simulator/TSAuthenticationSDK.framework/TSAuthenticationSDK b/Sources/TSAuthenticationSDK.xcframework/ios-arm64_x86_64-simulator/TSAuthenticationSDK.framework/TSAuthenticationSDK index 359cb72..98e768d 100755 Binary files a/Sources/TSAuthenticationSDK.xcframework/ios-arm64_x86_64-simulator/TSAuthenticationSDK.framework/TSAuthenticationSDK and b/Sources/TSAuthenticationSDK.xcframework/ios-arm64_x86_64-simulator/TSAuthenticationSDK.framework/TSAuthenticationSDK differ diff --git a/Sources/TSAuthenticationSDK.xcframework/ios-arm64_x86_64-simulator/TSAuthenticationSDK.framework/_CodeSignature/CodeResources b/Sources/TSAuthenticationSDK.xcframework/ios-arm64_x86_64-simulator/TSAuthenticationSDK.framework/_CodeSignature/CodeResources index 9b05919..cddd6d5 100644 --- a/Sources/TSAuthenticationSDK.xcframework/ios-arm64_x86_64-simulator/TSAuthenticationSDK.framework/_CodeSignature/CodeResources +++ b/Sources/TSAuthenticationSDK.xcframework/ios-arm64_x86_64-simulator/TSAuthenticationSDK.framework/_CodeSignature/CodeResources @@ -4,9 +4,13 @@ files + CHANGELOG.md + + 03NzjiqRiApBtrlj6hBj1X4rZcA= + Headers/TSAuthenticationSDK-Swift.h - OAbI7NIt5TfbLFrIW16ETvlbNpU= + O8Xgtwgi8ulJpAYgabx7R4+mvrY= Headers/TSAuthenticationSDK.h @@ -14,51 +18,51 @@ Headers/TSAuthenticationSDK.swift - nXLrYzTPrETdUpaPnxqxLV7bVh8= + +DlDpOqUIcxxXP8qvzPail8PduY= Info.plist - +QyA1+logNVTnmLxQ7h5aQb2mUE= + yFwACbPu+oi4yx2bzOj44t+r8Aw= Modules/TSAuthenticationSDK.swiftmodule/arm64-apple-ios-simulator.abi.json - 3Apx4pymua6uj/PSzUax3TFTOKQ= + P9nNPboulcTmX9ZPaBfUm42d1AA= Modules/TSAuthenticationSDK.swiftmodule/arm64-apple-ios-simulator.private.swiftinterface - hQUmB5vXkb8HltScW/xBRRg2LZY= + 81+e5EsAtONkrG9QlUrwaH6S2G8= Modules/TSAuthenticationSDK.swiftmodule/arm64-apple-ios-simulator.swiftdoc - fIcWoxSmYESTGd0wP4DDs4qZ4Sg= + IoC8s+YGdTkijAD/+OVB1+05hI4= Modules/TSAuthenticationSDK.swiftmodule/arm64-apple-ios-simulator.swiftinterface - hQUmB5vXkb8HltScW/xBRRg2LZY= + 81+e5EsAtONkrG9QlUrwaH6S2G8= Modules/TSAuthenticationSDK.swiftmodule/arm64-apple-ios-simulator.swiftmodule - Tl0DXHsjGzYoFFyq72Rx7XzsPk8= + u32Qkacj33vAbeu7qUSi7Tnb+3k= Modules/TSAuthenticationSDK.swiftmodule/x86_64-apple-ios-simulator.abi.json - 3Apx4pymua6uj/PSzUax3TFTOKQ= + P9nNPboulcTmX9ZPaBfUm42d1AA= Modules/TSAuthenticationSDK.swiftmodule/x86_64-apple-ios-simulator.private.swiftinterface - HkHWbV6wXxe+WSQbd4E3qOHXZHw= + b6ogJgbFnTumHpjvAY1R2De32aw= Modules/TSAuthenticationSDK.swiftmodule/x86_64-apple-ios-simulator.swiftdoc - gfFkS50L4mYnWOjajRQe9cbLxcQ= + PuAwCJHSylta5eXjbntlHY8fgrY= Modules/TSAuthenticationSDK.swiftmodule/x86_64-apple-ios-simulator.swiftinterface - HkHWbV6wXxe+WSQbd4E3qOHXZHw= + b6ogJgbFnTumHpjvAY1R2De32aw= Modules/TSAuthenticationSDK.swiftmodule/x86_64-apple-ios-simulator.swiftmodule - KmfgYHnvFoIaYk6haa0/vVnehrM= + H12n1/DSFzTdKnBKlLrPGR54tCU= Modules/module.modulemap @@ -70,16 +74,23 @@ version - ec4n7aRff7z+3/XiNgVW+WrL0mo= + xU5Xf+VpcduTViXA0ZmLNXit5ts= files2 + CHANGELOG.md + + hash2 + + jEQlQ+Af1xMxhNpi7ldj2Q3fTJP+yOjwwP+uSI4BDG8= + + Headers/TSAuthenticationSDK-Swift.h hash2 - Edtci+t/HZ7gbc1/yMRb45v0PdYjtGXcx5NsN8r6w3o= + hJvsvXdxZu9VJnN12iM9ipWgtAMMYyldvgCaj0PuHw4= Headers/TSAuthenticationSDK.h @@ -93,77 +104,77 @@ hash2 - vAnZvLiDScDS/V1VmtE9iANf3zFY9gVFiepVE2NtBKQ= + 4kZvsCMHlM3asihHAHhazPEEgJcN52hoPLmWlmxwMl8= Modules/TSAuthenticationSDK.swiftmodule/arm64-apple-ios-simulator.abi.json hash2 - L5o8WIYrBgF55bJfGTXK02zW5Z8DCh6veO0Mw1U0awg= + ej+1jaoOMMmEPn1i1HtsFiA7evrQPn6K25VrzlWg5zc= Modules/TSAuthenticationSDK.swiftmodule/arm64-apple-ios-simulator.private.swiftinterface hash2 - mPccXOXKDOKgvx9q7D2k2RICUyX890AKjtxKxTB5UnQ= + 4UDnh0+6vRrFeTMDaBWulNaSxveinUZZeZZCYOPxcgY= Modules/TSAuthenticationSDK.swiftmodule/arm64-apple-ios-simulator.swiftdoc hash2 - Xa2Hl1jpsLylkVVeQ7LFSwGC0RHDSB6CyuEwruBG4Ao= + hE+T43T+c4FnWgUp9zPbW0B98UnabX+PtcHzar8UTkU= Modules/TSAuthenticationSDK.swiftmodule/arm64-apple-ios-simulator.swiftinterface hash2 - mPccXOXKDOKgvx9q7D2k2RICUyX890AKjtxKxTB5UnQ= + 4UDnh0+6vRrFeTMDaBWulNaSxveinUZZeZZCYOPxcgY= Modules/TSAuthenticationSDK.swiftmodule/arm64-apple-ios-simulator.swiftmodule hash2 - JI5rhCcSFJaxT2X9D1vAyEJNnT18Wwuv+epmyJeBb3M= + YtHmUGMQa9nlL/rzB7lbygvL/bpdQoC1hgeWqA0W3Ec= Modules/TSAuthenticationSDK.swiftmodule/x86_64-apple-ios-simulator.abi.json hash2 - L5o8WIYrBgF55bJfGTXK02zW5Z8DCh6veO0Mw1U0awg= + ej+1jaoOMMmEPn1i1HtsFiA7evrQPn6K25VrzlWg5zc= Modules/TSAuthenticationSDK.swiftmodule/x86_64-apple-ios-simulator.private.swiftinterface hash2 - gE0zq0FJbb2qPhGvULSy9ez5lpv6HA4JgcH3wmTV8+U= + zJOcNFNg+7MtjcIiWm06EdgcrOdmVyjaKr9XwoYc3iQ= Modules/TSAuthenticationSDK.swiftmodule/x86_64-apple-ios-simulator.swiftdoc hash2 - OoCDwF/rYWKnnvMOjO6ZEs23jj1Qu8TQeqH3y8PmV30= + bAdu35ytD9vvTPTncTlK0anuO5gtcjEo0d+98CAnSsQ= Modules/TSAuthenticationSDK.swiftmodule/x86_64-apple-ios-simulator.swiftinterface hash2 - gE0zq0FJbb2qPhGvULSy9ez5lpv6HA4JgcH3wmTV8+U= + zJOcNFNg+7MtjcIiWm06EdgcrOdmVyjaKr9XwoYc3iQ= Modules/TSAuthenticationSDK.swiftmodule/x86_64-apple-ios-simulator.swiftmodule hash2 - DvIL967FbtMtIxNvOrKGt1SCPsWlKm31mWki4R5Z4oY= + Y9S5yEfPvc4eliEjfEJJXRVzwSEnp4FWxsadaMtjO9k= Modules/module.modulemap @@ -184,7 +195,7 @@ hash2 - 9eOVoIA5dO/goG7u7Mg+bD1RrRYJ9eGNxd/8zil73Tg= + oMhsda6ukjEBxr09LES6FRevnqbjaWe5/9w3Oic6YTo= diff --git a/Sources/TSAuthenticationSDK.xcframework/ios-arm64_x86_64-simulator/TSAuthenticationSDK.framework/version b/Sources/TSAuthenticationSDK.xcframework/ios-arm64_x86_64-simulator/TSAuthenticationSDK.framework/version index 07ef1f4..5530d05 100644 --- a/Sources/TSAuthenticationSDK.xcframework/ios-arm64_x86_64-simulator/TSAuthenticationSDK.framework/version +++ b/Sources/TSAuthenticationSDK.xcframework/ios-arm64_x86_64-simulator/TSAuthenticationSDK.framework/version @@ -1 +1 @@ -1.1.16 4c24f29 +1.2.1 4e4def4 diff --git a/package.json b/package.json index 84dc60f..539e638 100644 --- a/package.json +++ b/package.json @@ -1,9 +1,9 @@ { "name": "TSAuthentication", - "version": "1.1.16", + "version": "1.2.1", "homepage": "https://github.com/TransmitSecurity/authentication-ios-sdk", "summary": "The WebAuthn SDK is a client-side SDK that allows you to easily login users with biometrics based on the Transmit WebAuthn APIs.", "source": "https://github.com/TransmitSecurity/authentication-ios-sdk.git", "deployment_target": "13.0", - "core_sdk_version": "1.0.31" + "core_sdk_version": "1.1.5" }