Class ConnectionOptionsTwitter
- Namespace
- Auth0.ManagementApi
- Assembly
- Auth0.ManagementApi.dll
Options for the 'twitter' connection
[Serializable]
public record ConnectionOptionsTwitter : IJsonOnDeserialized, IJsonOnSerializing, IEquatable<ConnectionOptionsTwitter>
- Inheritance
-
ConnectionOptionsTwitter
- Implements
- Inherited Members
- Extension Methods
Properties
AdditionalProperties
[JsonIgnore]
public AdditionalProperties AdditionalProperties { get; set; }
Property Value
ClientId
[JsonPropertyName("client_id")]
public string? ClientId { get; set; }
Property Value
ClientSecret
[JsonPropertyName("client_secret")]
public string? ClientSecret { get; set; }
Property Value
FreeformScopes
[JsonPropertyName("freeform_scopes")]
public IEnumerable<string>? FreeformScopes { get; set; }
Property Value
NonPersistentAttrs
[JsonPropertyName("non_persistent_attrs")]
public IEnumerable<string>? NonPersistentAttrs { get; set; }
Property Value
OfflineAccess
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.
[JsonPropertyName("offline_access")]
public bool? OfflineAccess { get; set; }
Property Value
- bool?
Profile
Pull account profile metadata such as display name, bio, location, and URL so downstream apps can prefill or personalize user experiences.
[JsonPropertyName("profile")]
public bool? Profile { get; set; }
Property Value
- bool?
Protocol
[JsonPropertyName("protocol")]
public ConnectionOptionsProtocolEnumTwitter? Protocol { get; set; }
Property Value
Scope
[JsonPropertyName("scope")]
public IEnumerable<string>? Scope { get; set; }
Property Value
SetUserRootAttributes
[JsonPropertyName("set_user_root_attributes")]
public ConnectionSetUserRootAttributesEnum? SetUserRootAttributes { get; set; }
Property Value
TweetRead
Allow the application to read a user’s public and protected Tweets—required for timelines, analytics, or moderation workflows.
[JsonPropertyName("tweet_read")]
public bool? TweetRead { get; set; }
Property Value
- bool?
UpstreamParams
[JsonPropertyName("upstream_params")]
public Optional<Dictionary<string, ConnectionUpstreamAdditionalProperties?>?> UpstreamParams { get; set; }
Property Value
UsersRead
Read non-Tweet user information (e.g., followers/following, account settings) to power relationship graphs or audience insights.
[JsonPropertyName("users_read")]
public bool? UsersRead { get; set; }
Property Value
- bool?
Methods
ToString()
Returns a string that represents the current object.
public override string ToString()
Returns
- string
A string that represents the current object.