Skip to main content

Interface: TwitterOAuthWithMetadata

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

Hierarchy

  • LinkMetadata

  • Twitter

    TwitterOAuthWithMetadata

Properties

name

name: null | string

The name associated with the Twitter account.

Inherited from

Twitter.name


subject

subject: string

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

Inherited from

Twitter.subject


type

type: "twitter_oauth"

Denotes that this is a Twitter account.

Overrides

LinkMetadata.type


username

username: null | string

The username associated with the Twitter account.

Inherited from

Twitter.username


verifiedAt

verifiedAt: Date

Datetime when this account was linked to the user.

Inherited from

LinkMetadata.verifiedAt