SignInManager<TUser>.PasswordSignInAsync 메서드

정의

오버로드

PasswordSignInAsync(String, String, Boolean, Boolean)

지정된 userNamepassword 조합을 비동기 작업으로 로그인하려고 시도합니다.

PasswordSignInAsync(TUser, String, Boolean, Boolean)

지정된 userpassword 조합을 비동기 작업으로 로그인하려고 시도합니다.

PasswordSignInAsync(String, String, Boolean, Boolean)

지정된 userNamepassword 조합을 비동기 작업으로 로그인하려고 시도합니다.

public:
 virtual System::Threading::Tasks::Task<Microsoft::AspNetCore::Identity::SignInResult ^> ^ PasswordSignInAsync(System::String ^ userName, System::String ^ password, bool isPersistent, bool lockoutOnFailure);
public virtual System.Threading.Tasks.Task<Microsoft.AspNetCore.Identity.SignInResult> PasswordSignInAsync (string userName, string password, bool isPersistent, bool lockoutOnFailure);
abstract member PasswordSignInAsync : string * string * bool * bool -> System.Threading.Tasks.Task<Microsoft.AspNetCore.Identity.SignInResult>
override this.PasswordSignInAsync : string * string * bool * bool -> System.Threading.Tasks.Task<Microsoft.AspNetCore.Identity.SignInResult>
Public Overridable Function PasswordSignInAsync (userName As String, password As String, isPersistent As Boolean, lockoutOnFailure As Boolean) As Task(Of SignInResult)

매개 변수

userName
String

로그인할 사용자 이름입니다.

password
String

로그인을 시도할 암호입니다.

isPersistent
Boolean

브라우저를 닫은 후 로그인 쿠키를 유지할지 여부를 나타내는 플래그입니다.

lockoutOnFailure
Boolean

로그인에 실패할 경우 사용자 계정을 잠글지 여부를 나타내는 플래그입니다.

반환

로그인 시도에 대한 를 포함하는 비동기 작업을 나타내는 작업 개체입니다.

적용 대상

PasswordSignInAsync(TUser, String, Boolean, Boolean)

지정된 userpassword 조합을 비동기 작업으로 로그인하려고 시도합니다.

public:
 virtual System::Threading::Tasks::Task<Microsoft::AspNetCore::Identity::SignInResult ^> ^ PasswordSignInAsync(TUser user, System::String ^ password, bool isPersistent, bool lockoutOnFailure);
public virtual System.Threading.Tasks.Task<Microsoft.AspNetCore.Identity.SignInResult> PasswordSignInAsync (TUser user, string password, bool isPersistent, bool lockoutOnFailure);
abstract member PasswordSignInAsync : 'User * string * bool * bool -> System.Threading.Tasks.Task<Microsoft.AspNetCore.Identity.SignInResult>
override this.PasswordSignInAsync : 'User * string * bool * bool -> System.Threading.Tasks.Task<Microsoft.AspNetCore.Identity.SignInResult>
Public Overridable Function PasswordSignInAsync (user As TUser, password As String, isPersistent As Boolean, lockoutOnFailure As Boolean) As Task(Of SignInResult)

매개 변수

user
TUser

로그인할 사용자입니다.

password
String

로그인을 시도할 암호입니다.

isPersistent
Boolean

브라우저를 닫은 후 로그인 쿠키를 유지할지 여부를 나타내는 플래그입니다.

lockoutOnFailure
Boolean

로그인에 실패할 경우 사용자 계정을 잠글지 여부를 나타내는 플래그입니다.

반환

로그인 시도에 대한 를 포함하는 비동기 작업을 나타내는 작업 개체입니다.

적용 대상