Skip to content

Make a portable biometric authentication of your application!

License

Notifications You must be signed in to change notification settings

ssowri1/SPTouchID

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SPTouchID

CI Status Version License Platform

Screenshot

Example

To run the example project, clone the repo, and run pod install from the Example directory first.

        //**** REQUIRED ****//
        /// biometric class instance
        var biometricAuth = SPAuthentication()
        biometricAuth.delegate = self
        biometricAuth.start()
        
        // MARK:- Authentication delegates
        
    extension SPTouchIDViewController: LocalAuthDelegate {
    func authenticationFinished(string: String) {
        DispatchQueue.main.async {
          self.promtLabel.text = ""
          self.validationPassed()
        }
    }
    func authenticationFinishedWithError(error: String) {
        DispatchQueue.main.async {
          self.promtLabel.text = error
        }
      }
    }

Requirements

Installation

SPTouchID is available through CocoaPods. To install it, simply add the following line to your Podfile:

pod 'SPTouchID','~> 0.1.7'

Author

ssowri1, ssowri1@gmail.com

License

SPTouchID is available under the MIT license. See the LICENSE file for more info.

About

Make a portable biometric authentication of your application!

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published