public void removedTimedOutTokens() {
   for (UserCredential userCredential : getUserCredentials()) {
     UserCredential modifiedUserCredential = null;
     for (Map.Entry<String, LocalDateTime> token : userCredential.getTokens().entrySet()) {
       if (!token.getValue().isAfter(TimeProvider.getLocalDateTime())) {
         if (modifiedUserCredential == null) {
           modifiedUserCredential = userCredential;
         }
         modifiedUserCredential = modifiedUserCredential.withRemovedToken(token.getKey());
       }
     }
     if (modifiedUserCredential != null) {
       addUpdate(modifiedUserCredential);
     }
   }
 }
 public boolean isFutureAuthorization() {
   return startDate != null && TimeProvider.getLocalDate().isBefore(startDate);
 }