Identity
Identity is one provider account of the signed-in supporter.
On this page
Identity is one provider account of the signed-in supporter.
type Identity struct {
Provider Provider `json:"provider"`
ID string `json:"id"`
Handle *string `json:"handle"`
NeedsReconnect bool `json:"needsReconnect"`
}Fields#
Provider#
Provider Provider `json:"provider"`Provider is the provider of this account.
ID#
ID string `json:"id"`ID is the provider's immutable user id.
Handle#
Handle *string `json:"handle"`Handle is the login or slug, or nil. Handles can change.
NeedsReconnect#
NeedsReconnect bool `json:"needsReconnect"`NeedsReconnect is true when the provider token expired or was revoked; call SignIn with that provider to reconnect it.