LocalAuthentication macOS 12.3 to 13.0 API Differences

LAError.h
Modified LAErrorDomain
Declaration
FromNSString *const _Nonnull LAErrorDomain
ToAPI_UNAVAILABLE(tvos) NSString *const LAErrorDomain

LAPersistedRight.h
Added LAPersistedRight
Added LAPersistedRight.key
Added LAPersistedRight.secret
LAPrivateKey.h
Added LAPrivateKey
Added LAPrivateKey.publicKey
Added -[LAPrivateKey signData:secKeyAlgorithm:completion:]
Added -[LAPrivateKey canSignUsingSecKeyAlgorithm:]
Added -[LAPrivateKey decryptData:secKeyAlgorithm:completion:]
Added -[LAPrivateKey canDecryptUsingSecKeyAlgorithm:]
Added -[LAPrivateKey exchangeKeysWithPublicKey:secKeyAlgorithm:secKeyParameters:completion:]
Added -[LAPrivateKey canExchangeKeysUsingSecKeyAlgorithm:]
LAPublicDefines.h
Added #def kLAPolicyDeviceOwnerAuthenticationWithWristDetection
LAPublicKey.h
Added LAPublicKey
Added -[LAPublicKey exportBytesWithCompletion:]
Added -[LAPublicKey encryptData:secKeyAlgorithm:completion:]
Added -[LAPublicKey canEncryptUsingSecKeyAlgorithm:]
Added -[LAPublicKey verifyData:signature:secKeyAlgorithm:completion:]
Added -[LAPublicKey canVerifyUsingSecKeyAlgorithm:]
LARequirement.h
Added LAAuthenticationRequirement
Added LAAuthenticationRequirement.defaultRequirement
Added LAAuthenticationRequirement.biometryRequirement
Added LAAuthenticationRequirement.biometryCurrentSetRequirement
Added +[LAAuthenticationRequirement biometryRequirementWithFallback:]
Added LABiometryFallbackRequirement
Added LABiometryFallbackRequirement.defaultRequirement
Added LABiometryFallbackRequirement.devicePasscodeRequirement
LARight.h
Added LARightState
Added LARightStateUnknown
Added LARightStateAuthorizing
Added LARightStateAuthorized
Added LARightStateNotAuthorized
Added LARight
Added LARight.state
Added LARight.tag
Added -[LARight init]
Added -[LARight initWithRequirement:]
Added -[LARight authorizeWithLocalizedReason:completion:]
Added -[LARight checkCanAuthorizeWithCompletion:]
Added -[LARight deauthorizeWithCompletion:]
LARightStore.h
Added LARightStore
Added LARightStore.sharedStore
Added -[LARightStore rightForIdentifier:completion:]
Added -[LARightStore saveRight:identifier:completion:]
Added -[LARightStore saveRight:identifier:secret:completion:]
Added -[LARightStore removeRight:completion:]
Added -[LARightStore removeRightForIdentifier:completion:]
Added -[LARightStore removeAllRightsWithCompletion:]
LASecret.h
Added LASecret
Added -[LASecret loadDataWithCompletion:]