Sử dụng bộ sưu tập để sắp xếp ngăn nắp các trang
Lưu và phân loại nội dung dựa trên lựa chọn ưu tiên của bạn.
sổ đăng ký thông tin xác thực
Để giải quyết vấn đề này, chúng tôi đang bổ sung một cơ chế đăng ký mới cho phép ứng dụng cung cấp thông tin đăng nhập kỹ thuật số theo cách bảo đảm quyền riêng tư. Nhìn chung, ứng dụng của nhà cung cấp sẽ đăng ký trước tất cả thông tin đăng nhập kỹ thuật số của ứng viên qua Trình quản lý thông tin xác thực; Khi nhận được yêu cầu ứng dụng cho một thông tin xác thực kỹ thuật số cụ thể, Trình quản lý thông tin xác thực sẽ chạy quá trình so khớp thông tin xác thực và giao diện người dùng trong bộ chọn người dùng trong hộp cát.
Bản cập nhật mới nhất |
Bản phát hành ổn định |
Bản phát hành dùng thử |
Bản phát hành beta |
Bản phát hành alpha |
Ngày 16 tháng 10 năm 2024 |
- |
- |
- |
1.0.0-alpha01 |
Khai báo phần phụ thuộc
Để thêm một phần phụ thuộc vào sổ đăng ký thông tin xác thực, bạn phải thêm kho lưu trữ Google Maven vào
dự án. Đọc nội dung Kho lưu trữ Maven của Google để biết thêm thông tin.
Thêm các phần phụ thuộc cho cấu phần phần mềm bạn cần trong tệp build.gradle
cho ứng dụng hoặc mô-đun:
Groovy
dependencies {
// Use to implement credentials registrys
implementation "androidx.credentials.registry:registry-digitalcredentials-mdoc:1.0.0-alpha01"
implementation "androidx.credentials.registry:registry-digitalcredentials-preview:1.0.0-alpha01"
implementation "androidx.credentials.registry:registry-provider:1.0.0-alpha01"
implementation "androidx.credentials.registry:registry-provider-play-services:1.0.0-alpha01"
}
Kotlin
dependencies {
// Use to implement credentials registrys
implementation("androidx.credentials.registry:registry-digitalcredentials-mdoc:1.0.0-alpha01")
implementation("androidx.credentials.registry:registry-digitalcredentials-preview:1.0.0-alpha01")
implementation("androidx.credentials.registry:registry-provider:1.0.0-alpha01")
implementation("androidx.credentials.registry:registry-provider-play-services:1.0.0-alpha01")
}
Để biết thêm thông tin về các phần phụ thuộc, hãy xem bài viết Thêm phần phụ thuộc vào bản dựng.
Ý kiến phản hồi
Ý kiến phản hồi của bạn có thể giúp chúng tôi cải thiện Jetpack. Hãy cho chúng tôi biết nếu bạn phát hiện lỗi mới hoặc có ý tưởng cải thiện thư viện này. Vui lòng xem các lỗi hiện có trong thư viện này trước khi báo một lỗi mới. Bạn có thể thêm lượt bình chọn cho lỗi hiện có bằng cách nhấp vào nút dấu sao.
Báo lỗi mới
Xem tài liệu về Công cụ theo dõi lỗi để biết thêm thông tin.
Credentials Registry 1.0
Phiên bản 1.0.0-alpha01
Ngày 16 tháng 10 năm 2024
Phát hành androidx.credentials.registry:registry-*:1.0.0-alpha01
. Phiên bản 1.0.0-alpha01 bao gồm các thay đổi sau.
Tính năng mới
- Hỗ trợ đăng ký nhà cung cấp Trình quản lý thông tin xác thực mới: cho phép nhà cung cấp đăng ký trước siêu dữ liệu thông tin xác thực với Trình quản lý thông tin xác thực. Sau đó, Trình quản lý thông tin xác thực có thể hiển thị siêu dữ liệu này cho người dùng khi có yêu cầu ứng dụng đến.
- Thêm API thông tin xác thực mdoc theo ISO/IEC để đăng ký thông tin xác thực mdoc
- Ngoài ra, chúng tôi cũng thêm một sổ đăng ký dựa trên giao thức xem trước để minh hoạ khả năng toàn diện
Nội dung và mã mẫu trên trang này phải tuân thủ các giấy phép như mô tả trong phần Giấy phép nội dung. Java và OpenJDK là nhãn hiệu hoặc nhãn hiệu đã đăng ký của Oracle và/hoặc đơn vị liên kết của Oracle.
Cập nhật lần gần đây nhất: 2025-07-27 UTC.
[[["Dễ hiểu","easyToUnderstand","thumb-up"],["Giúp tôi giải quyết được vấn đề","solvedMyProblem","thumb-up"],["Khác","otherUp","thumb-up"]],[["Thiếu thông tin tôi cần","missingTheInformationINeed","thumb-down"],["Quá phức tạp/quá nhiều bước","tooComplicatedTooManySteps","thumb-down"],["Đã lỗi thời","outOfDate","thumb-down"],["Vấn đề về bản dịch","translationIssue","thumb-down"],["Vấn đề về mẫu/mã","samplesCodeIssue","thumb-down"],["Khác","otherDown","thumb-down"]],["Cập nhật lần gần đây nhất: 2025-07-27 UTC."],[],[],null,["# credentials registry\n====================\n\nAPI Reference \n[androidx.credentials.registry](/reference/kotlin/androidx/credentials/registry/package-summary) \nTo solve for these, we are adding a new registry mechanism that allows an app to provide digital credentials in a privacy-preserving way. At a high level, the provider app will be pre-registering all their candidate digital credentials with the Credential Manager; When Credential Manager receives an app request for a specific digital credential, it will run the credential matching and user selector UI in a sandbox. \n\n| Latest Update | Stable Release | Release Candidate | Beta Release | Alpha Release |\n|------------------|----------------|-------------------|--------------|--------------------------------------------------------------------------------|\n| October 16, 2024 | - | - | - | [1.0.0-alpha01](/jetpack/androidx/releases/credentials-registry#1.0.0-alpha01) |\n\nDeclaring dependencies\n----------------------\n\nTo add a dependency on credentials registry, you must add the Google Maven repository to your\nproject. Read [Google's Maven repository](/studio/build/dependencies#google-maven)\nfor more information.\n\nAdd the dependencies for the artifacts you need in the `build.gradle` file for\nyour app or module: \n\n### Groovy\n\n```groovy\ndependencies {\n // Use to implement credentials registrys\n\n implementation \"androidx.credentials.registry:registry-digitalcredentials-mdoc:1.0.0-alpha01\"\n implementation \"androidx.credentials.registry:registry-digitalcredentials-preview:1.0.0-alpha01\"\n implementation \"androidx.credentials.registry:registry-provider:1.0.0-alpha01\"\n implementation \"androidx.credentials.registry:registry-provider-play-services:1.0.0-alpha01\"\n\n}\n```\n\n### Kotlin\n\n```kotlin\ndependencies {\n // Use to implement credentials registrys\n\n implementation(\"androidx.credentials.registry:registry-digitalcredentials-mdoc:1.0.0-alpha01\")\n implementation(\"androidx.credentials.registry:registry-digitalcredentials-preview:1.0.0-alpha01\")\n implementation(\"androidx.credentials.registry:registry-provider:1.0.0-alpha01\")\n implementation(\"androidx.credentials.registry:registry-provider-play-services:1.0.0-alpha01\")\n\n}\n```\n\nFor more information about dependencies, see [Add build dependencies](/studio/build/dependencies).\n\nFeedback\n--------\n\nYour feedback helps make Jetpack better. Let us know if you discover new issues or have\nideas for improving this library. Please take a look at the\n[existing issues](https://issuetracker.google.com/issues?q=componentid:1301097%20status:open)\nin this library before you create a new one. You can add your vote to an existing issue by\nclicking the star button.\n\n[Create a new issue](https://issuetracker.google.com/issues/new?component=1301097&template=1773864)\n\nSee the [Issue Tracker documentation](https://developers.google.com/issue-tracker)\nfor more information.\n\nCredentials Registry 1.0\n------------------------\n\n### Version 1.0.0-alpha01\n\nOctober 16, 2024\n\n`androidx.credentials.registry:registry-*:1.0.0-alpha01` is released. Version 1.0.0-alpha01 contains [these commits](https://android.googlesource.com/platform/frameworks/support/+log/b8a68b0896897fa158508d73a31998a26161d9a7/credentials/registry).\n\n**New Features**\n\n- New Credential Manager provider registry support: allow providers to pre-register credential metadata with Credential Manager which can be later surfaced to the user by the Credential Manager upon an incoming app request.\n- Added ISO/IEC mdoc credential APIs for registering mdoc credentials\n- Also added a preview protocol based registry to demonstrate the end-to-end capability"]]