Esempio n. 1
0
 public TechnicalUser(Login login, string password, SigningKey signingKey, TaxPayerId taxId, EncryptionKey encryptionKey)
 {
     Login         = Check.NotNull(login, nameof(login));
     PasswordHash  = Sha512.GetHash(Check.NotNull(password, nameof(password)));
     SigningKey    = Check.NotNull(signingKey, nameof(signingKey));
     TaxId         = Check.NotNull(taxId, nameof(taxId));
     EncryptionKey = Check.NotNull(encryptionKey, nameof(encryptionKey));
 }