public static async Task UserLoginSuccessAsync(HttpContext context, UserLoggedInVm userLoggedInVm, bool rememberMe) { var userData = userLoggedInVm.ObjectSerialize(); userData = EncryptionHelper.AesEncryptString(userData); await CreateFormsAuthenticationTicketAsync(rememberMe, userData, context); }
private async Task UserLoginSuccessAsync(UserLoggedInVm userLoggedInVm, bool rememberMe) { await SecurityHelper .UserLoginSuccessAsync(HttpContext, userLoggedInVm, rememberMe); }