TwitterExtensions.AddTwitter Method

Definition

Overloads

AddTwitter(AuthenticationBuilder)

Adds Twitter OAuth-based authentication to AuthenticationBuilder using the default scheme. The default scheme is specified by AuthenticationScheme.

Twitter authentication allows application users to sign in with their Twitter account.

AddTwitter(AuthenticationBuilder, Action<TwitterOptions>)

Adds Twitter OAuth-based authentication to AuthenticationBuilder using the default scheme. The default scheme is specified by AuthenticationScheme.

Twitter authentication allows application users to sign in with their Twitter account.

AddTwitter(AuthenticationBuilder, String, Action<TwitterOptions>)

Adds Twitter OAuth-based authentication to AuthenticationBuilder using the default scheme. The default scheme is specified by AuthenticationScheme.

Twitter authentication allows application users to sign in with their Twitter account.

AddTwitter(AuthenticationBuilder, String, String, Action<TwitterOptions>)

Adds Twitter OAuth-based authentication to AuthenticationBuilder using the default scheme. The default scheme is specified by AuthenticationScheme.

Twitter authentication allows application users to sign in with their Twitter account.

AddTwitter(AuthenticationBuilder)

Source:
TwitterExtensions.cs
Source:
TwitterExtensions.cs
Source:
TwitterExtensions.cs
Source:
TwitterExtensions.cs
Source:
TwitterExtensions.cs
Source:
TwitterExtensions.cs
Source:
TwitterExtensions.cs
Source:
TwitterExtensions.cs
Source:
TwitterExtensions.cs

Adds Twitter OAuth-based authentication to AuthenticationBuilder using the default scheme. The default scheme is specified by AuthenticationScheme.

Twitter authentication allows application users to sign in with their Twitter account.

public static Microsoft.AspNetCore.Authentication.AuthenticationBuilder AddTwitter (this Microsoft.AspNetCore.Authentication.AuthenticationBuilder builder);
static member AddTwitter : Microsoft.AspNetCore.Authentication.AuthenticationBuilder -> Microsoft.AspNetCore.Authentication.AuthenticationBuilder
<Extension()>
Public Function AddTwitter (builder As AuthenticationBuilder) As AuthenticationBuilder

Parameters

Returns

A reference to builder after the operation has completed.

Applies to

AddTwitter(AuthenticationBuilder, Action<TwitterOptions>)

Source:
TwitterExtensions.cs
Source:
TwitterExtensions.cs
Source:
TwitterExtensions.cs
Source:
TwitterExtensions.cs
Source:
TwitterExtensions.cs
Source:
TwitterExtensions.cs
Source:
TwitterExtensions.cs
Source:
TwitterExtensions.cs
Source:
TwitterExtensions.cs

Adds Twitter OAuth-based authentication to AuthenticationBuilder using the default scheme. The default scheme is specified by AuthenticationScheme.

Twitter authentication allows application users to sign in with their Twitter account.

public static Microsoft.AspNetCore.Authentication.AuthenticationBuilder AddTwitter (this Microsoft.AspNetCore.Authentication.AuthenticationBuilder builder, Action<Microsoft.AspNetCore.Authentication.Twitter.TwitterOptions> configureOptions);
static member AddTwitter : Microsoft.AspNetCore.Authentication.AuthenticationBuilder * Action<Microsoft.AspNetCore.Authentication.Twitter.TwitterOptions> -> Microsoft.AspNetCore.Authentication.AuthenticationBuilder
<Extension()>
Public Function AddTwitter (builder As AuthenticationBuilder, configureOptions As Action(Of TwitterOptions)) As AuthenticationBuilder

Parameters

configureOptions
Action<TwitterOptions>

A delegate to configure TwitterOptions.

Returns

A reference to builder after the operation has completed.

Applies to

AddTwitter(AuthenticationBuilder, String, Action<TwitterOptions>)

Source:
TwitterExtensions.cs
Source:
TwitterExtensions.cs
Source:
TwitterExtensions.cs
Source:
TwitterExtensions.cs
Source:
TwitterExtensions.cs
Source:
TwitterExtensions.cs
Source:
TwitterExtensions.cs
Source:
TwitterExtensions.cs
Source:
TwitterExtensions.cs

Adds Twitter OAuth-based authentication to AuthenticationBuilder using the default scheme. The default scheme is specified by AuthenticationScheme.

Twitter authentication allows application users to sign in with their Twitter account.

public static Microsoft.AspNetCore.Authentication.AuthenticationBuilder AddTwitter (this Microsoft.AspNetCore.Authentication.AuthenticationBuilder builder, string authenticationScheme, Action<Microsoft.AspNetCore.Authentication.Twitter.TwitterOptions> configureOptions);
static member AddTwitter : Microsoft.AspNetCore.Authentication.AuthenticationBuilder * string * Action<Microsoft.AspNetCore.Authentication.Twitter.TwitterOptions> -> Microsoft.AspNetCore.Authentication.AuthenticationBuilder
<Extension()>
Public Function AddTwitter (builder As AuthenticationBuilder, authenticationScheme As String, configureOptions As Action(Of TwitterOptions)) As AuthenticationBuilder

Parameters

authenticationScheme
String

The authentication scheme.

configureOptions
Action<TwitterOptions>

A delegate to configure TwitterOptions.

Returns

A reference to builder after the operation has completed.

Applies to

AddTwitter(AuthenticationBuilder, String, String, Action<TwitterOptions>)

Source:
TwitterExtensions.cs
Source:
TwitterExtensions.cs
Source:
TwitterExtensions.cs
Source:
TwitterExtensions.cs
Source:
TwitterExtensions.cs
Source:
TwitterExtensions.cs
Source:
TwitterExtensions.cs
Source:
TwitterExtensions.cs
Source:
TwitterExtensions.cs

Adds Twitter OAuth-based authentication to AuthenticationBuilder using the default scheme. The default scheme is specified by AuthenticationScheme.

Twitter authentication allows application users to sign in with their Twitter account.

public static Microsoft.AspNetCore.Authentication.AuthenticationBuilder AddTwitter (this Microsoft.AspNetCore.Authentication.AuthenticationBuilder builder, string authenticationScheme, string displayName, Action<Microsoft.AspNetCore.Authentication.Twitter.TwitterOptions> configureOptions);
static member AddTwitter : Microsoft.AspNetCore.Authentication.AuthenticationBuilder * string * string * Action<Microsoft.AspNetCore.Authentication.Twitter.TwitterOptions> -> Microsoft.AspNetCore.Authentication.AuthenticationBuilder
<Extension()>
Public Function AddTwitter (builder As AuthenticationBuilder, authenticationScheme As String, displayName As String, configureOptions As Action(Of TwitterOptions)) As AuthenticationBuilder

Parameters

authenticationScheme
String

The authentication scheme.

displayName
String

A display name for the authentication handler.

configureOptions
Action<TwitterOptions>

A delegate to configure TwitterOptions.

Returns

A reference to builder after the operation has completed.

Applies to