TwitterAppBuilderExtensions.UseTwitterAuthentication Metoda
Definice
Důležité
Některé informace platí pro předběžně vydaný produkt, který se může zásadně změnit, než ho výrobce nebo autor vydá. Microsoft neposkytuje žádné záruky, výslovné ani předpokládané, týkající se zde uváděných informací.
Přetížení
UseTwitterAuthentication(IApplicationBuilder) |
Zastaralé.
Zastaralé.
UseTwitterAuthentication je zastaralá. Nakonfigurujte ověřování Twitteru pomocí AddAuthentication(). AddTwitter v ConfigureServices. Další podrobnosti najdete https://go.microsoft.com/fwlink/?linkid=845470 v tématu. |
UseTwitterAuthentication(IApplicationBuilder, TwitterOptions) |
Zastaralé.
Zastaralé.
UseTwitterAuthentication je zastaralá. Nakonfigurujte ověřování Twitteru pomocí AddAuthentication(). AddTwitter v ConfigureServices. Další podrobnosti najdete https://go.microsoft.com/fwlink/?linkid=845470 v tématu. |
UseTwitterAuthentication(IApplicationBuilder, TwitterOptions) |
TwitterMiddleware Přidá middleware do zadaného IApplicationBuilderobjektu , který umožňuje možnosti ověřování Twitteru. |
UseTwitterAuthentication(IApplicationBuilder)
Upozornění
Upozornění
UseTwitterAuthentication is obsolete. Configure Twitter authentication with AddAuthentication().AddTwitter in ConfigureServices. See https://go.microsoft.com/fwlink/?linkid=845470 for more details.
UseTwitterAuthentication je zastaralá. Nakonfigurujte ověřování Twitteru pomocí AddAuthentication(). AddTwitter v ConfigureServices. Další podrobnosti najdete https://go.microsoft.com/fwlink/?linkid=845470 v tématu.
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
Parametry
Chcete-li IApplicationBuilder přidat obslužnou rutinu do.
Návraty
Odkaz na tuto instanci po dokončení operace.
- Atributy
Platí pro
UseTwitterAuthentication(IApplicationBuilder, TwitterOptions)
Upozornění
Upozornění
UseTwitterAuthentication is obsolete. Configure Twitter authentication with AddAuthentication().AddTwitter in ConfigureServices. See https://go.microsoft.com/fwlink/?linkid=845470 for more details.
UseTwitterAuthentication je zastaralá. Nakonfigurujte ověřování Twitteru pomocí AddAuthentication(). AddTwitter v ConfigureServices. Další podrobnosti najdete https://go.microsoft.com/fwlink/?linkid=845470 v tématu.
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
Parametry
Chcete-li IApplicationBuilder přidat obslužnou rutinu do.
- options
- TwitterOptions
Delegát akce pro konfiguraci zadaného TwitterOptionsobjektu .
Návraty
Odkaz na tuto instanci po dokončení operace.
- Atributy
Platí pro
UseTwitterAuthentication(IApplicationBuilder, TwitterOptions)
TwitterMiddleware Přidá middleware do zadaného IApplicationBuilderobjektu , který umožňuje možnosti ověřování Twitteru.
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
Parametry
Chcete-li IApplicationBuilder přidat middleware do.
- options
- TwitterOptions
Delegát akce pro konfiguraci zadaného TwitterOptionsobjektu .
Návraty
Odkaz na tuto instanci po dokončení operace.