Share via


SignInManager<TUser>.ConfigureExternalAuthenticationProperties Yöntem

Tanım

Belirtilen dış oturum açma provideriçin yeniden yönlendirme URL'sini ve kullanıcı tanımlayıcısını yapılandırıyor.

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

Parametreler

provider
String

Yapılandırılan sağlayıcı.

redirectUrl
String

Oturum açma akışı sırasında kullanıcıların yönlendirilmesi gereken dış oturum açma URL'si.

userId
String

CSRF koruması sağlamak için kullanılacak geçerli kullanıcının tanımlayıcısı.

Döndürülenler

Yapılandırılmış AuthenticationPropertiesbir .

Şunlara uygulanır