{"id":18373081,"url":"https://github.com/praneetneuro/authxkit","last_synced_at":"2025-04-13T23:32:35.711Z","repository":{"id":130432773,"uuid":"372833993","full_name":"PraneetNeuro/AuthxKit","owner":"PraneetNeuro","description":"Swift package for using biometric authentication services for iOS, iPadOS and macOS in a simple and elegant way","archived":false,"fork":false,"pushed_at":"2021-06-01T15:33:49.000Z","size":16,"stargazers_count":5,"open_issues_count":0,"forks_count":0,"subscribers_count":4,"default_branch":"main","last_synced_at":"2025-03-27T13:45:34.943Z","etag":null,"topics":["authentication","biometric-authentication","faceid","ios","ipados","macos","passcode","password","swift","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/PraneetNeuro.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-06-01T13:09:26.000Z","updated_at":"2024-08-17T15:33:56.000Z","dependencies_parsed_at":null,"dependency_job_id":"8df4463e-3238-4800-98d9-5733359f4e6d","html_url":"https://github.com/PraneetNeuro/AuthxKit","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PraneetNeuro%2FAuthxKit","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PraneetNeuro%2FAuthxKit/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PraneetNeuro%2FAuthxKit/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PraneetNeuro%2FAuthxKit/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/PraneetNeuro","download_url":"https://codeload.github.com/PraneetNeuro/AuthxKit/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248796721,"owners_count":21163019,"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","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":["authentication","biometric-authentication","faceid","ios","ipados","macos","passcode","password","swift","touchid"],"created_at":"2024-11-06T00:08:33.142Z","updated_at":"2025-04-13T23:32:35.688Z","avatar_url":"https://github.com/PraneetNeuro.png","language":"Swift","funding_links":[],"categories":[],"sub_categories":[],"readme":"# AuthxKit\nSwift package for using biometric authentication services for iOS, iPadOS and macOS in a simple and elegant way\n\n## Check if device has support for biometric authentication\n```swift\nimport AuthxKit\n\nif AuthxKit.shared.canUseBiometrics {\n      // Do something\n} else {\n      // Fallback\n}\n```\n### Use biometric authentication\nNote: To use FaceID: add the key \"Privacy - Face ID Usage Description\" to your app's info.plist\n```swift\nimport AuthxKit\n\nAuthxKit.shared.authenticateUsingBiometrics(authenticationMessage: \"Perform biometric authentication to proceed\", completion: {\n      isAuthenticated, _ in\n      if isAuthenticated {\n//          Perform action awaiting authentication\n      } else {\n//          Perform action in case of failed authentication\n      }\n})\n```\n### Use Apple Watch authentication (only available for macOS)\n```swift\nimport AuthxKit\n\nAuthxKit.shared.authenticateUsingWatch(authenticationMessage: \"Perform authentication using Apple Watch\") {\n      isAuthenticated, error in\n      if isAuthenticated {\n//          Perform action awaiting authentication\n      } else {\n//          Perform action in case of failed authentication\n      }\n}\n```\n### Use password / passcode authentication\n```swift\nimport AuthxKit\n\nAuthxKit.shared.authenticateUsingUserSetSecretKey(authenticationMessage: \"Perform authentication using password / passcode\") {\n      isAuthenticated, error in\n      if isAuthenticated {\n//          Perform action awaiting authentication\n      } else {\n//          Perform action in case of failed authentication\n      }\n}\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpraneetneuro%2Fauthxkit","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpraneetneuro%2Fauthxkit","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpraneetneuro%2Fauthxkit/lists"}