Class ExpiredAccountTokenCleanupJob
java.lang.Object
com.irurueta.authserver.authorization.api.web.account.ExpiredAccountTokenCleanupJob
Scheduled entry point that deletes the expired account tokens (password reset links), next to the clean-up of
the expired authorizations. The schedule comes from
authserver.account.cleanup.cron (default every hour,
at half past).-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final CleanExpiredAccountTokensUseCaseDeletes the expired account tokens. -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
cleanExpiredAccountTokensUseCase
Deletes the expired account tokens.
-
-
Constructor Details
-
ExpiredAccountTokenCleanupJob
public ExpiredAccountTokenCleanupJob()
-
-
Method Details
-
run
@Scheduled(cron="${authserver.account.cleanup.cron:0 30 * * * *}") public void run()Deletes the expired account tokens.
-