SignInAsyncy做登入;HttpContext.SignOutAsync做登出。 登入使用Cookie需要傳遞使用者驗證資料,需要用到 Claim, ClaimsIdentity, ClaimsPrincipal 。
確定! 回上一頁