/// <summary> /// Copies the options to a new instance, which can be modified /// without altering the base settings. This is used for user area /// specific configuration. /// </summary> public AccountRecoveryOptions Clone() { return(new AccountRecoveryOptions() { ExpireAfter = ExpireAfter, InitiationRateLimit = InitiationRateLimit.Clone(), RecoveryUrlBase = RecoveryUrlBase }); }
/// <summary> /// Copies the options to a new instance, which can be modified /// without altering the base settings. This is used for user area /// specific configuration. /// </summary> public AccountVerificationOptions Clone() { return(new AccountVerificationOptions() { RequireVerification = RequireVerification, ExpireAfter = ExpireAfter, InitiationRateLimit = InitiationRateLimit.Clone(), VerificationUrlBase = VerificationUrlBase }); }