TwitterExtensions.AddTwitter Method

Definition

Overloads

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

AddTwitter(AuthenticationBuilder)

public:
[System::Runtime::CompilerServices::Extension]
 static Microsoft::AspNetCore::Authentication::AuthenticationBuilder ^ AddTwitter(Microsoft::AspNetCore::Authentication::AuthenticationBuilder ^ builder);
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

AuthenticationBuilder

Applies to

AddTwitter(AuthenticationBuilder, Action<TwitterOptions>)

public:
[System::Runtime::CompilerServices::Extension]
 static Microsoft::AspNetCore::Authentication::AuthenticationBuilder ^ AddTwitter(Microsoft::AspNetCore::Authentication::AuthenticationBuilder ^ builder, Action<Microsoft::AspNetCore::Authentication::Twitter::TwitterOptions ^> ^ configureOptions);
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>

Returns

AuthenticationBuilder

Applies to

AddTwitter(AuthenticationBuilder, String, Action<TwitterOptions>)

public:
[System::Runtime::CompilerServices::Extension]
 static Microsoft::AspNetCore::Authentication::AuthenticationBuilder ^ AddTwitter(Microsoft::AspNetCore::Authentication::AuthenticationBuilder ^ builder, System::String ^ authenticationScheme, Action<Microsoft::AspNetCore::Authentication::Twitter::TwitterOptions ^> ^ configureOptions);
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
configureOptions
Action<TwitterOptions>

Returns

AuthenticationBuilder

Applies to

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

public:
[System::Runtime::CompilerServices::Extension]
 static Microsoft::AspNetCore::Authentication::AuthenticationBuilder ^ AddTwitter(Microsoft::AspNetCore::Authentication::AuthenticationBuilder ^ builder, System::String ^ authenticationScheme, System::String ^ displayName, Action<Microsoft::AspNetCore::Authentication::Twitter::TwitterOptions ^> ^ configureOptions);
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
displayName
String
configureOptions
Action<TwitterOptions>

Returns

AuthenticationBuilder

Applies to