Appearance
Documentation / react-auth / TwitterOAuthWithMetadata
Interface: TwitterOAuthWithMetadata
Object representation of a user's Twitter Account, with additional metadata for advanced use cases.
Extends
LinkMetadata
.Twitter
Properties
firstVerifiedAt
firstVerifiedAt:
null
|Date
Datetime when this account was linked to the user.
Inherited from
LinkMetadata.firstVerifiedAt
latestVerifiedAt
latestVerifiedAt:
null
|Date
Datetime when this account was most recently used as a login/link method by the user.
Inherited from
LinkMetadata.latestVerifiedAt
name
name:
null
|string
The name associated with the Twitter account.
Inherited from
profilePictureUrl
profilePictureUrl:
null
|string
The profile picture URL associated with the Twitter account. Note that the Twitter image URL returned is appended with _normal
to return a 48x48px image. In order to retrieve the original-sized image, remove the _normal
from the URL as specified in the Twitter API docs: https://developer.twitter.com/en/docs/twitter-api/v1/accounts-and-users/user-profile-images-and-banners
Inherited from
react-auth.Twitter.profilePictureUrl
subject
subject:
string
The sub
claim from the Twitter-issued JWT for this account.
Inherited from
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
verifiedAt
verifiedAt:
Date
Deprecated
use firstVerifiedAt
instead. Datetime when this account was linked to the user or created.
Inherited from
LinkMetadata.verifiedAt