Interface: DiscordOAuthWithMetadata
Object representation of a user's Discord Account, with additional metadata for advanced use cases.
Hierarchy
LinkMetadata
↳
DiscordOAuthWithMetadata
Properties
email
• email: null
| string
The email associated with the Discord account.
Inherited from
subject
• subject: string
The sub
claim from the Discord-issued JWT for this account.
Inherited from
type
• type: "discord_oauth"
Denotes that this is a Discord account.
Overrides
LinkMetadata.type
username
• username: null
| string
The username associated with the Discord account.
Inherited from
verifiedAt
• verifiedAt: Date
Datetime when this account was linked to the user.
Inherited from
LinkMetadata.verifiedAt