Zum Inhalt springen
Skillpedia
Sicherheit10k · #11917

verified-email

Was er macht

Dieser Skill begleitet das Hinzufügen eines Schritts mit geprüfter E-Mail-Adresse zu einem Android-Anmeldeablauf mit Credential Manager. Nutzer teilen eine kryptografisch geprüfte E-Mail-Adresse, statt einen Code einzutippen. Er ist für Android-Entwickler gedacht, die bei der Anmeldung weniger Reibung wollen.

Wann du ihn nutzt

  • ✓Wenn sich neue Nutzer anmelden sollen, ohne einen Einmalcode einzutippen.
  • ✓Wenn du eine geprüfte E-Mail-Adresse von einem vertrauenswürdigen Anbieter wie Google in deiner App anfordern musst.
  • ✓Wenn du den Abbruch durch manuelle E-Mail-Bestätigung bei der Anmeldung verringern willst.

Link zum Skill

https://github.com/android/skills/blob/main/identity/verified-email/SKILL.md

Kopiere ihn und füge ihn in deine KI ein (Claude, ChatGPT oder Cursor) mit der Bitte, den Anweisungen zu folgen.

So nutzt du ihn

Am einfachsten: Kopiere die Nachricht und füge sie in deine KI ein. Sie liest den Skill und folgt den Anweisungen.

Fertige Nachricht zum Einfügen

Nutze diesen Skill, um mir zu helfen: https://github.com/android/skills/blob/main/identity/verified-email/SKILL.md Lies die SKILL.md unter diesem Link und folge ihren Anweisungen für meine Aufgabe.
Soll deine KI Skills wie diesen selbst finden?Installiere den kostenlosen Skillpedia-MCP: eine Zeile, und sie durchsucht vor jeder Aufgabe 15.000+ Skills.In 1 Minute installieren →

Beispielanfrage an deine KI

“Füge meiner Android-App eine Anmeldung mit geprüfter E-Mail-Adresse hinzu, damit Nutzer den E-Mail-Code-Schritt überspringen.”

5 neue Skills pro Woche. 1 Minute Lesezeit.

So funktioniert es

Der Skill richtet eine Anfrage für digitale Nachweise in der Credential Manager API ein und fordert eine geprüfte E-Mail-Adresse von einem vertrauenswürdigen Anbieter an. Die App liest die geprüfte E-Mail-Adresse aus der Antwort.

Technischer Inhalt (originale SKILL.md)

Originaltext des Autors, auf Englisch, direkt von GitHub.

Fundamentals

  • Overview of Digital Credentials: Learn about cryptographically verifiable documents and the role of Credential Manager.
  • Glossary : Definitions for dcql_query, UserInfoCredential, and GetDigitalCredentialOption.

Standards & Examples

Requirements

  • SDK Version: Minimum SDK 28 (Android 9) is required.
  • GMS Version: Google Play services version 25.49.x or higher.

Use Cases

Email verification is applicable for the following use cases:

  • Account Creation/Sign-up: Remove friction by skipping manual email verification.
  • Account Recovery: Securely verify email ownership during recovery flows.
  • Re-authentication: Versatile verification for high-risk actions, independent of the initial sign-in method.

Limitations & Nuances

  • Workspace Accounts: Google does not issue verifiable credentials for Google Workspace Accounts.
  • Freshness: For non-@gmail.com addresses, Google verifies the email at account creation but there is no freshness claim; implement an additional challenge like an OTP.

Scope & Pre-requisites

Crucial : This skill focuses exclusively on the Android client-side integration . It does not implement the app's server-side cryptographic validation logic. Server-side validation of the returned credential is required for security and must be implemented in your backend.

Codebase exploration for Use Cases

Get started with the following queries in project source code to find relevant screens with different use cases to implement verified email:

  • SignUpScreen
  • "Email address"
  • "Recover Account"
  • "Account Recovery"
  • "Forgot password?"
  • "Delete Account"

Identifying Integration Points

To implement this feature effectively, you must first locate the relevant flows in your codebase. To initiate, start with the following strategies to cater to different use cases using verified email:

1. Search for Navigation Routes

If your app uses Navigation, search for routes or destinations related to authentication:

Look for:

  • Keywords : signup, registration, create_account, forgot_password, recovery, verify_email.
  • Code Pattern : Search for NavHost or composable destinations using these strings.

2. Locate Authentication ViewModels

Find the business logic handling user attributes and account creation, account recovery:

  • Keywords : SignUpViewModel, AuthViewModel, RegistrationRepository.
  • Code Pattern : Look for methods like onCreateAccount, onRecoverAccount, or validateEmail.

3. Find instances of reauthentication for sensitive actions

For reauthentication use cases, find areas where users perform sensitive actions:

  • Keywords : ChangePassword, UpdatePayment, DeleteAccount, UpdateDetails, EditUserDetails

Important pointers for Implementation

  • Construct a Digital Credential Request and present it to the user.
  • Make sure to follow the request JSON structure as mentioned in documentation.
  • While presenting the request to the user, check if result credential is DigitalCredential and credential.credentialJson as responseJsonString
  • Parse the response from the client.
  • Offer a passkey creation option if one is not already present.
  • Assume a local SdJwtParser to parse raw SD-JWT and return a JSONObject.
  • Use a VerifiedUserInfo data class to store the parsed name and email.
  • Leave a TODO for developers to handle the app's server-side validation and parsing.
  • Direct users to the home screen after API call succe
Häufige Fragen

Welche Android-Version wird gebraucht?

Die App muss auf Android 9 (API 28) oder neuer laufen, mit Google Play-Diensten in Version 25.49 oder höher.

Welcher Standard wird für die Anfrage verwendet?

Er nutzt den Standard OpenID4VP für Anfragen mit digitalen Nachweisen.

Gibt es eine Möglichkeit zum Testen?

Ja. Der Skill verweist auf eine Demo-Seite für digitale Nachweise zum plattformübergreifenden Test.

Details

Originalbeschreibung des Autors

Provides a complete workflow for implementing verified email retrieval on Android Credential Manager API. Use this skill to integrate a secure, OTP-less email verification flow into an Android app. This skill solves the problem of high-friction sign-up processes by leveraging cryptographically verified credentials from trusted providers like Google.

repo: android/skills

Beliebtheit

GitHub-Sterne
10k
Platz im Ranking
#11917
Lizenz
Apache-2.0
Aktualisiert
29.10.2026

Ist dieser Skill nützlich?

0

Anmelden um abzustimmen.

Kommentare

  • …

Weitere Skills aus diesem Repository

Ähnliche Skills