/// <summary>
 /// Initializes a new instance of the <see cref="ResetPassword"/> class.
 /// </summary>
 /// <param name="userVerificationHash">User verification hash to copy into a new instance.</param>
 public ResetPassword(UserVerificationHash userVerificationHash)
 {
     this.Username = userVerificationHash.Username;
     this.Expires  = userVerificationHash.Expires;
     this.Hint     = userVerificationHash.Hint;
     this.Hash     = userVerificationHash.Hash;
 }
示例#2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="UserVerificationCheck"/> class.
 /// </summary>
 /// <param name="userVerificationHash">User verification hash to copy into a new instance.</param>
 public UserVerificationCheck(UserVerificationHash userVerificationHash)
 {
     this.Username = userVerificationHash.Username;
     this.Expires  = userVerificationHash.Expires;
     this.Hint     = userVerificationHash.Hint;
     this.Hash     = userVerificationHash.Hash;
     this.Attempt  = userVerificationHash.Attempt;
 }