TwitterExtensions.AddTwitter Metoda

Definice

Přetížení

AddTwitter(AuthenticationBuilder)

Přidá ověřování založené na Twitteru OAuth do AuthenticationBuilder výchozího schématu. Výchozí schéma je určeno AuthenticationScheme.

Ověřování na Facebooku umožňuje uživatelům aplikací přihlásit se pomocí svého účtu Na Facebooku.

AddTwitter(AuthenticationBuilder, Action<TwitterOptions>)

Přidá ověřování založené na Twitteru OAuth do AuthenticationBuilder výchozího schématu. Výchozí schéma je určeno AuthenticationScheme.

Ověřování na Facebooku umožňuje uživatelům aplikací přihlásit se pomocí svého účtu Na Facebooku.

AddTwitter(AuthenticationBuilder, String, Action<TwitterOptions>)

Přidá ověřování založené na Twitteru OAuth do AuthenticationBuilder výchozího schématu. Výchozí schéma je určeno AuthenticationScheme.

Ověřování na Facebooku umožňuje uživatelům aplikací přihlásit se pomocí svého účtu Na Facebooku.

AddTwitter(AuthenticationBuilder, String, String, Action<TwitterOptions>)

Přidá ověřování založené na Twitteru OAuth do AuthenticationBuilder výchozího schématu. Výchozí schéma je určeno AuthenticationScheme.

Ověřování na Facebooku umožňuje uživatelům aplikací přihlásit se pomocí svého účtu Na Facebooku.

AddTwitter(AuthenticationBuilder)

Přidá ověřování založené na Twitteru OAuth do AuthenticationBuilder výchozího schématu. Výchozí schéma je určeno AuthenticationScheme.

Ověřování na Facebooku umožňuje uživatelům aplikací přihlásit se pomocí svého účtu Na Facebooku.

public static Microsoft.AspNetCore.Authentication.AuthenticationBuilder AddTwitter (this Microsoft.AspNetCore.Authentication.AuthenticationBuilder builder);
static member AddTwitter : Microsoft.AspNetCore.Authentication.AuthenticationBuilder -> Microsoft.AspNetCore.Authentication.AuthenticationBuilder
<Extension()>
Public Function AddTwitter (builder As AuthenticationBuilder) As AuthenticationBuilder

Parametry

Návraty

AuthenticationBuilder

Odkaz na builder po dokončení operace.

Platí pro

AddTwitter(AuthenticationBuilder, Action<TwitterOptions>)

Přidá ověřování založené na Twitteru OAuth do AuthenticationBuilder výchozího schématu. Výchozí schéma je určeno AuthenticationScheme.

Ověřování na Facebooku umožňuje uživatelům aplikací přihlásit se pomocí svého účtu Na Facebooku.

public static Microsoft.AspNetCore.Authentication.AuthenticationBuilder AddTwitter (this Microsoft.AspNetCore.Authentication.AuthenticationBuilder builder, Action<Microsoft.AspNetCore.Authentication.Twitter.TwitterOptions> configureOptions);
static member AddTwitter : Microsoft.AspNetCore.Authentication.AuthenticationBuilder * Action<Microsoft.AspNetCore.Authentication.Twitter.TwitterOptions> -> Microsoft.AspNetCore.Authentication.AuthenticationBuilder
<Extension()>
Public Function AddTwitter (builder As AuthenticationBuilder, configureOptions As Action(Of TwitterOptions)) As AuthenticationBuilder

Parametry

configureOptions
Action<TwitterOptions>

Delegát pro konfiguraci TwitterOptions.

Návraty

AuthenticationBuilder

Odkaz na builder po dokončení operace.

Platí pro

AddTwitter(AuthenticationBuilder, String, Action<TwitterOptions>)

Přidá ověřování založené na Twitteru OAuth do AuthenticationBuilder výchozího schématu. Výchozí schéma je určeno AuthenticationScheme.

Ověřování na Facebooku umožňuje uživatelům aplikací přihlásit se pomocí svého účtu Na Facebooku.

public static Microsoft.AspNetCore.Authentication.AuthenticationBuilder AddTwitter (this Microsoft.AspNetCore.Authentication.AuthenticationBuilder builder, string authenticationScheme, Action<Microsoft.AspNetCore.Authentication.Twitter.TwitterOptions> configureOptions);
static member AddTwitter : Microsoft.AspNetCore.Authentication.AuthenticationBuilder * string * Action<Microsoft.AspNetCore.Authentication.Twitter.TwitterOptions> -> Microsoft.AspNetCore.Authentication.AuthenticationBuilder
<Extension()>
Public Function AddTwitter (builder As AuthenticationBuilder, authenticationScheme As String, configureOptions As Action(Of TwitterOptions)) As AuthenticationBuilder

Parametry

authenticationScheme
String

Schéma ověřování.

configureOptions
Action<TwitterOptions>

Delegát pro konfiguraci TwitterOptions.

Návraty

AuthenticationBuilder

Odkaz na builder po dokončení operace.

Platí pro

AddTwitter(AuthenticationBuilder, String, String, Action<TwitterOptions>)

Přidá ověřování založené na Twitteru OAuth do AuthenticationBuilder výchozího schématu. Výchozí schéma je určeno AuthenticationScheme.

Ověřování na Facebooku umožňuje uživatelům aplikací přihlásit se pomocí svého účtu Na Facebooku.

public static Microsoft.AspNetCore.Authentication.AuthenticationBuilder AddTwitter (this Microsoft.AspNetCore.Authentication.AuthenticationBuilder builder, string authenticationScheme, string displayName, Action<Microsoft.AspNetCore.Authentication.Twitter.TwitterOptions> configureOptions);
static member AddTwitter : Microsoft.AspNetCore.Authentication.AuthenticationBuilder * string * string * Action<Microsoft.AspNetCore.Authentication.Twitter.TwitterOptions> -> Microsoft.AspNetCore.Authentication.AuthenticationBuilder
<Extension()>
Public Function AddTwitter (builder As AuthenticationBuilder, authenticationScheme As String, displayName As String, configureOptions As Action(Of TwitterOptions)) As AuthenticationBuilder

Parametry

authenticationScheme
String

Schéma ověřování.

displayName
String

Zobrazovaný název obslužné rutiny ověřování

configureOptions
Action<TwitterOptions>

Delegát pro konfiguraci TwitterOptions.

Návraty

AuthenticationBuilder

Odkaz na builder po dokončení operace.

Platí pro