TwitterAppBuilderExtensions.UseTwitterAuthentication Método

Definición

Sobrecargas

UseTwitterAuthentication(IApplicationBuilder)
Obsoleto.
Obsoleto.

UseTwitterAuthentication está obsoleto. Configurar la autenticación de Twitter con AddAuthentication (). AddTwitter en ConfigureServices. Para obtener más información, consulte https://go.microsoft.com/fwlink/?linkid=845470.

UseTwitterAuthentication(IApplicationBuilder, TwitterOptions)
Obsoleto.
Obsoleto.

UseTwitterAuthentication está obsoleto. Configurar la autenticación de Twitter con AddAuthentication (). AddTwitter en ConfigureServices. Para obtener más información, consulte https://go.microsoft.com/fwlink/?linkid=845470.

UseTwitterAuthentication(IApplicationBuilder, TwitterOptions)

Agrega el TwitterMiddleware middleware al especificado IApplicationBuilder , lo que habilita las capacidades de autenticación de Twitter.

UseTwitterAuthentication(IApplicationBuilder)

Precaución

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

UseTwitterAuthentication está obsoleto. Configurar la autenticación de Twitter con AddAuthentication (). AddTwitter en ConfigureServices. Para obtener más información, consulte https://go.microsoft.com/fwlink/?linkid=845470.

public:
[System::Runtime::CompilerServices::Extension]
 static Microsoft::AspNetCore::Builder::IApplicationBuilder ^ UseTwitterAuthentication(Microsoft::AspNetCore::Builder::IApplicationBuilder ^ app);
public static Microsoft.AspNetCore.Builder.IApplicationBuilder UseTwitterAuthentication (this Microsoft.AspNetCore.Builder.IApplicationBuilder app);
[System.Obsolete("See https://go.microsoft.com/fwlink/?linkid=845470", true)]
public static Microsoft.AspNetCore.Builder.IApplicationBuilder UseTwitterAuthentication (this Microsoft.AspNetCore.Builder.IApplicationBuilder app);
[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
[<System.Obsolete("See https://go.microsoft.com/fwlink/?linkid=845470", true)>]
static member UseTwitterAuthentication : Microsoft.AspNetCore.Builder.IApplicationBuilder -> Microsoft.AspNetCore.Builder.IApplicationBuilder
[<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)>]
static member UseTwitterAuthentication : Microsoft.AspNetCore.Builder.IApplicationBuilder -> Microsoft.AspNetCore.Builder.IApplicationBuilder
<Extension()>
Public Function UseTwitterAuthentication (app As IApplicationBuilder) As IApplicationBuilder

Parámetros

app
IApplicationBuilder

Al IApplicationBuilder que se va a agregar el controlador.

Devoluciones

IApplicationBuilder

Una referencia a esta instancia después de que se haya completado la operación.

Atributos

Se aplica a

UseTwitterAuthentication(IApplicationBuilder, TwitterOptions)

Precaución

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

UseTwitterAuthentication está obsoleto. Configurar la autenticación de Twitter con AddAuthentication (). AddTwitter en ConfigureServices. Para obtener más información, consulte https://go.microsoft.com/fwlink/?linkid=845470.

public:
[System::Runtime::CompilerServices::Extension]
 static Microsoft::AspNetCore::Builder::IApplicationBuilder ^ UseTwitterAuthentication(Microsoft::AspNetCore::Builder::IApplicationBuilder ^ app, Microsoft::AspNetCore::Authentication::Twitter::TwitterOptions ^ options);
[System.Obsolete("See https://go.microsoft.com/fwlink/?linkid=845470", true)]
public static Microsoft.AspNetCore.Builder.IApplicationBuilder UseTwitterAuthentication (this Microsoft.AspNetCore.Builder.IApplicationBuilder app, Microsoft.AspNetCore.Authentication.Twitter.TwitterOptions options);
[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);
[<System.Obsolete("See https://go.microsoft.com/fwlink/?linkid=845470", true)>]
static member UseTwitterAuthentication : Microsoft.AspNetCore.Builder.IApplicationBuilder * Microsoft.AspNetCore.Authentication.Twitter.TwitterOptions -> Microsoft.AspNetCore.Builder.IApplicationBuilder
[<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)>]
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

Parámetros

app
IApplicationBuilder

Al IApplicationBuilder que se va a agregar el controlador.

options
TwitterOptions

Delegado de acción para configurar el proporcionado TwitterOptions .

Devoluciones

IApplicationBuilder

Una referencia a esta instancia después de que se haya completado la operación.

Atributos

Se aplica a

UseTwitterAuthentication(IApplicationBuilder, TwitterOptions)

Agrega el TwitterMiddleware middleware al especificado IApplicationBuilder , lo que habilita las capacidades de autenticación de Twitter.

public:
[System::Runtime::CompilerServices::Extension]
 static Microsoft::AspNetCore::Builder::IApplicationBuilder ^ UseTwitterAuthentication(Microsoft::AspNetCore::Builder::IApplicationBuilder ^ app, Microsoft::AspNetCore::Builder::TwitterOptions ^ options);
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

Parámetros

app
IApplicationBuilder

Al IApplicationBuilder que se va a agregar el middleware.

options
TwitterOptions

Delegado de acción para configurar el proporcionado TwitterOptions .

Devoluciones

IApplicationBuilder

Una referencia a esta instancia después de que se haya completado la operación.

Se aplica a