{"id":15110383,"url":"https://github.com/android/codelab-biometric-login","last_synced_at":"2025-09-27T12:32:22.934Z","repository":{"id":45327659,"uuid":"275021190","full_name":"android/codelab-biometric-login","owner":"android","description":null,"archived":true,"fork":false,"pushed_at":"2022-02-05T00:21:27.000Z","size":350,"stargazers_count":50,"open_issues_count":7,"forks_count":27,"subscribers_count":22,"default_branch":"codelab","last_synced_at":"2025-01-17T22:35:37.329Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Kotlin","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/android.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2020-06-25T21:45:50.000Z","updated_at":"2024-10-17T23:06:49.000Z","dependencies_parsed_at":"2022-09-02T04:21:04.287Z","dependency_job_id":null,"html_url":"https://github.com/android/codelab-biometric-login","commit_stats":null,"previous_names":["googlecodelabs/biometric-login"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/android/codelab-biometric-login","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/android%2Fcodelab-biometric-login","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/android%2Fcodelab-biometric-login/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/android%2Fcodelab-biometric-login/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/android%2Fcodelab-biometric-login/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/android","download_url":"https://codeload.github.com/android/codelab-biometric-login/tar.gz/refs/heads/codelab","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/android%2Fcodelab-biometric-login/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":277232759,"owners_count":25783903,"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-09-27T02:00:08.978Z","response_time":73,"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":[],"created_at":"2024-09-25T23:44:41.779Z","updated_at":"2025-09-27T12:32:22.492Z","avatar_url":"https://github.com/android.png","language":"Kotlin","funding_links":[],"categories":[],"sub_categories":[],"readme":"\n# Android BiometricLogin Sample (Kotlin)\n\nSample for the Androidx Biometrics Library\n\n# Introduction\n\nThis is the canonical sample that demonstrates how to integrate Android Biometrics into your apps.\nWhether your project is for government, healthcare, financial, enterprise, or general usage, this\nsample should guide your implementation.\n\n## What the sample does\nThe sample app addresses the following critical user journeys:\n1. How to enable biometric login in your app.\n2. How to handle the server token for subsequent biometric login.\n3. How to actually login with biometric and release the server token for communication with the server.\n\n# What this sample does not do\n- This sample does **not** teach you how to handle server side authentication\n- This sample does **not** teach you how to communicate with your servers\n\n## Suggested Reading\n- [One Biometric API Over all Android](https://android-developers.googleblog.com/2019/10/one-biometric-api-over-all-android.html)\n- [Migrating from FingerprintManager to BiometricPrompt](https://medium.com/androiddevelopers/migrating-from-fingerprintmanager-to-biometricprompt-4bc5f570dccd)\n- [Using BiometricPrompt with CryptoObject: How and Why](https://medium.com/androiddevelopers/using-biometricprompt-with-cryptoobject-how-and-why-aace500ccdb7)\n\nScreenshots\n-------------\n\n\u003cimg src=\"screenshots/authorize_bio.png\" height=\"400\" alt=\"Screenshot\"/\u003e\n\u003cimg src=\"screenshots/login_landing.png\" height=\"400\" alt=\"Screenshot\"/\u003e\n\u003cimg src=\"screenshots/bio_prompt.png\" height=\"400\" alt=\"Screenshot\"/\u003e\n\nGetting Started\n---------------\n\nThis sample uses the Gradle build system. To build this project, use the\n\"gradlew build\" command or use \"Import Project\" in Android Studio.\n\nSupport\n-------\n\n- Stack Overflow: https://stackoverflow.com/questions/tagged/android-biometric\n\nIf you've found an error in this sample, please file an issue:\nhttps://github.com/android/security\n\nPatches are encouraged, and may be submitted by forking this project and\nsubmitting a pull request through GitHub. Please see CONTRIBUTING.md for more details.\n\n# Copyright\n\n    Copyright 2020 Google LLC.\n\n    Licensed under the Apache License, Version 2.0 (the \"License\");\n    you may not use this file except in compliance with the License.\n    You may obtain a copy of the License at\n\n        http://www.apache.org/licenses/LICENSE-2.0\n\n    Unless required by applicable law or agreed to in writing, software\n    distributed under the License is distributed on an \"AS IS\" BASIS,\n    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n    See the License for the specific language governing permissions and\n    limitations under the License.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fandroid%2Fcodelab-biometric-login","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fandroid%2Fcodelab-biometric-login","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fandroid%2Fcodelab-biometric-login/lists"}