TwitterAppBuilderExtensions.UseTwitterAuthentication TwitterAppBuilderExtensions.UseTwitterAuthentication TwitterAppBuilderExtensions.UseTwitterAuthentication Method

Definition

Overloads

UseTwitterAuthentication(IApplicationBuilder) UseTwitterAuthentication(IApplicationBuilder) UseTwitterAuthentication(IApplicationBuilder)

UseTwitterAuthentication is obsolete. Configure Twitter authentication with AddAuthentication().AddTwitter in ConfigureServices. See https://go.microsoft.com/fwlink/?linkid=845470 for more details.

UseTwitterAuthentication(IApplicationBuilder, TwitterOptions) UseTwitterAuthentication(IApplicationBuilder, TwitterOptions) UseTwitterAuthentication(IApplicationBuilder, TwitterOptions)

UseTwitterAuthentication is obsolete. Configure Twitter authentication with AddAuthentication().AddTwitter in ConfigureServices. See https://go.microsoft.com/fwlink/?linkid=845470 for more details.

UseTwitterAuthentication(IApplicationBuilder, TwitterOptions) UseTwitterAuthentication(IApplicationBuilder, TwitterOptions) UseTwitterAuthentication(IApplicationBuilder, TwitterOptions)

Adds the TwitterMiddleware middleware to the specified IApplicationBuilder, which enables Twitter authentication capabilities.

UseTwitterAuthentication(IApplicationBuilder) UseTwitterAuthentication(IApplicationBuilder) UseTwitterAuthentication(IApplicationBuilder)

Warning

This API is now obsolete.

UseTwitterAuthentication is obsolete. Configure Twitter authentication with AddAuthentication().AddTwitter in ConfigureServices. See https://go.microsoft.com/fwlink/?linkid=845470 for more details.

[System.Obsolete("See https://go.microsoft.com/fwlink/?linkid=845470", true)]
[System.Obsolete("UseTwitterAuthentication is obsolete. Configure Twitter authentication with AddAuthentication().AddTwitter in ConfigureServices. See https://go.microsoft.com/fwlink/?linkid=845470 for more details.", true)]
public static Microsoft.AspNetCore.Builder.IApplicationBuilder UseTwitterAuthentication (this Microsoft.AspNetCore.Builder.IApplicationBuilder app);
static member UseTwitterAuthentication : Microsoft.AspNetCore.Builder.IApplicationBuilder -> Microsoft.AspNetCore.Builder.IApplicationBuilder
<Extension()>
Public Function UseTwitterAuthentication (app As IApplicationBuilder) As IApplicationBuilder

Parameters

Returns

A reference to this instance after the operation has completed.

UseTwitterAuthentication(IApplicationBuilder, TwitterOptions) UseTwitterAuthentication(IApplicationBuilder, TwitterOptions) UseTwitterAuthentication(IApplicationBuilder, TwitterOptions)

Warning

This API is now obsolete.

UseTwitterAuthentication is obsolete. Configure Twitter authentication with AddAuthentication().AddTwitter in ConfigureServices. See https://go.microsoft.com/fwlink/?linkid=845470 for more details.

[System.Obsolete("See https://go.microsoft.com/fwlink/?linkid=845470", true)]
[System.Obsolete("UseTwitterAuthentication is obsolete. Configure Twitter authentication with AddAuthentication().AddTwitter in ConfigureServices. See https://go.microsoft.com/fwlink/?linkid=845470 for more details.", true)]
public static Microsoft.AspNetCore.Builder.IApplicationBuilder UseTwitterAuthentication (this Microsoft.AspNetCore.Builder.IApplicationBuilder app, Microsoft.AspNetCore.Authentication.Twitter.TwitterOptions options);
static member UseTwitterAuthentication : Microsoft.AspNetCore.Builder.IApplicationBuilder * Microsoft.AspNetCore.Authentication.Twitter.TwitterOptions -> Microsoft.AspNetCore.Builder.IApplicationBuilder
<Extension()>
Public Function UseTwitterAuthentication (app As IApplicationBuilder, options As TwitterOptions) As IApplicationBuilder

Parameters

options
TwitterOptions TwitterOptions TwitterOptions

An action delegate to configure the provided TwitterOptions.

Returns

A reference to this instance after the operation has completed.

UseTwitterAuthentication(IApplicationBuilder, TwitterOptions) UseTwitterAuthentication(IApplicationBuilder, TwitterOptions) UseTwitterAuthentication(IApplicationBuilder, TwitterOptions)

Adds the TwitterMiddleware middleware to the specified IApplicationBuilder, which enables Twitter authentication capabilities.

public static Microsoft.AspNetCore.Builder.IApplicationBuilder UseTwitterAuthentication (this Microsoft.AspNetCore.Builder.IApplicationBuilder app, Microsoft.AspNetCore.Builder.TwitterOptions options);
static member UseTwitterAuthentication : Microsoft.AspNetCore.Builder.IApplicationBuilder * Microsoft.AspNetCore.Builder.TwitterOptions -> Microsoft.AspNetCore.Builder.IApplicationBuilder
<Extension()>
Public Function UseTwitterAuthentication (app As IApplicationBuilder, options As TwitterOptions) As IApplicationBuilder

Parameters

options
TwitterOptions TwitterOptions TwitterOptions

An action delegate to configure the provided TwitterOptions.

Returns

A reference to this instance after the operation has completed.

Applies to