How I can update Cookie Expiration time when signin with below code
var result = await _signInManager.PasswordSignInAsync(userName, password, isPersistent, lockoutOnFailure);
Like can use with SingInAsyn
var authProps = new AuthenticationProperties
{
IsPersistent = isPersistent,
ExpiresUtc = DateTimeOffset.UtcNow.AddMinutes(5)
};
await _signInManager.SignInAsync(user, authProps, authenticationMethod);