@Override
    public long expireAfterUpdate(
        @Nonnull final String key,
        @Nonnull final MultifactorAuthenticationTrustRecord value, final long currentTime,
        final long currentDuration) {
        return expireAfterCreate(key, value, currentTime);
    }
This is {@link MultifactorAuthenticationTrustRecordExpiry}.

@author Misagh Moayyed
@since 7.0.0
support/cas-server-support-trusted-mfa-core/src/main/java/org/apereo/cas/trusted/authentication/storage/MultifactorAuthenticationTrustRecordExpiry.java