Authentication
class Authentication
Undocumented
-
To check that device has secure enclave or not
Declaration
Swift
public static var hasSecureEnclave: Bool { get }
-
To Check that this is this simulator
Declaration
Swift
public static var isSimulator: Bool { get }
-
Undocumented
Declaration
Swift
static func getErrorDescription(errorCode: Int) -> String
-
Undocumented
Declaration
Swift
static func authenticateOwnerByPasscode(_ callback: @escaping (Error?) -> Void)
-
Undocumented
Declaration
Swift
static func authenticateOwner(_ callback: @escaping (Error?) -> Void)
-
Undocumented
Declaration
Swift
static func createRootKey(areYouSure: Bool) throws -> Data
-
Undocumented
Declaration
Swift
static func getPublicRootKey(_ callback: @escaping (Error?, Data?) -> Void)
-
Undocumented
Declaration
Swift
static func getPublicRootKeySync() throws -> Data
-
Undocumented
Declaration
Swift
static func createOwnerAndDBKey() throws
-
Undocumented
Declaration
Swift
static func setOwnerAndDBKey(privateKey: String, publicKey: String, dbKey: String) throws
-
Undocumented
Declaration
Swift
static func getOwnerAndDBKey(_ callback: @escaping (Error?, String?, String?) -> Void)