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.
credentials providerevents
VIỆC CẦN LÀM
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 13 tháng 8 năm 2025 |
- |
- |
- |
1.0.0-alpha02 |
Khai báo phần phụ thuộc
Để thêm một phần phụ thuộc trên credentials providerevents, 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 providereventss
implementation "androidx.credentials.providerevents:providerevents:1.0.0-alpha02"
implementation "androidx.credentials.providerevents:providerevents-play-services:1.0.0-alpha02"
Kotlin
dependencies {
// Use to implement credentials providereventss
implementation("androidx.credentials.providerevents:providerevents:1.0.0-alpha02")
implementation("androidx.credentials.providerevents:providerevents-play-services:1.0.0-alpha02")
}
Để 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.
Phiên bản 1.0
Phiên bản 1.0.0-alpha02
Ngày 13 tháng 8 năm 2025
Phát hành androidx.credentials.providerevents:providerevents:1.0.0-alpha02
và androidx.credentials.providerevents:providerevents-play-services:1.0.0-alpha02
. Phiên bản 1.0.0-alpha02 bao gồm các thay đổi sau.
Thay đổi về API
- Tái cấu trúc nhỏ đối với các lớp ngoại lệ và
GetCapabilitiesRequest
(Ia6ee3)
- Thêm các API cho phép các bên phụ thuộc (RP) gửi tín hiệu trạng thái thông tin xác thực đến các nhà cung cấp thông tin xác thực, để họ có thể cập nhật trạng thái của thông tin xác thực ở phía họ. (Ia7a65)
- Tái cấu trúc
ExportCredentialsResponse
sao cho các chỉ số được báo cáo được nhóm theo loại thông tin đăng nhập (I3a088)
- Thêm các API mới cho dịch vụ thiết lập thiết bị (Icc9d5)
Sửa lỗi
- Thêm các API mới để trao đổi thông tin đăng nhập (I77c1c)
Phiên bản 1.0.0-alpha01
Ngày 7 tháng 5 năm 2025
Phát hành androidx.credentials.providerevents:providerevents:1.0.0-alpha01
và androidx.credentials.providerevents:providerevents-play-services: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
- Một
CredentialProviderEventsService
mới đang được thêm vào để các trình cung cấp thông tin xác thực sẽ hỗ trợ việc nhận các sự kiện từ API Trình quản lý thông tin xác thực. Một trong những tính năng mà trình cung cấp thông tin đăng nhập hiện có thể hỗ trợ thông qua dịch vụ này là trải nghiệm tạo có điều kiện khoá truy cập. Dịch vụ này được thiết kế để truyền tải các bản cập nhật khác của trình cung cấp thông tin đăng nhập trong tương lai.
Thay đổi về API
CredentialProviderEventsService
– một dịch vụ mới mà nhà cung cấp thông tin xác thực có thể mở rộng để nhận các sự kiện từ Credential Manager API.
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-08-13 UTC.
[null,null,["Cập nhật lần gần đây nhất: 2025-08-13 UTC."],[],[],null,["# credentials providerevents\n==========================\n\nAPI Reference \n[androidx.credentials.providerevents](/reference/kotlin/androidx/credentials/providerevents/package-summary) \nTODO \n\n| Latest Update | Stable Release | Release Candidate | Beta Release | Alpha Release |\n|-----------------|----------------|-------------------|--------------|--------------------------------------------------------------------------------------|\n| August 13, 2025 | - | - | - | [1.0.0-alpha02](/jetpack/androidx/releases/credentials-providerevents#1.0.0-alpha02) |\n\nDeclaring dependencies\n----------------------\n\nTo add a dependency on credentials providerevents, 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 providereventss\n implementation \"androidx.credentials.providerevents:providerevents:1.0.0-alpha02\"\n implementation \"androidx.credentials.providerevents:providerevents-play-services:1.0.0-alpha02\"\n```\n\n### Kotlin\n\n```kotlin\ndependencies {\n // Use to implement credentials providereventss\n implementation(\"androidx.credentials.providerevents:providerevents:1.0.0-alpha02\")\n implementation(\"androidx.credentials.providerevents:providerevents-play-services:1.0.0-alpha02\")\n\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\nVersion 1.0\n-----------\n\n### Version 1.0.0-alpha02\n\nAugust 13, 2025\n\n`androidx.credentials.providerevents:providerevents:1.0.0-alpha02` and `androidx.credentials.providerevents:providerevents-play-services:1.0.0-alpha02` are released. Version 1.0.0-alpha02 contains [these commits](https://android.googlesource.com/platform/frameworks/support/+log/b6c541571b9fb5471f965fc52612cb280713e5e4..c359e97fece91f3767a7d017e9def23c7caf1f53/credentials/providerevents).\n\n**API Changes**\n\n- Minor refactors to exception classes and `GetCapabilitiesRequest` ([Ia6ee3](https://android-review.googlesource.com/#/q/Ia6ee3ffde660611001aaad53a0d4decb3dfdb311))\n- Added APIs that allow relying parties (RPs) to send credential state signals to credential providers, such that they can update the state of the credentials on their end. ([Ia7a65](https://android-review.googlesource.com/#/q/Ia7a6505fc70cc69ac5e49c9fc2069744d6ea68e9))\n- Refactor `ExportCredentialsResponse` such that the metrics reported are grouped by the credential type ([I3a088](https://android-review.googlesource.com/#/q/I3a08855bb616b3c77fda1c3f9821fc54145df871))\n- Added new APIs for device setup service ([Icc9d5](https://android-review.googlesource.com/#/q/Icc9d59659d8a613accd78eecdb669e7140d2d142))\n\n**Bug Fixes**\n\n- Added new apis for credential exchange ([I77c1c](https://android-review.googlesource.com/#/q/I77c1ce3a524eacbdf08003bcf414c4b7c59703c4))\n\n### Version 1.0.0-alpha01\n\nMay 7, 2025\n\n`androidx.credentials.providerevents:providerevents:1.0.0-alpha01` and `androidx.credentials.providerevents:providerevents-play-services:1.0.0-alpha01` are released. Version 1.0.0-alpha01 contains [these commits](https://android.googlesource.com/platform/frameworks/support/+log/b6c541571b9fb5471f965fc52612cb280713e5e4/credentials/providerevents).\n\n**New Features**\n\n- A new `CredentialProviderEventsService` is being added that credential providers will support to receive events from Credential Manager APIs. One of the features that credential providers can now support through this service is the passkey conditional create experience. This service is designed to propagate other credential provider updates as well in the future.\n\n**API Changes**\n\n- `CredentialProviderEventsService` - a new service for credential providers to extend from in order to receive events from Credential manager API."]]