Back to Node Auth0

Interface ConnectionOptionsTwitter

docs/interfaces/management.Management.ConnectionOptionsTwitter.html

5.9.14.4 KB
Original Source

Interface ConnectionOptionsTwitter

Options for the 'twitter' connection

interface ConnectionOptionsTwitter {
non_persistent_attrs?: ConnectionNonPersistentAttrs;
client_id?: string;
client_secret?: string;
freeform_scopes?: ConnectionScopeArray;
protocol?: Management.ConnectionOptionsProtocolEnumTwitter;
scope?: ConnectionScopeArray;
set_user_root_attributes?: Management.ConnectionSetUserRootAttributesEnum;
upstream_params?: ConnectionUpstreamParams;
offline_access?: boolean;
profile?: boolean;
tweet_read?: boolean;
users_read?: boolean;
key: string: any;
}

Hierarchy (View Summary)

Indexable

Accepts any additional properties

Index

Properties

non_persistent_attrs?client_id?client_secret?freeform_scopes?protocol?scope?set_user_root_attributes?upstream_params?offline_access?profile?tweet_read?users_read?

Properties

Optionalnon_persistent_attrs

non_persistent_attrs?: ConnectionNonPersistentAttrs

Optionalclient_id

client_id?: string

Optionalclient_secret

client_secret?: string

Optionalfreeform_scopes

freeform_scopes?: ConnectionScopeArray

Optionalprotocol

protocol?: Management.ConnectionOptionsProtocolEnumTwitter

Optionalscope

scope?: ConnectionScopeArray

Optionalset_user_root_attributes

set_user_root_attributes?: Management.ConnectionSetUserRootAttributesEnum

Optionalupstream_params

upstream_params?: ConnectionUpstreamParams

Optionaloffline_access

offline_access?: boolean

Request long-lived refresh tokens so your app can act on behalf of users even when they’re not actively signed in. Typical Twitter use case: keeping a background service synced without forcing users to reauthorize every session.

Optionalprofile

profile?: boolean

Pull account profile metadata such as display name, bio, location, and URL so downstream apps can prefill or personalize user experiences.

Optionaltweet_read

tweet_read?: boolean

Allow the application to read a user’s public and protected Tweets—required for timelines, analytics, or moderation workflows.

Optionalusers_read

users_read?: boolean

Read non-Tweet user information (e.g., followers/following, account settings) to power relationship graphs or audience insights.

Settings

Member Visibility

  • Protected
  • Inherited

ThemeOSLightDark

On This Page

Properties non_persistent_attrsclient_idclient_secretfreeform_scopesprotocolscopeset_user_root_attributesupstream_paramsoffline_accessprofiletweet_readusers_read