Beispiel #1
0
        public async Task <string> GetPasswordHashAsync(UserDTO user, CancellationToken cancellationToken)
        {
            var userEntity = new UserEntity(user.Id, user.FirstName, user.LastName, user.Email, user.NormalizedEmail, user.EmailConfirmed, user.PasswordHash, user.BirthDate, user.RegistrationDate);

            return(await _userIdentity.GetPasswordHashAsync(userEntity, cancellationToken));
        }