TwitterAppBuilderExtensions.UseTwitterAuthentication Método
Definición
Importante
Parte de la información hace referencia a la versión preliminar del producto, que puede haberse modificado sustancialmente antes de lanzar la versión definitiva. Microsoft no otorga ninguna garantía, explícita o implícita, con respecto a la información proporcionada aquí.
Sobrecargas
UseTwitterAuthentication(IApplicationBuilder) |
Obsoletos.
Obsoletos.
UseTwitterAuthentication está obsoleto. Configure la autenticación de Twitter con AddAuthentication(). AgregueTwitter en ConfigureServices. Para obtener más información, consulte https://go.microsoft.com/fwlink/?linkid=845470. |
UseTwitterAuthentication(IApplicationBuilder, TwitterOptions) |
Obsoletos.
Obsoletos.
UseTwitterAuthentication está obsoleto. Configure la autenticación de Twitter con AddAuthentication(). AgregueTwitter 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, que habilita las funcionalidades de autenticación de Twitter. |
UseTwitterAuthentication(IApplicationBuilder)
Precaución
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. Configure la autenticación de Twitter con AddAuthentication(). AgregueTwitter 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
al IApplicationBuilder que se va a agregar el controlador.
Devoluciones
Una referencia a esta instancia después de que se haya completado la operación.
- Atributos
Se aplica a
UseTwitterAuthentication(IApplicationBuilder, TwitterOptions)
Precaución
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. Configure la autenticación de Twitter con AddAuthentication(). AgregueTwitter 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
al IApplicationBuilder que se va a agregar el controlador.
- options
- TwitterOptions
Delegado de acción para configurar el objeto proporcionado TwitterOptions.
Devoluciones
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, que habilita las funcionalidades 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
al IApplicationBuilder que se va a agregar el middleware.
- options
- TwitterOptions
Delegado de acción para configurar el objeto proporcionado TwitterOptions.
Devoluciones
Una referencia a esta instancia después de que se haya completado la operación.