15 lines
380 B
C#
15 lines
380 B
C#
using CryptoProvider;
|
|
|
|
namespace DomainObjects.Documents.Users;
|
|
public class PasswordRecoveryToken : Token<PasswordRecoveryToken> {
|
|
|
|
public PasswordRecoveryToken() {
|
|
Value = RandomService.SecureRandomString(20);
|
|
Created = DateTime.UtcNow;
|
|
Expires = Created.AddMinutes(5);
|
|
}
|
|
|
|
public override int GetHashCode() {
|
|
throw new NotImplementedException();
|
|
}
|
|
} |