verified-email
하는 일
이 스킬은 Credential Manager를 사용해 Android 가입 절차에 인증된 이메일 단계를 추가하는 방법을 안내합니다. 사용자는 코드를 입력하는 대신 암호학적으로 검증된 이메일을 공유합니다. 가입 과정의 번거로움을 줄이려는 Android 개발자를 위한 스킬입니다.
사용하는 경우
- ✓새 사용자가 일회용 코드를 입력하지 않고 가입하게 하고 싶을 때.
- ✓앱에서 Google 같은 신뢰할 수 있는 제공자에게 인증된 이메일을 요청해야 할 때.
- ✓가입 중 수동 이메일 인증 때문에 이탈하는 사용자를 줄이고 싶을 때.
스킬 링크
https://github.com/android/skills/blob/main/identity/verified-email/SKILL.md복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.
사용 방법
가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.
바로 붙여넣을 수 있는 메시지
Claude Code, Codex, Cursor용입니다. 프로젝트 폴더에서 실행하면 스킬이 설치됩니다.
SKILL.md를 다운로드해 에이전트의 스킬 폴더에 넣으세요.
AI에게 요청하는 예시
“내 Android 앱에 인증된 이메일 가입을 추가해서 사용자가 이메일 코드 단계를 건너뛰게 해 주세요.”
매주 새 스킬 5개. 읽는 데 1분.
작동 방식
이 스킬은 Credential Manager API에서 디지털 자격 증명 요청을 설정해, 신뢰할 수 있는 제공자의 인증된 이메일을 요청합니다. 앱은 응답에서 인증된 이메일을 받습니다.
기술 내용 (원본 SKILL.md)
작성자의 영어 원문을 GitHub에서 그대로 가져왔습니다.
Fundamentals
- Overview of Digital Credentials: Learn about cryptographically verifiable documents and the role of Credential Manager.
- Glossary : Definitions for
dcql_query,UserInfoCredential, andGetDigitalCredentialOption.
Standards & Examples
- OpenID4VP Standard: The specification used to create digital credentials requests.
- Digital Credentials Demo: Example requests and cross-platform testing tool.
- W3C Verifiable Credentials: The data model for cryptographically secured claims.
- SD-JWT: Selective Disclosure JSON Web Token format used for responses.
- mdoc: ISO/IEC 18013-5 standard for mobile documents.
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
NavHostorcomposabledestinations 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, orvalidateEmail.
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
SdJwtParserto parse raw SD-JWT and return aJSONObject. - Use a
VerifiedUserInfodata 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
자주 묻는 질문
어떤 Android 버전이 필요한가요?
앱은 Android 9(API 28) 이상에서 실행되어야 하며, Google Play 서비스 25.49 이상 버전이 필요합니다.
요청에는 어떤 표준을 사용하나요?
디지털 자격 증명 요청에 OpenID4VP 표준을 사용합니다.
테스트할 방법이 있나요?
네. 스킬은 플랫폼 간 테스트를 위한 디지털 자격 증명 데모 사이트를 안내합니다.
상세 정보
작성자의 원본 설명
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
인기도
- GitHub 스타
- 10k
- 순위
- #11917
- 라이선스
- Apache-2.0
- 업데이트
- 2026. 10. 29.
댓글
- …
이 저장소의 다른 스킬
agp-9-upgrade
10k에이전트가 Android 앱을 Android Gradle Plugin 9로 업그레이드하고 호환되지 않는 변경 사항을 처리하도록 돕습니다. 멀티플랫폼 프로젝트는 대상이 아닙니다.
camerax
10k에이전트가 CameraX로 동영상 녹화, 하드웨어 제어, ML Kit와 Media3 효과를 포함한 Android 카메라 기능을 만들도록 돕습니다.
android-for-cars-parked-apps
10k에이전트가 Android 동영상, 게임 또는 브라우저 앱을 Android Auto와 Android Automotive의 주차 중 앱으로 실행되도록 맞추는 것을 돕습니다.
appfunctions
10k에이전트가 Android 앱의 핵심 작업 흐름을 찾아, AI 에이전트와 음성 명령이 실행할 수 있는 AppFunctions로 노출하도록 돕습니다.