jldavid / localauthenticationwithkeychain Goto Github PK
View Code? Open in Web Editor NEWAccessing Keychain Items with Face ID or Touch ID. When you store a secure item like a password or a private key in the keychain, you dictate the conditions under which that item can be accessed later. Among other things, you can tell keychain services that every time it tries to read the item, it should first seek the user’s permission—for example, by authenticating the user biometrically with Face ID or Touch ID. You rely on both the Security and LocalAuthentication frameworks to enable this behavior.