Appearance
Documentation / server-auth / SpotifyOAuthWithMetadata
Interface: SpotifyOAuthWithMetadata
Object representation of a user's Spotify Account, with additional metadata for advanced use cases.
Extends
LinkMetadata
.Spotify
Properties
email?
email?:
string
The email associated with the Spotify account.
Inherited from
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?:
string
The name associated with the Spotify account.
Inherited from
subject
subject:
string
The sub
claim from the Spotify-issued JWT for this account.
Inherited from
type
type:
"spotify_oauth"
Denotes that this is a Spotify account.
Overrides
LinkMetadata.type
verifiedAt
verifiedAt:
Date
Deprecated
use firstVerifiedAt
instead. Datetime when this account was linked to the user or created.
Inherited from
LinkMetadata.verifiedAt