SignInManager<TUser>.ConfigureExternalAuthenticationProperties 메서드

정의

지정된 외부 로그인 provider에 대한 리디렉션 URL 및 사용자 식별자를 구성합니다.

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

매개 변수

provider
String

구성할 공급자입니다.

redirectUrl
String

로그인 흐름 중에 외부 로그인 URL 사용자를 로 리디렉션해야 합니다.

userId
String

CSRF 보호를 제공하는 데 사용되는 현재 사용자의 식별자입니다.

반환

구성된 AuthenticationProperties입니다.

적용 대상