SignInManager<TUser>.PasswordSignInAsync 메서드
정의
중요
일부 정보는 릴리스되기 전에 상당 부분 수정될 수 있는 시험판 제품과 관련이 있습니다. Microsoft는 여기에 제공된 정보에 대해 어떠한 명시적이거나 묵시적인 보증도 하지 않습니다.
오버로드
PasswordSignInAsync(String, String, Boolean, Boolean) |
지정된 |
PasswordSignInAsync(TUser, String, Boolean, Boolean) |
지정된 |
PasswordSignInAsync(String, String, Boolean, Boolean)
- Source:
- SignInManager.cs
- Source:
- SignInManager.cs
- Source:
- SignInManager.cs
지정된 userName
및 password
조합을 비동기 작업으로 로그인하려고 시도합니다.
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)
- Source:
- SignInManager.cs
- Source:
- SignInManager.cs
- Source:
- SignInManager.cs
지정된 user
및 password
조합을 비동기 작업으로 로그인하려고 시도합니다.
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
로그인에 실패할 경우 사용자 계정을 잠글지 여부를 나타내는 플래그입니다.
반환
로그인 시도에 대한 를 포함하는 비동기 작업을 나타내는 작업 개체입니다.