Partager via


TwitterAppBuilderExtensions.UseTwitterAuthentication Méthode

Définition

Surcharges

UseTwitterAuthentication(IApplicationBuilder)
Obsolète.
Obsolète.

UseTwitterAuthentication est obsolète. Configurer l’authentification Twitter avec AddAuthentication(). AddTwitter dans ConfigureServices. Consultez https://go.microsoft.com/fwlink/?linkid=845470 pour plus d’informations.

UseTwitterAuthentication(IApplicationBuilder, TwitterOptions)
Obsolète.
Obsolète.

UseTwitterAuthentication est obsolète. Configurer l’authentification Twitter avec AddAuthentication(). AddTwitter dans ConfigureServices. Consultez https://go.microsoft.com/fwlink/?linkid=845470 pour plus d’informations.

UseTwitterAuthentication(IApplicationBuilder, TwitterOptions)

Ajoute l’intergiciel TwitterMiddleware au spécifié IApplicationBuilder, ce qui active les fonctionnalités d’authentification Twitter.

UseTwitterAuthentication(IApplicationBuilder)

Source:
TwitterAppBuilderExtensions.cs
Source:
TwitterAppBuilderExtensions.cs

Attention

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

UseTwitterAuthentication est obsolète. Configurer l’authentification Twitter avec AddAuthentication(). AddTwitter dans ConfigureServices. Consultez https://go.microsoft.com/fwlink/?linkid=845470 pour plus d’informations.

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

Paramètres

app
IApplicationBuilder

IApplicationBuilder à laquelle ajouter le gestionnaire.

Retours

Référence à cette instance à la fin de l’opération.

Attributs

S’applique à

UseTwitterAuthentication(IApplicationBuilder, TwitterOptions)

Source:
TwitterAppBuilderExtensions.cs
Source:
TwitterAppBuilderExtensions.cs

Attention

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

UseTwitterAuthentication est obsolète. Configurer l’authentification Twitter avec AddAuthentication(). AddTwitter dans ConfigureServices. Consultez https://go.microsoft.com/fwlink/?linkid=845470 pour plus d’informations.

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

Paramètres

app
IApplicationBuilder

IApplicationBuilder à laquelle ajouter le gestionnaire.

options
TwitterOptions

Délégué d’action pour configurer le fourni TwitterOptions.

Retours

Référence à cette instance à la fin de l’opération.

Attributs

S’applique à

UseTwitterAuthentication(IApplicationBuilder, TwitterOptions)

Ajoute l’intergiciel TwitterMiddleware au spécifié IApplicationBuilder, ce qui active les fonctionnalités d’authentification 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

Paramètres

app
IApplicationBuilder

IApplicationBuilder à laquelle ajouter le middleware.

options
TwitterOptions

Délégué d’action pour configurer le fourni TwitterOptions.

Retours

Référence à cette instance à la fin de l’opération.

S’applique à