protected void deleteToken(final CasSimpleMultifactorAuthenticationTicket acct) {
        FunctionUtils.doUnchecked(__ -> ticketRegistry.deleteTicket(acct.getId()));
    }
This is {@link BaseCasSimpleMultifactorAuthenticationService}.

@author Misagh Moayyed
@since 7.2.0
support/cas-server-support-simple-mfa-core/src/main/java/org/apereo/cas/mfa/simple/validation/BaseCasSimpleMultifactorAuthenticationService.java