GoogleAccount

data class GoogleAccount(val id: String, val emailAddress: String, val displayName: String, val profilePictureUri: String)

Data identifying a particular signed-in Google Account.

This may appear in MultipazExtension in leaf certificates in certificate chains used for reader authentication according to e.g. ISO/IEC 18013-5:2021 or OpenID4VP. If it does it means that the verifier requesting the data is using a reader where they are signed into the Google account described in this data.

The CDDL is defined as:

GoogleAccount = {
"id": tstr,
"emailAddress": tstr,
"displayName": tstr,
"profilePictureUri": tstr
}

As with any other data, wallets should not blindly trust this data and should only e.g. display it to the end user in the consent prompt after examining the reader certificate chain, checking that the root CA is in a trust list, and that they trust whoever generated this data to have checked (by using the appropriate Sign In with Google APIs) that it's for this particular signed-in Google account.

Constructors

Link copied to clipboard
constructor(id: String, emailAddress: String, displayName: String, profilePictureUri: String)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

the user's name.

Link copied to clipboard

the user's email address.

Link copied to clipboard
val id: String

the Google Account Identifier.

Link copied to clipboard

an URI pointing to the profile picture for the user.