SignInManager<TUser>.ConfigureExternalAuthenticationProperties 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í.
Nakonfiguruje adresu URL přesměrování a identifikátor uživatele pro zadané externí přihlášení 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
Parametry
- provider
- String
Poskytovatel, který se má nakonfigurovat.
- redirectUrl
- String
Uživatelé externích přihlašovacích adres URL by měli být přesměrováni během toku přihlášení.
- userId
- String
Identifikátor aktuálního uživatele, který se použije k zajištění ochrany CSRF.
Návraty
Nakonfigurovaný AuthenticationProperties.