credential-holder
БесплатноБез исполняемых скриптовНе проверенImplement digital credential holder (wallet) registration, presentation, and issuance handling in an Android app using the Jetpack Credential Manager Registry…
от android★ 10 827 звёзд на GitHubОб этом скилле
Build an Android digital wallet (holder) app that registers credential metadata
(SdJwtEntry and MdocEntry) with Credential Manager using RegistryManager
and OpenId4VpRegistry, registers OpenID4VCI creation options with
RegisterCreationOptionsRequest, and handles incoming GET_CREDENTIAL
presentation and CREATE_CREDENTIAL issuance requests with
PendingIntentHandler. When reviewing holder credential storage concepts,
presentation flows, or issuance handling, consult
About storing digital credentials, Present credentials, and
Handle credential issuance. When requesting credentials as a relying
party, suggest the credential-verifier skill; when provisioning credentials
from an issuer app, suggest the credential-issuer skill.
Prerequisites and setup
- Android version compatibility: The Holder API is supported on Android 6 (API level 23) and higher.
- Build config permission: Ask for user confirmation before modifying
settings.gradle.kts, rootbuild.gradle.kts, orgradle/libs.versions.toml, unless already requested by the user or running non-interactively. - Dependencies and package mapping: Add the Credential Manager and Registry artifacts to the app module build script (
app/build.gradle.ktsorapp/build.gradle; when checking full dependency declarations, consult Present credentials and Handle credential issuance):
| Artifact | Key classes, constructor signatures, and package |
|---|---|
androidx.credentials:credentials:1.7.0-alpha03 (or 1.6.0+) |
GetCredentialResponse, GetDigitalCredentialOption, DigitalCredential(credentialJson: String), CreateDigitalCredentialRequest, CreateDigitalCredentialResponse(responseJson: String), and ExperimentalDigitalCredentialApi in androidx.credentials; PendingIntentHandler, CallingAppInfo, ProviderGetCredentialRequest, and ProviderCreateCredentialRequest in androidx.credentials.provider; GetCredentialException and CreateCredentialException subtypes in androidx.credentials.exceptions |
androidx.credentials.registry:registry-digitalcredentials-mdoc:1.0.0-alpha05 |
MdocEntry(docType: String, fields: List<MdocField>, entryDisplayPropertySet: Set<EntryDisplayProperties>, id: String), MdocField(namespace: String, identifier: String, fieldValue: Any?, fieldDisplayPropertySet: Set<FieldDisplayProperties>), and MdocInlineIssuanceEntry in androidx.credentials.registry.digitalcredentials.mdoc |
androidx.credentials.registry:registry-digitalcredentials-openid:1.0.0-alpha05 |
OpenId4VpRegistry(credentialEntries: List<DigitalCredentialEntry>, id: String, intentAction: String = RegistryManager.ACTION_GET_CREDENTIAL, inlineIssuanceEntries: List<InlineIssuanceEntry> = emptyList(), supportedProtocols: List<String> = ...) in androidx.credentials.registry.digitalcredentials.openid4vp |
androidx.credentials.registry:registry-digitalcredentials-sdjwtvc:1.0.0-alpha05 |
SdJwtEntry(verifiableCredentialType: String, claims: List<SdJwtClaim>, entryDisplayPropertySet: Set<EntryDisplayProperties>, id: String), SdJwtClaim(path: List<String>, value: Any?, fieldDisplayPropertySet: Set<FieldDisplayProperties>, isSelectivelyDisclosable: Boolean = true), and SdJwtInlineIssuanceEntry in androidx.credentials.registry.digitalcredentials.sdjwt |
androidx.credentials.registry:registry-provider:1.0.0-alpha05 |
RegistryManager, RegisterCreationOptionsRequest(type: String, id: String, creationOptions: ByteArray, matcher: ByteArray, intentAction: String = RegistryManager.ACTION_CREATE_CREDENTIAL), ProviderGetCredentialRequest.selectedCredentialSet, ProviderGetCredentialRequest.selectedEntryId, and ProviderCreateCredentialRequest.selectedEntryId in androidx.credentials.registry.provider; DigitalCredentialEntry, EntryDisplayProperties, FieldDisplayProperties, InlineIssuanceEntry, InlineIssuanceEntry.InlineIssuanceDisplayProperties, VerificationEntryDisplayProperties(title: CharSequence, subtitle: CharSequence?, icon: Bitmap, ...) (icon is non-null android.graphics.Bitmap), and VerificationFieldDisplayProperties(displayName: CharSequence, displayValue: CharSequence?) in androidx.credentials.registry.provider.digitalcredentials |
androidx.credentials.registry:registry-provider-play-services:1.0.0-alpha05 |
Google Play services provider integration for Credential Manager Registry |
Expected inputs and file scope
- Required inputs: The credential formats stored by the wallet (`SdJwtEntry
Установить credential-holder в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл credential-holder?
Implement digital credential holder (wallet) registration, presentation, and issuance handling in an Android app using the Jetpack Credential Manager Registry API. Use this skill when building a digital wallet or holder app in an Android project, registering SD-JWT or mdoc credential metadata with RegistryManager and OpenId4VpRegistry, configuring inline issuance entries, registering OpenID4VCI creation options with RegisterCreationOptionsRequest, or handling GET_CREDENTIAL and CREATE_CREDENTIAL intents with PendingIntentHandler. Don't use for requesting credentials as a verifier, issuing credentials from an issuer app, passkeys, or carrier TS.43 phone number verification.
Как установить скилл credential-holder?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл credential-holder запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
mcp-builder
Guide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when…
от Anthropicclaude-api
Reference for the Claude API / Anthropic SDK — model ids, pricing, params, streaming, tool use, MCP, agents, caching, token counting, model migration. TRIGGER…
от Anthropicalgorithmic-art
Creating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code…
от Anthropicmcp-integration
This skill should be used when the user asks to "add MCP server", "integrate MCP", "configure MCP in plugin", "use .mcp.json", "set up Model Context…
от Anthropic