Skip to main content

Interface: GoogleOAuthWithMetadata

Object representation of a user's Google Account, with additional metadata for advanced use cases.

Hierarchy

  • LinkMetadata

  • Google

    GoogleOAuthWithMetadata

Properties

email

email: string

The email associated with the Google account.

Inherited from

Google.email


name

name: null | string

The name associated with the Google account.

Inherited from

Google.name


subject

subject: string

The sub claim from the Google-issued JWT for this account.

Inherited from

Google.subject


type

type: "google_oauth"

Denotes that this is a Google account.

Overrides

LinkMetadata.type


verifiedAt

verifiedAt: Date

Datetime when this account was linked to the user.

Inherited from

LinkMetadata.verifiedAt