{"id":1931,"url":"https://github.com/vasilenkoigor/BiometricAuth","last_synced_at":"2025-08-02T05:33:14.241Z","repository":{"id":56903698,"uuid":"75130083","full_name":"vasilenkoigor/BiometricAuth","owner":"vasilenkoigor","description":"Framework for biometric authentication (via TouchID) in your application","archived":false,"fork":false,"pushed_at":"2017-09-22T22:09:12.000Z","size":207,"stargazers_count":27,"open_issues_count":0,"forks_count":4,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-07-07T01:05:30.556Z","etag":null,"topics":["biometrics","touchid"],"latest_commit_sha":null,"homepage":"","language":"Swift","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/vasilenkoigor.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2016-11-29T23:00:29.000Z","updated_at":"2023-04-20T11:56:34.000Z","dependencies_parsed_at":"2022-08-21T01:50:49.370Z","dependency_job_id":null,"html_url":"https://github.com/vasilenkoigor/BiometricAuth","commit_stats":null,"previous_names":[],"tags_count":6,"template":false,"template_full_name":null,"purl":"pkg:github/vasilenkoigor/BiometricAuth","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vasilenkoigor%2FBiometricAuth","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vasilenkoigor%2FBiometricAuth/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vasilenkoigor%2FBiometricAuth/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vasilenkoigor%2FBiometricAuth/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/vasilenkoigor","download_url":"https://codeload.github.com/vasilenkoigor/BiometricAuth/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vasilenkoigor%2FBiometricAuth/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":268339405,"owners_count":24234544,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-08-02T02:00:12.353Z","response_time":74,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["biometrics","touchid"],"created_at":"2024-01-05T20:15:59.258Z","updated_at":"2025-08-02T05:33:13.910Z","avatar_url":"https://github.com/vasilenkoigor.png","language":"Swift","funding_links":[],"categories":["Security"],"sub_categories":["Unofficial","Other free courses"],"readme":"![](Logo/logo.png)\n\n[![GitHub release](https://img.shields.io/github/release/vasilenkoigor/BiometricAuth.svg)](https://github.com/vasilenkoigor/BiometricAuth/releases) [![CocoaPods](https://img.shields.io/cocoapods/v/BiometricAuth.svg)](https://github.com/vasilenkoigor/BiometricAuth/releases) [![Carthage Compatible](https://img.shields.io/badge/Carthage-compatible-4BC51D.svg?style=flat)](https://github.com/Carthage/Carthage) ![Swift 4.0.x](https://img.shields.io/badge/Swift-4.0.x-orange.svg) ![platforms](https://img.shields.io/badge/platforms-iOS%20%7C%20OS-lightgrey.svg) [![GitHub license](https://img.shields.io/badge/license-MIT-blue.svg)](https://raw.githubusercontent.com/vasilenkoigor/BiometricAuth/master/LICENSE)\n\n- [Features](#features)\n- [Requirements](#requirements)\n- [Communication](#communication)\n- [Installation](#installation)\n- [Usage](#usage)\n    - [Intro](#intro)\n    - [Biometric authentication availability](#biometric-authentication-availability)\n    - [Feature enabled/disabled for biometric authentication](#feature-availability-for-biometric-authentication)\n    - [Authenticating](#authenticating)\n- [License](#license)\n\n## Features\n\n- [x] Force failure authentication if was added new fingerprint to device. This feature for security considerations.\n- [x] Saving features list that's needs authentication via TouchID\n\n## Requirements\n\n- iOS 9.0+ / macOS 10.12+\n- Xcode 8.1+\n- Swift 4.0+\n\n## Communication\n\n- If you **found a bug**, open an issue.\n- If you **have a feature request**, open an issue.\n- If you **want to contribute**, submit a pull request.\n\n## Installation\n\n### CocoaPods\n\n[CocoaPods](http://cocoapods.org) is a dependency manager for Cocoa projects. You can install it with the following command:\n\n```bash\n$ gem install cocoapods\n```\n\nTo integrate BiometricAuth into your Xcode project using CocoaPods, specify it in your `Podfile`:\n\n```ruby\nplatform :ios, '9.0'\nuse_frameworks!\n\ntarget '\u003cYour Target Name\u003e' do\n    pod 'BiometricAuth'\nend\n```\n\nThen, run the following command:\n\n```bash\n$ pod install\n```\n\n### Carthage\n\n[Carthage](https://github.com/Carthage/Carthage) is a decentralized dependency manager that builds your dependencies and provides you with binary frameworks.\n\nYou can install Carthage with [Homebrew](http://brew.sh/) using the following command:\n\n```bash\n$ brew update\n$ brew install carthage\n```\n\nTo integrate BiometricAuth into your Xcode project using Carthage, specify it in your `Cartfile`:\n\n```ogdl\ngithub \"vasilenkoigor/BiometricAuth\"\n```\n\nRun `carthage update` to build the framework and drag the built `BiometricAuth.framework` into your Xcode project.\n\n## Usage\n\n### Intro\n\nIn security cosiderations strongly recommented enable `forceThrowsOnChangedDomainState`\n```swift\nlet biometricAuth = BiometricAuth(forceThrowsOnChangedDomainState: true)\n```\n\n### Biometric authentication availability\n\n```swift\ndo {\n    try self.biometricAuth.isAvailable()\n} catch let error as BiometricAuthError {\n    print(error.localizedDescription)\n} catch {\n    print(\"Something went wrong\")\n}\n```\n\n### Feature enabled/disabled for biometric authentication\n\n```swift\nlet feature = \"Passcode Screen Auth\"\n\ndo {\n    try self.biometricAuth.enableAuthentication(forFeature: feature)\n} catch let error as BiometricAuthError {\n    print(error.localizedDescription)\n} catch {\n    print(\"Something went wrong\")\n}\n```\n\n### Authenticating\n\n```swift\nself.biometricAuth.requestAuthentication(forFeature: feature, reason: \"Reason\", completion: { (result, error) in\n    if result {\n        print(\"Success\")\n    }\n})\n```\n\n## License\n\nBiometricAuth is released under the MIT license. See LICENSE for details.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvasilenkoigor%2FBiometricAuth","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvasilenkoigor%2FBiometricAuth","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvasilenkoigor%2FBiometricAuth/lists"}