קל לארגן דפים בעזרת אוספים
אפשר לשמור ולסווג תוכן על סמך ההעדפות שלך.
מרשם פרטי הכניסה
כדי לפתור את הבעיות האלה, אנחנו מוסיפים מנגנון רישום חדש שמאפשר לאפליקציה לספק פרטי כניסה דיגיטליים באופן ששומר על הפרטיות. באופן כללי, אפליקציית הספק תירשם מראש את כל פרטי הכניסה הדיגיטליים האפשריים שלה ב-Credential Manager. כש-Credential Manager יקבל בקשה מאפליקציה לפרטי כניסה דיגיטליים ספציפיים, הוא יפעיל את התאמת פרטי הכניסה ואת ממשק המשתמש לבחירת משתמשים בארגז חול.
העדכון האחרון |
גרסה יציבה |
מועמד לגרסה |
גרסת בטא |
גרסת אלפא |
16 באוקטובר 2024 |
- |
- |
- |
1.0.0-alpha01 |
הצהרת יחסי תלות
כדי להוסיף תלות במרשם פרטי הכניסה, צריך להוסיף את המאגר של Google Maven לפרויקט. מידע נוסף זמין במאגר Maven של Google.
מוסיפים את יחסי התלות של פריטי המידע הנדרשים בקובץ build.gradle
בשביל
האפליקציה או המודול שלך:
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")
}
למידע נוסף על יחסי תלות, אפשר לעיין במאמר הוספת יחסי תלות של build.
משוב
המשוב שלך עוזר לנו לשפר את Jetpack. נשמח לשמוע אם גילית בעיות חדשות או אם יש לך
רעיונות לשיפור הספרייה הזו. מומלץ לעיין
בעיות קיימות
בספרייה הזו לפני שיוצרים ספר חדש. אפשר להוסיף את ההצבעה שלך לבעיה קיימת על ידי
לחיצה על לחצן הכוכב.
דיווח על בעיה חדשה
מקורות מידע בנושא מעקב אחר בעיות
אפשר לקבל מידע נוסף.
Registry 1.0 (רישום פרטי כניסה)
גרסה 1.0.0-alpha01
16 באוקטובר 2024
androidx.credentials.registry:registry-*:1.0.0-alpha01
משוחרר. גרסה 1.0.0-alpha01 מכילה את התחייבויות אלה.
תכונות חדשות
- תמיכה חדשה במרשם ספקים של Credential Manager: מאפשרת לספקים לרשום מראש מטא-נתונים של פרטי כניסה ב-Credential Manager, כך שמערכת Credential Manager תוכל להציג אותם למשתמש מאוחר יותר בתגובה לבקשת אפליקציה נכנסת.
- נוספו ממשקי API של פרטי כניסה ל-mdoc של ISO/IEC לרישום פרטי כניסה ל-mdoc
- הוספנו גם רשם מבוסס-פרוטוקול בתצוגה מקדימה כדי להדגים את היכולת מקצה לקצה
דוגמאות התוכן והקוד שבדף הזה כפופות לרישיונות המפורטים בקטע רישיון לתוכן. Java ו-OpenJDK הם סימנים מסחריים או סימנים מסחריים רשומים של חברת Oracle ו/או של השותפים העצמאיים שלה.
עדכון אחרון: 2025-07-27 (שעון UTC).
[[["התוכן קל להבנה","easyToUnderstand","thumb-up"],["התוכן עזר לי לפתור בעיה","solvedMyProblem","thumb-up"],["סיבה אחרת","otherUp","thumb-up"]],[["חסרים לי מידע או פרטים","missingTheInformationINeed","thumb-down"],["התוכן מורכב מדי או עם יותר מדי שלבים","tooComplicatedTooManySteps","thumb-down"],["התוכן לא עדכני","outOfDate","thumb-down"],["בעיה בתרגום","translationIssue","thumb-down"],["בעיה בדוגמאות/בקוד","samplesCodeIssue","thumb-down"],["סיבה אחרת","otherDown","thumb-down"]],["עדכון אחרון: 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"]]