Share via


SignInManager<TUser>.ConfigureExternalAuthenticationProperties Methode

Definition

Konfiguriert die Umleitungs-URL und den Benutzerbezeichner für den angegebenen externen Anmeldenamen provider.

public virtual Microsoft.AspNetCore.Http.Authentication.AuthenticationProperties ConfigureExternalAuthenticationProperties (string provider, string redirectUrl, string userId = default);
public virtual Microsoft.AspNetCore.Authentication.AuthenticationProperties ConfigureExternalAuthenticationProperties (string provider, string redirectUrl, string userId = default);
public virtual Microsoft.AspNetCore.Authentication.AuthenticationProperties ConfigureExternalAuthenticationProperties (string? provider, string? redirectUrl, string? userId = default);
abstract member ConfigureExternalAuthenticationProperties : string * string * string -> Microsoft.AspNetCore.Http.Authentication.AuthenticationProperties
override this.ConfigureExternalAuthenticationProperties : string * string * string -> Microsoft.AspNetCore.Http.Authentication.AuthenticationProperties
abstract member ConfigureExternalAuthenticationProperties : string * string * string -> Microsoft.AspNetCore.Authentication.AuthenticationProperties
override this.ConfigureExternalAuthenticationProperties : string * string * string -> Microsoft.AspNetCore.Authentication.AuthenticationProperties
Public Overridable Function ConfigureExternalAuthenticationProperties (provider As String, redirectUrl As String, Optional userId As String = Nothing) As AuthenticationProperties

Parameter

provider
String

Der zu konfigurierende Anbieter.

redirectUrl
String

Die externe Anmelde-URL, zu der Benutzer während des Anmeldeflows weitergeleitet werden sollten.

userId
String

Der Bezeichner des aktuellen Benutzers, der verwendet wird, um CSRF-Schutz bereitzustellen.

Gibt zurück

Eine konfigurierte AuthenticationProperties.

Gilt für: