Skip to content

Added snippets for verified email feature via Credential Manager API#867

Merged
yrezgui merged 6 commits intomainfrom
verified_email_snippets
Apr 10, 2026
Merged

Added snippets for verified email feature via Credential Manager API#867
yrezgui merged 6 commits intomainfrom
verified_email_snippets

Conversation

@niharika2810
Copy link
Copy Markdown
Contributor

No description provided.

@snippet-bot
Copy link
Copy Markdown

snippet-bot bot commented Apr 9, 2026

Here is the summary of changes.

You are about to add 5 region tags.

This comment is generated by snippet-bot.
If you find problems with this result, please file an issue at:
https://github.com/googleapis/repo-automation-bots/issues.
To update this comment, add snippet-bot:force-run label or use the checkbox below:

  • Refresh this comment

@niharika2810 niharika2810 requested a review from cy245 April 9, 2026 14:43
Copy link
Copy Markdown
Contributor

@gemini-code-assist gemini-code-assist bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request introduces a new utility class, VerifiedEmailFunctions, to handle interactions with the Credential Manager for verified email credentials. It includes functions for constructing OpenID4VP requests, extracting verified user information from SD-JWTs, and creating accounts with verified emails. The review suggests defining a TAG constant for logging and refactoring duplicated SD-JWT parsing logic into a shared helper function to improve maintainability and robustness.

@yrezgui yrezgui merged commit b863a7f into main Apr 10, 2026
6 checks passed
@yrezgui yrezgui deleted the verified_email_snippets branch April 10, 2026 19:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants