public override async Task PasswordSignInAsync()

in src/Amazon.AspNetCore.Identity.Cognito/CognitoSigninManager.cs [134:152]


        public override async Task<SignInResult> PasswordSignInAsync(TUser user, string password,
            bool isPersistent, bool lockoutOnFailure)
        {
            if (lockoutOnFailure)
            {
                throw new NotSupportedException("Lockout is not enabled for the CognitoUserManager.");
            }

            if (user == null)
            {
                throw new ArgumentNullException(nameof(user));
            }

            var attempt = await CheckPasswordSignInAsync(user, password, lockoutOnFailure).ConfigureAwait(false);
            if (attempt.Succeeded)
                await SignInAsync(user, isPersistent).ConfigureAwait(false);

            return attempt;
        }